Keymap

Leader key

leader key is set to ;.

Basic movement

   ^
   k
<h   l>
   j
   V
KeymapFunction
h/j/k/lMove around
HGo to the first character of the line
LGo to the last character of the line
JGo down 5 lines
KGo up 5 lines
WGo 5 words forward
BGo 5 words backward

Cursor move in insert mode

KeymapFunction
Ctrl aAct like Home
Ctrl eAct like End
Ctrl fAct like w in normal mode
Ctrl bAct like b in normal mode

Windows Navigation

KeymapFunction
;kGo to the window above
;jGo to the window below
;hGo to the right window
;lGo to the left window

Windows resize

KeymapFunction
Alt UpResize the top border of window
Alt DownResize the bottom border of the window
Alt LeftResize the left border of the window
Alt RightResize the right border of the window
KeymapFunction
/Forward search
?Backward search
*Search word under cursor
NGo to the before matches
nGo to the following matches
ESCClose the search highlight

Copy and Paste

KeymapFunctionnotes
yCopy to system clipboard
pPaste from the editor register
Ctrl-pPaste from the clipboardIn normal and insert mode

Text move

KeymapFunctionnotes
<Reduce one indent levelIn normal and selection mode
>Increse one indent levelIn normal and selection mode

Save and Quit

KeymapFunctionNotes
;wSave
;qQuit buffer (Auto quit nvim when last buffer is deleted)
:qQuit neovim, window, tabs
Alt;Leave the insert mode (Same as ESC)Only in insert mode

Scrolling

KeymapFunction
Ctrl jScroll down
Ctrl kScroll up
Ctrl fLike "PgDown" key, scroll down half a page
Ctrl bLike "PgUp" key, scroll up half a page
Ctrl yScroll up, but cursor will not move
Ctrl eScroll down, but curson will not move

Others

KeymapFunction
Ctrl-zReverse changes

Next Step

concept