diff options
author | johannst <*> | 2016-10-13 19:21:17 +0200 |
---|---|---|
committer | johannst <*> | 2016-10-13 19:21:17 +0200 |
commit | 252433fea54c3c76af30d3eca334b78e32027293 (patch) | |
tree | a1a44535b176a1720bd337685fd3d1f2678e4b6d /.vimrc | |
parent | 7e7256d1dc22619373271ff12ff677e3b11067dc (diff) | |
download | dotfiles-252433fea54c3c76af30d3eca334b78e32027293.tar.gz dotfiles-252433fea54c3c76af30d3eca334b78e32027293.zip |
added scons builder in vim
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 | " +----------------------------+ |