aboutsummaryrefslogtreecommitdiffstats
path: root/dotvimrc
diff options
context:
space:
mode:
Diffstat (limited to 'dotvimrc')
-rw-r--r--dotvimrc34
1 files changed, 34 insertions, 0 deletions
diff --git a/dotvimrc b/dotvimrc
index 11da1c2..86d5a46 100644
--- a/dotvimrc
+++ b/dotvimrc
@@ -36,6 +36,15 @@ NeoBundle 'Shougo/vimproc'
NeoBundle 'mileszs/ack.vim.git'
NeoBundle 'motemen/git-vim.git'
+
+"Show + - ~ in the margin for vim modification
+NeoBundle "airblade/vim-gitgutter"
+let g:gitgutter_eager = 0 " only update on read/write
+
+
+NeoBundle 'kien/ctrlp.vim' "amazing search with ctrl p
+NeoBundle 'JazzCore/ctrlp-cmatcher'
+
NeoBundle 'https://bitbucket.org/abudden/taghighlight'
NeoBundle 'git-time-lapse'
NeoBundle 'textobj-user'
@@ -45,6 +54,28 @@ NeoBundle 'tpope/vim-surround.git'
NeoBundle 'taglist.vim'
NeoBundle 'ifdef-highlighting'
NeoBundle 'tpope/vim-speeddating' " can do C-A and C-X on dates!
+NeoBundle 'ciaranm/detectindent' "adapts tabstop and this shit automagically
+
+" next block is about snippets
+"NeoBundle 'garbas/vim-snipmate' " I should try this
+"NeoBundle 'tomtom/tlib_vim'
+"NeoBundle 'honza/vim-snippets'
+"NeoBundle 'MarcWeber/vim-addon-mw-utils'
+
+"check if code is bad
+NeoBundle "scrooloose/syntastic"
+
+" Nice tabulation
+NeoBundle 'godlygeek/tabular'
+"http://vimcasts.org/episodes/aligning-text-with-tabular-vim/
+
+let g:syntastic_auto_loc_list=0
+let g:syntastic_enable_loc_list=0
+let g:syntastic_enable_highlighting=2
+let g:syntastic_error_symbol='✗'
+let g:syntastic_warning_symbol='⚠'
+let g:Powerline_symbols = 'unicode'
+
filetype plugin on
filetype indent on
@@ -159,6 +190,9 @@ map <F5> :let @/ = expand('<cword>')<CR>:3match none<CR>
highlight ManualHighlight ctermbg=darkcyan guibg=darkcyan
map <F6> :exe printf('match ManualHighlight /%s/', escape(expand('<cword>'), '/\'))<CR>
+noremap <F7> :SyntasticToggle<CR>
+noremap <F8> :NERDTreeToggle<CR>
+
"if has("gui_running")
" " auto highlight word under cursor
" highlight WordUnderCursor ctermbg=darkred guibg=#552211