Vimstack
Why? #
I want a good quality vim setup that does not depend on ruby, perl or python. Just pure old vimscript for
easy deployment to whatever box I am currently using. (i.e it will fallback gracefully)
VimStack by default is mostly setup for work in ruby, javascript, html, css, go and c. However, adding plugins to extend
it for whatever tools you need is trivial.
Vimstack comes with two color schemas: epix (gvim) and threatstack (terminal vim). Both color schemas were created by me modified from
ir_black (https://github.com/wesgibbs/vim-irblack). The default color schema is threatstack.
The stuff I use with vim #
ctrl + p
- fuzzy file finder via ctrlp (https://github.com/kien/ctrlp.vim)<Leader>b
- ctrlp buffer search<Leader>f
- ctrlp function search<Leader>r
- ctrlp register search<c-f>
- search via Ack (https://github.com/mileszs/ack.vim -brew install ack
orsudo apt-get install ack-grep
)<Leader>o
- git commit viewer via vim-extradite (https://github.com/int3/vim-extradite)<Leader>q
- quickfix<Leader>w
- write fileshift+s"
- surround selected char/word with “”<Leader>c
- toggle software caps lock<Leader>p
- toggle paste modegof
: Go to the current file’s directory in the File managergot
: Go to the current file’s directory in the Terminal- See the Platform Support section (below) for details on which terminal is chosen
goF
: likegof
for the current “session” directory, that is, the directory returned by:pwd
goT
: likegot
for the current “session” directory
Emmet is amazing #
Invoke html completion with
ctrl + e
using emmet-vim (https://github.com/mattn/emmet-vim)Example
div#hello
followed byctrl + e
=<div id="hello"></div>
div.world
followed byctrl + e
=<div class="word"></div>
- etc..
Plugins I Use Via Vundle (https://github.com/gmarik/vundle) #
Bundle 'gmarik/vundle'
Bundle 'terryma/vim-multiple-cursors'
Bundle 'tpope/vim-capslock'
Bundle 'tpope/vim-abolish'
Bundle 'terryma/vim-expand-region'
Bundle 'nono/vim-handlebars'
Bundle 'molok/vim-smartusline'
Bundle 'kana/vim-smartinput'
Bundle 'ervandew/nerdcommenter'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-repeat'
Bundle 'tpope/vim-unimpaired'
Bundle 'ervandew/supertab'
Bundle 'tpope/vim-endwise'
Bundle 'tpope/vim-git'
Bundle 'tpope/vim-surround'
Bundle 'mattn/emmet-vim'
Bundle 'mileszs/ack.vim'
Bundle 'pangloss/vim-javascript'
Bundle 'mmalecki/vim-node.js'
Bundle 'tpope/vim-ragtag'
Bundle 'vim-scripts/SingleCompile'
Bundle 'int3/vim-extradite'
Bundle 'mattn/webapi-vim'
Bundle 'kien/ctrlp.vim'
Bundle 'mattn/ctrlp-register'
Bundle 'tacahiroy/ctrlp-funky'
Bundle 'garbas/vim-snipmate'
Bundle 'tomtom/tlib_vim'
Bundle 'MarcWeber/vim-addon-mw-utils'
Bundle 'mephux/snipmate-snippets'
Bundle 'fsouza/go.vim'
Bundle 'tommcdo/vim-lion'
Bundle 'bruno-/vim-vertical-move'
Bundle 'scrooloose/nerdtree'
Bundle 'tpope/vim-vinegar'
Bundle 'justinmk/vim-gtfo'
More information can be found here. https://github.com/mephux/vimstack