-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathignitionrc
14 lines (11 loc) · 1.26 KB
/
ignitionrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set noexpandtab
"set makeprg=bash\ -c\ \"cd\ build/linux/debug;make\ -j8\ core_unit_tests\ report_unit_tests&&tests/bin/core_unit_tests&&tests/bin/report_unit_tests\"
"set makeprg=bash\ -c\ \"cd\ build/linux/debug;make\ javascript_unit_tests\ -j8&&tests/bin/javascript_unit_tests\"
set makeprg=bash\ -c\ \"cd\ build/linux/debug;make\ report_unit_tests\ -j8&&tests/bin/report_unit_tests\ --gtest_filter=\"Crash*.*\"\"
map <F11> :wa<Enter>:make<Enter>:TagbarClose<Enter>:copen<Enter><Enter>
map <F10> :wa<Enter>:!rm cscope*; cscope-indexer -r<Enter><Enter>:cscope reset<Enter><Enter>
source <sfile>:h/cmake.vimrc
nmap <leader>c :let @/='\<'.expand('<cword>').'\>'<Enter>:Ack!-L --type-add 'src:include:c,cpp,js,lua' --type-add 'src:*.idl' -tsrc -g "!tests" -g "!test" -g "!thirdparty" -g "!generated" -g "!build" -g "!install*" "\b<cword>\b"<Enter>
nmap <leader>C :let @/='\<'.expand('<cword>').'\>'<Enter>:Ack!-L --type-add 'src:include:c,cpp,js,lua' --type-add 'src:*.idl' -tsrc -g "!tests" -g "!test" -g "!thirdparty" -g "!generated" -g "!build" -g "!install*" "\b
nmap <leader>m :let @/='\<D\?\zs'.expand('<cword>').'\>'<Enter>:Ack!-L -tcmake -tmake -tpy -tsh "\bD?<cword>\b"<Enter>
nmap <leader>M :let @/='\<D\?\zs'.expand('<cword>').'\>'<Enter>:Ack!-L -tcmake -tmake -tpy -tsh "\bD?