sudo add-apt-repository -y ppa:neovim-ppa/stable
sudo apt update
sudo apt install neovim ripgrep
brew install neovim ripgrep
git clone https://github.com/adonis0147/nvim-config "${HOME}/.config/nvim-config"
./install.sh
See nvim/lua/key_bindings.lua.
<leader>
:<space>
<leader>e
: Quit<leader>E
: Quit all without saving- Moving between windows
<ctrl-h>
: Left<ctrl-j>
: Down<ctrl-k>
: Up<ctrl-l>
: Right
- Moving between tabs
<leader>n
: Previous tab<leader>m
: Next tab
<F5>
: Build bymake
command<F9>
: Build and run (only available for a single source code file)
Use lazy.nvim to manage plugins.