https://www.iteye.com/blog/kidneyball-1814028
ideaJad
Material Theme UI Plugin
restfultoolkit
emacsIDEAs
IdeaVim
C-v 向前移动一屏
M-v 向后移动一屏
C-l 重绘屏幕,并将光标所在行置于屏幕的中央
(注意是 CONTROL-L,不是 CONTROL-1)
### P 代表 previous(上一行),N 代表 next(下一行),B 代表 backward(回 退),而 F 则代表 forward(前进)
C-n 移动到下一行
C-p 移动到上一行
C-f 向右移动一个字符
C-b 向左移动一个字符
M-f 向右移动一个词【对中文是移动到下一个标点符号】
M-b 向左移动一个词【对中文是移动到上一个标点符号】
C-a 移动到行首
C-e 移动到行尾
M-a 移动到句首
M-e 移动到句尾
C-u 8 C-f 会向前移动 8 个字符
C-u 8 C-n 会向下移动 8 行
C-u 8 C-v 会向下移动 8 行
C-g 可以终止一条执行过久的命令
C-g 还可以取消数字参数和只输入到一半的命令
C-u 100 C-g
C-u 8 * 重复执行输入字符*
<DEL> 删除光标前的一个字符
M-<DEL> 移除光标前的一个词
C-d (delete) 删除光标后的一个字符
M-d 移除光标后的一个词
C-k (kill) 移除从光标到“行尾”间的字符
M-k 移除从光标到“句尾”间的字符
单独的 C-k 会把一行的内容移除,而第二个 C-k 则会移除换行符
C-u 2 C-k 会把两行以及它们的换行符移除
C-y <召回(yanking)> 在光标所在处插入你最后移除的文字
M-y 可以召回再前一次被移除的内容
C-/ 撤销
C-s 是向前搜索,C-r 是向后搜索
C-x 1 会保留光标所在的窗格,并将其扩大 到整个屏幕,同时关掉所有其它的窗格
C-x s 保存所有文件
C-x C-s 保存
C-x i 插入其它文件的内容到当前缓冲
C-x C-v 用将要读取的文件替换当前文件
C-x C-w 将当前缓冲写入指定的文件
C-x C-q Version control checkin/checkout
C-x C-f 寻找一个文件
输入 C-x C-f,然后输入 C-g
C-x C-b 列出缓冲区
C-z 可以暂时离开 Emacs
C-x C-c 离开 Emacs。
C-x u 撤销。
M-x repl s<Return>changed<Return>altered<Return>。
M-x recover file <Return>
C-x 2,它会将屏幕划分成两个窗格
C-x o 切换窗格
C-M-v 滚动下方的窗格 无需离开被选中的窗格
emacsIDEA
Porting some great extensions of emacs to Intellij IDEA. such as AceJump, CopyWithoutSelectAction. And new created EditWithoutSelection (Cut/Move/Replace without selection).
AceJump
C-L 't' 'm' : Basic Word Jump | Type C-L, then type target char (eg. 't') to jump to, then type marker char (eg. 'm') to move caret.
C-J 't' 'm' : Basic Char Jump
AceJump, jump to special place
C-L ' ' 'm' : Jump to line end or start. | To show marker on line end and line start, type space ' ' as target char
C-L ',' 'm' : Jump to symbol key | Show markers on .{}(|`/\;.{}()[]?_=-+'"!@#$%^&*)_=
Copy without selection:
C-c w : Copy word
C-c s : Copy string
C-c l : Copy line
C-c b : Copy block between balanced { and }
C-c q : Copy quoted, such as abcd in "abcd"
C-c a : Copy to line beginning
C-c A : Copy to file beginning
C-c e : Copy to line end
C-c E : Copy to file end
C-c p : Copy paragraph
C-c g : Copy paragraph group (e.g.: entire function including white lines)
C-c u : Copy to paragraph begining
C-c d : Copy to paragraph end
C-c ' ' (w | s | l | q | a | A | e | E | p | g | u | d | b) : Type one space to cut related area
C-c ' ' ' ' (w | s | l | q | a | A | e | E | p | g | u | d | b) : Type two space to select related area
Replace target (word | line | paragraph) with text at current caret:
C-i C-w 't' 'm' : replace target word
C-i C-s 't' 'm' : replace target string
C-i C-l 't' 'm' : replace target line
C-i C-b 't' 'm' : replace target block
C-i C-q 't' 'm' : replace target quote
C-i C-a 't' 'm' : replace target to line begining
C-i C-e 't' 'm' : replace target char to line end
C-i C-p 't' 'm' : replace target paragraph
C-i C-g 't' 'm' : replace target paragraph group
C-i C-u 't' 'm' : replace target to paragraph beginning
C-i C-d 't' 'm' : replace target to paragraph end
Obtain target (word | line | paragraph), then replace text at current caret:
C-o C-w 't' 'm' : obtain target word, then replace current word
C-o C-s 't' 'm' : obtain target string, then replace current string
C-o C-l 't' 'm' : obtain target line, then replace current line
C-o C-b 't' 'm' : obtain target block
C-o C-q 't' 'm' : obtain target quote
C-o C-a 't' 'm' : obtain target to line beginning
C-o C-e 't' 'm' : obtain target char to line end
C-o C-p 't' 'm' : obtain target paragraph
C-o C-g 't' 'm' : obtain target paragraph group
C-o C-u 't' 'm' : obtain target to paragraph beginning
C-o C-d 't' 'm' : obtain target to paragraph end
Copy target (word | line | paragraph), then insert text at current caret:
C-w C-w 't' 'm' : Copy target word, then insert at current caret
C-w C-s 't' 'm' : Copy target string, then insert at current caret
C-w C-l 't' 'm' : Copy target line, then insert at current caret
C-w C-b 't' 'm' : Copy target block
C-w C-q 't' 'm' : Copy target quote
C-w C-a 't' 'm' : Copy target to line beginning
C-w C-e 't' 'm' : Copy target char to line end
C-w C-p 't' 'm' : Copy target paragraph
C-w C-g 't' 'm' : Copy target paragraph group
C-w C-u 't' 'm' : Copy target to paragraph beginning
C-w C-d 't' 'm' : Copy target to paragraph end
Cut target (word | line | paragraph), then insert text at current caret:
C-x C-w 't' 'm' : Cut target word, then insert at current caret
C-x C-s 't' 'm' : Cut target string, then insert at current caret
C-x C-l 't' 'm' : Cut target line, then insert at current caret
C-x C-b 't' 'm' : Cut target block
C-x C-q 't' 'm' : Cut target quote
C-x C-a 't' 'm' : Cut target to line beginning
C-x C-e 't' 'm' : Cut target char to line end
C-x C-p 't' 'm' : Cut target paragraph
C-x C-g 't' 'm' : Cut target paragraph group
C-x C-u 't' 'm' : Cut target to paragraph beginning
C-x C-d 't' 'm' : Cut target to paragraph end
Delete target (word | line | paragraph...)
C-d C-w 't' 'm' : delete target word
C-d C-s 't' 'm' : delete target string
C-d C-l 't' 'm' : delete target line
C-d C-b 't' 'm' : delete target block
C-d C-q 't' 'm' : delete target quote
C-d C-a 't' 'm' : delete target to line beginning
C-d C-e 't' 'm' : delete target char to line end
C-d C-p 't' 'm' : delete target paragraph
C-d C-g 't' 'm' : delete target paragraph group
C-d C-u 't' 'm' : delete target to paragraph beginning
C-d C-d 't' 'm' : delete target to paragraph end
Highlight symbol:
C-, : hightlight-symbol-prev | Jump to prev occurrence of symbol that around caret
C-. : hightlight-symbol-next | Jump to next occurrence of symbol that around caret
Just one space:
C-M-Space : Make just one space around caret by Ctrl-Cmd-Space.
Separate AceJump copy,cut,select command:
C-i C-c 't' 'm' : Copy jump area
| C-i C-c means type C-i then continue type C-c
C-i C-x 't' 'm' : Cut jump area
C-i C-i 't' 'm' : Select jump area
C-i C-f 't' 'm' : Basic Jump alias
Copy and Replace:
C-I C-R (w | s | l | q | a | A | e | E | p | g | u | d) 't' 'm' : copy current word/line/paragraph, jump, then replace target word/line/paragraph
网友评论