- Linux or Mac
- git (for automatic installation)
- make (for automatic installation)
- Oh My Zsh!
# clone repository
make install # same when updating
# configure nvim
make nvim-configure
# install all additional packages for languages (See Makefile to install packages for some language)
make deps-install
Is installed with install.sh script. Manually setup latest Linux neovim release:
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
sudo ln -s $HOME/nvim.appimage $HOME/.local/bin/nvimRun :Lazy and update, also :MasonUpdate to update the packages and LSP dependencies.
- Use
<ctrl> + [instead of<Esc> <leader>– Space- See
:help unimpairedfor some fancy keymaps
<C-h>– move left or open new left split<C-l>– move right or open new right split<C-k>– move up or open new top split<C-j>– move down or open new bottom split
<ctrl> n– next item<ctrl> p– previous item
K- move selection upJ- move selection down
<leader><leader>– toggle filetree<C-n>– locate opened file in the filetreeo– open directory or file
<leader> sf– find files<leader> sg– git grep<leader> sc– find commits<leader> so– symbols<leader> sr– references<leader> b– show buffer list
gcc– toggle commentinggf– open a file corresponding to a word under the cursorgx– open a link corresponding to a word under the cursorgd– go to definitiong;– go to the last edited line in the current opened buffergv– reselect last visual selectiongS- split/join function arguments]dand[d– go through diagnostics]<leader>and[<leader>– add empty line above and under cursor<leader>ca– show code actions<leader><leader>– show code actions in visual mode<leader>f- format code<leader>rr- refactor code in visual mode<leader>rn- LSP rename<leader>pr- rename with spectrevim-surroundis enabled, check key binds in their repo
<leader>ssto save session<leader>slto load session
<leader>lglazygit<leader>tbtagbar<C-p>alpha<leader>hptoggle current chunk git diffgpinsert python script