Mover is an easy editor for people who do not or do not heavily use vim and emacs. It learned from vim/emacs and provides easier keybindings. Spend five minutes reading this, and your coding efficiency will increase significantly.
-
Efficient: Avoid moving your hands far to the mouse, cursor keys, Ctrl, Esc, etc.
-
Easy: The intuitive keybindings and consistency make it easy to master.
-
Non-aggresive: Retain the original keybindings as much as possible. (So the ctrl+c/ctrl+v are safe.)
Most function is performed by alt combination keys. The basic cursor move keys are alt+ follows:
i(↑)
j(←) k(↓) l(→)
This keeps the ralative positions of original arrow keys. Except alt+j
and alt+l
means moving a word instead of a character.
In Mover, it's encouraged to move cursor by a long-distance key rather than several short-distance keys.
Besides moving cursor, alt+i
and alt+k
can also be used to select in code suggestion boxes.
The extended cursor move keys are alt+ follows:
u(←character) i(↑) o(→character)
j(←word) k(↓) l(→word)
m(←home) ,(↓newline) .(→end)
alt+,
means inserting a newline bellow which is similar to the o
key in vim. It's useful.
Congratulations! When come to here, you can start using Mover. Go and practice!
Mover has two modes: Edit and Alt. Mode changing is performed by press alt+enter
key.
enter(change mode)
Mover starts with Edit mode, in which you can type as usual and use Mover function with alt combination keys.
In Alt mode, you can't type but you can use Mover function without alt key.
Mover keeps the consistency. All the alt+(key)
function in Edit Mode equals to the single (key)
function in Alt mode.
If you do use an alt in Alt mode, mover will change to Edit mode after the key takes effect.
In the following sections, alt+
key in Edit Mode will not be noted.
` 1 2 3 4 5 6 7 8 9 0 -
Similar to vim, you can prepend with a number to repeat the command.
For example, 10i
means moving the cursor 10 lines up.
What's more, `
key is used to represent "infinite". So `i
means moving to the top.
-
key is used for page scroll.(-i
scroll up and -k
scroll down.)
w(←tab) e(→editor) r(→tab)
s(←editor) d(↓editor) f(→editor)
Where e d s f
can navigate between sub-window, such as splited editor. w
and r
change the tab page.
p(go to defination) [(go back) ](go foward)
g(go to line)
Where p
equals to f12
in vscode. [
and ]
equal to alt+←
and alt+→
in vscode.
shift(select)
Similar to the original usage, hold shift
and move cursor means select. All Mover cursor move keys are supported here.
x(cut) c(copy) v(paste) b(delete)
Mover retains the original cut/copy/paste keybindings. However, because ctrl
is a second class key in Mover, you can also use them by alt
. b
is newly added for delete.
Single pressing x/c/b
will take effect on selection, while double pressing will take effect on the current line.
b
can chord with cursor keys. For example, b j
means delete all left.
y(redo)
z(undo)
Alt key support is also added to z
and y
.
esc(escape)
Remember esc can help you close various windows such as find widget. Try avoid using mouse.
Search Mover
in File->Preferences->Keyboard Shortcuts
, you can find all the Mover key bindings and change it if you need.
There have been nice command mode in vscode. Try ctrl+shift+p
.
Check if there is a keybinding conflict.
Most original alt funtion take effect by press in sequence rather than combination.