Install nvim, urxvt and zsh:
Arch:
# pacman -S neovim rxvt-unicode zsh wl-clipboard
Debian:
# sudo apt install neovim rxvt-unicode zsh
Change default shell to zsh
:
$ chsh -s $(which zsh)
Install ohmyzsh:
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Set theme in ~/.zshrc
:
# Edit this line
ZSH_THEME="agnoster"
# Add these lines
bindkey "${terminfo[khome]}" beginning-of-line
bindkey "${terminfo[kend]}" end-of-line
Install Inconsolata for Powerline and Inconsolata NF:
$ wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.0/Inconsolata.zip
$ unzip Inconsolata.zip
# cp *.ttf /usr/share/fonts/TTF
$ wget https://github.com/powerline/fonts/blob/master/Inconsolata/Inconsolata%20for%20Powerline.otf
# cp *.otf /usr/share/fonts/OTF
$ fc-cache -fv
Follow these instructions on Arch Wiki to fix home and end keys: https://wiki.archlinux.org/title/Home_and_End_keys_not_working#Terminfo
Download ~/.Xresources
and merge:
$ xrdb -merge ~/.Xresources
Install vim-plug:
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Download ~/.vimrc
Save default coc.nvim from https://github.com/neoclide/coc.nvim to ~/.vim/coc.vim
Download ~/.vim/colors/custom.vim
Open nvim
and run :PlugInstall
then restart
Open :CocConfig
and paste in the contents of coc-settings.json
Launch nvim and be productive.