My dotfiles for VIM
MIT License
My castle for VIM. The objective is to have an environment good for servers and my personal day to day use.
Quick install, with homeshick and my dotfiles:
$ bash <(curl -L https://git.io/fNMTH)
You can customize my bootstrap script to include your own dotfiles, although you will be able to edit the castles which will be cloned during the installation.
I use vim-plug to load plugins:
I like to use some specific mappings on determined file extensions, ans also use the file type configuration to be sane given an environment:
My leader is mapped to \
.
<leader>s
: Searches for the word under cursor and puts it on a quickfix
<leader>e
: Displays all methods on a given class on a quickfix
<leader>l
: Lints current file<leader>d
: Executes PHPUnit for current test file (uses Composer PHPUnit)<leader>c
: Checkstyle current file with PSR2 (uses Composer)<leader>d
: On the line containing a changed file, displays the diff<leader>c
: Over a hash, displays the content of it with git show
(useful<leader>l
: Lints current file<leader>d
: Executes npm test
for current test file