summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index b0faa2d..55925b5 100644
--- a/.vimrc
+++ b/.vimrc
@@ -36,6 +36,10 @@ set nocompatible " make vim less vi
" tagbar
let g:tagbar_ctags_bin='~/.vim/bin/ctags'
+ " CtrlP
+ let g:ctrlp_buftag_ctags_bin='~/.vim/bin/ctags'
+ let g:ctrlp_extensions = ['buffertag', 'line', 'changes', 'mixed']
+
" omni complete
" add tags
" set tags+=~/.vim/tags/cpp_tags
@@ -53,6 +57,14 @@ set nocompatible " make vim less vi
"}}}
+function! TriggerSCons(arg_string)
+ let base_cmd = "scons -u "
+ let &makeprg=base_cmd.a:arg_string
+ make
+endfunction
+" use like :SCons -j20 ...
+command! -nargs=1 SCons call TriggerSCons(<f-args>)
+
" +----------------------------+
" | Color Settings |
" +----------------------------+