From 223ea8f5199aef6b7c6b771c4448282288f18d9b Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 17 Jul 2016 22:06:11 +0200 Subject: Added vim omnicppcompleten suppoert --- .vim/vimrc_files/keymaps.vim | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.vim/vimrc_files/keymaps.vim') diff --git a/.vim/vimrc_files/keymaps.vim b/.vim/vimrc_files/keymaps.vim index fe78484..b440aed 100644 --- a/.vim/vimrc_files/keymaps.vim +++ b/.vim/vimrc_files/keymaps.vim @@ -86,14 +86,20 @@ nnoremap :call ToggleRelativeNumber() " add a marker fold snippet (for C/C++) nnoremap o//{{{ o//}}}A imap -"only works with v-block (not v-line) +" only works with v-block (not v-line) vnoremap VV''>o//}}}'<A +" substitute selection +vnoremap "hy:%s/h//gc + +" +-----------------+ +" | Plugin specific | +" +-----------------+ " Open BufferExplorer nnoremap :call BufExplorer() " Toggle Tagbar nnoremap t :TagbarToggle -" substitute selection -vnoremap "hy:%s/h//gc +" build tags of your own project with Ctrl-F12 +map :!ctags -R --sort=yes --c++-kinds=+pl --fields=+iaS --extra=+q --language-force=C++ . -- cgit v1.2.3