Nvim
Install & config
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update
sudo apt install neovim
git clone https://github.com/LazyVim/starter ~/.config/nvim
Clipboard
sudo apt install wl-clipboard
set clipboard=unnamedplus
File explorer
space e
Windows
- ctrl+w w
- ctrl+w h
- ctrl+w l
- ctrl+w q
Tabs (buffers)
- :bn
- :bp
Commands
/ - search
ctrl + / - terminal
:ls - list files
yy or +y - copy to clipboard
> - indent
gcc - comment line
H + I (shift+h, then shift+i) - toggle hidden files
sudo -E nvim - root privileges but still using user env