Better Vim comes with lots of slick defaults. Here is a complete list of common mappings that you may need:
ctrl + s
: Save fileleader + eb
: Open your neovim config file (better-vim.lua
)leader + ev
: Open Better Vim default config fileleader + sv
: Reload the neovim configleader + cl
: Clear searching highlightsctrl + /
: Toggle comment line (in normal mode) or block (in visual mode)ctrl + n
: Toggle File Explorerleader + p
: Paste over a selection without losing the last copied textleader + o
: Go to older cursor positionleader + i
: Go to newer cursor positionleader + q
: When nvim-tree
is opened, it closes the buffer without closing the windowshift + j
: Move selected text one line downshift + k
: Move selected text one line upTip: You can use shift + v
to select the whole line and enter Visual Mode at the same time.
ctrl + h
, j
, k
or l
: Navigate
between buffersalt/option
+ tab number (e.g 1
) : Navigate to a specific tabIf you’re using iTerm2 the mapping above will not work due some limitations with the iTerm2 built in mappings.
To customize mappings for tabs, check the custom mappings documentation page.