Currently used:
- vanilla vim style
- LunarVim style
- lua api and its thin wrapper
- which-key
May be useful:
- https://github.com/tjdevries/astronauta.nvim
- https://github.com/b0o/mapx.nvim
- https://github.com/svermeulen/vimpeccable
- https://github.com/LionC/nest.nvim
Shortcut | Mode | Description |
---|---|---|
<leader>ff |
Normal | Fuzzy file searching in a floating window |
<leader>fh |
Normal | Fuzzy help file grepping in a floating window |
<leader>fg |
Normal | Fuzzy project-wide grepping in a floating window |
<leader>ft |
Normal | Fuzzy buffer tag searching in a floating window |
<leader>fb |
Normal | Fuzzy buffer switching in a floating window |
<leader><Space> |
Normal | Remove trailing white spaces |
<leader>v |
Normal | Reselect last pasted text |
<leader>ev |
Normal | Edit Nvim config in a new tabpage |
<leader>sv |
Normal | Reload Nvim config |
<leader>st |
Normal | Show highlight group for cursor text |
<leader>q |
Normal | Quit current window |
<leader>Q |
Normal | Quit all window and close Nvim |
<leader>w |
Normal | Save current buffer content |
<leader>y |
Normal | Copy the content of entire buffer to default register |
<leader>cl |
Normal | Toggle cursor column |
<leader>cd |
Normal | Change current working directory to to the dir of current buffer |
<space>t |
Normal | Toggle tag window (show project tags in the right window) |
<leader>gs |
Normal | Show Git status result |
<leader>gw |
Normal | Run Git add for current file |
<leader>gd |
Normal | Run git diff for current file |
<leader>gc |
Normal | Run git commit |
<leader>gpl |
Normal | Run git pull |
<leader>gpu |
Normal | Run git push |
<F9> |
Normal | Compile&run current source file (for C++, LaTeX, Lua, Python) |
<F11> |
Normal | Toggle spell checking |
<F12> |
Normal | Toggle paste mode |
\x |
Normal | Close location or quickfix window |
\d |
Normal | Close current buffer and go to previous buffer |
{count}gb |
Normal | Go to buffer {count} or next buffer in the buffer list. |
{operator}iB |
Normal | Operate in the whole buffer, {operator} can be v , y , c , d etc. |
Alt-k |
Normal | Move current line or selected lines up |
Alt-j |
Normal | Move current line or selected lines down |
Alt-m |
Normal | Markdown previewing in system browser |
Alt-Shift-m |
Normal | Stopping Markdown previewing in system browser |
ob |
Normal/Visual | Open link under cursor or search visual selection |
ctrl-u |
Insert | Turn word under cursor to upper case |
ctrl-t |
Insert | Turn word under cursor to title case |
jk |
Insert | Return to Normal mode without lagging |
Function | Mapping |
---|---|
Toggle full screen | <A-CR> |
Increase font size | <C-+> |
Decrease font size | <C--> |
Change font | <C-BS> |
Default font | <C-0> |
Increase transparency | <A-+> |
Decrease transparency | <A--> |
Change effect | <A-BS> |
Toggle ligature | <A-DEL> |