Features are split in these plugins :
- keybindings : alias and data format to register complex keybindings
- autoloader : for loading vim scripts given file openned
- colortheme : for a dynamic colortheme setup (based on hour or filetype)
- speak : minimalist screen reader
- largefile : for viewing large files without slowing down
- spelllang : for automatic setting of spell lang
- selection : lib for easily fetching selection content
mkdir -p ~/.vim/pack/ui/start/
cd ~/.vim/pack/ui/start
for i in keybindings autoloader spelllang selection largefile; do
wget https://github.com/luffah/vim-$i/archive/refs/heads/main.zip
unzip main.zip
done
rm main.zip# init.vim
packloadall
AutoLoad FileType html,css,php,javascript,xml $HOME/.vim/web.vim
call keybindings#Source($HOME . '/.vim/km.vimkm')# km.vimkm
alias vr vertical resize
alias hr resize
km(i<Esc>,n) <C-S-Up> "Del blank line aftr" m`:+g/\m^\s*$/d<Cr>``:noh<Cr>
km(i<Esc>,n) <C-S-Down> "Ins blank line aftr" :set paste<Cr>m`o<Esc>``:set nopaste<Cr>License GPLv3.