Move to the beginning of line (move-beginning-of-line)
C-e
✓
Move to the end of line (move-end-of-line)
M-f
✓
Move forward by one word unit (forward-word)
M-b
✓
Move backward by one word unit (backward-word)
C-v
✓
Scroll down by one screen unit (scroll-up-command)
M-v
✓
Scroll up by one screen unit (scroll-down-command)
M-g g (M-g M-g)
Jump to line (command palette)
M-g n (M-g M-n, C-x `)
Jump to next error
M-g p (M-g M-p)
Jump to previous error
C-l
Center screen on current line (recenter-top-bottom)
Search Commands
Command
Desc
C-s
Search forward
C-r
Search backward
M-S-5 (M-% with US keyboard)
Replace
C-Enter
Replace One Match (In replace dialog)
C-M-n
Add selection to next find match
C-M-p
Add selection to previous find match
Edit commands
Command
Prefix argument
Desc
C-d
✓
Delete right (DEL)
C-h
✓
Delete left (BACKSPACE)
M-d
✓
Kill word (kill-word)
M-Bksp
✓
Kill word left (backward-kill-word)
C-k
✓
Kill from the current cursor to the end of line (kill-line)
C-S-Bksp
Kill whole line (kill-whole-line)
C-w
Kill region
M-w
Copy region to kill ring
C-y
Yank
M-y
Yank pop
C-o
Open line
C-j
✓
New line
C-m
✓
New line
C-x C-o
Delete blank lines around (delete-blank-lines)
C-x h
Select All
C-x u (C-/)
Undo
C-;
Toggle line comment in and out
M-;
Toggle region comment in and out
C-x C-l (M-l)
Convert to lower case (On the Emacs' original behavior, C-x C-l and M-l are assigned to the different functionalities. However, this extension assigns these keys to the same emacs-mcx.transformToLowercase command which calls editor.action.transformToLowercase command internally and works similarly to both the original Emacs' functionalities based on the context. Uppercase (below) is same)
有啊,安装这个插件即可。支持的键位绑定很多
https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx
Keymaps
Move commands
C-f
C-b
C-n
C-p
C-a
C-e
M-f
M-b
C-v
M-v
M-g g
(M-g M-g
)M-g n
(M-g M-n
,C-x `
)M-g p
(M-g M-p
)C-l
Search Commands
C-s
C-r
M-S-5
(M-%
with US keyboard)C-Enter
C-M-n
C-M-p
Edit commands
C-d
C-h
M-d
M-Bksp
C-k
C-S-Bksp
C-w
M-w
C-y
M-y
C-o
C-j
C-m
C-x C-o
C-x h
C-x u
(C-/
)C-;
M-;
C-x C-l
(M-l
)C-x C-l
andM-l
are assigned to the different functionalities. However, this extension assigns these keys to the sameemacs-mcx.transformToLowercase
command which callseditor.action.transformToLowercase
command internally and works similarly to both the original Emacs' functionalities based on the context. Uppercase (below) is same)C-x C-u
(M-u
)Other Commands
C-g
(ESC
)C-space
C-quote
M-x
C-M-SPC
C-x z
File Commands
C-x C-s
C-x C-w
C-x C-n
Tab / Buffer Manipulation Commands
C-x b
C-x C-f
C-x k
C-x C-k
C-x 0
C-x 1
C-x 2
C-x 3
C-x 4
C-x o
Prefix argument
C-u
sexp
C-M-f
C-M-b
来Vim吧