This repository contains my .vim
folder. The vimrc
file is inside the folder.
Of note:
-
sudo
write:cmap w!! w !sudo tee >/dev/null %
If you opened a root-owned file but forgot to usesudo
, use:w!!
to write. -
Only the latest for me:
let g:syntastic_cpp_compiler_options=' -std=c++11' let g:syntastic_python_python_exec = '/usr/bin/python3'
-
May the
Shift
not be with you:nore ; : nore , ;
Since I use vim-plug
to handle plugins, a :PlugInstall
would be appropriate on first run.
-
vim-plug - for managing plugins
-
supertab - for completion awesomeness
-
syntastic - for highlighting the living daylights out of syntax errors
-
vim2hs - Haskell in all its visual beauty:
symbol :: Eq s => s -> Parser s s symbol a x = satisfy (a == ) x
Becomes:
symbol :: Eq s ⇒ s → Parser s s
symbol a x = satisfy (a ≡ ) x