From 7113c37a7895fbf0faf97b9b8868b6025853bc6f Mon Sep 17 00:00:00 2001 From: Johannes Stolp Date: Fri, 12 Aug 2016 18:06:28 +0200 Subject: Added vim tpope-dispatch plugin, added quickfix auto open --- .vim/vimrc_files/keymaps.vim | 6 ++++-- .vim/vimrc_files/vundle.vim | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to '.vim') diff --git a/.vim/vimrc_files/keymaps.vim b/.vim/vimrc_files/keymaps.vim index b440aed..b38f5e9 100644 --- a/.vim/vimrc_files/keymaps.vim +++ b/.vim/vimrc_files/keymaps.vim @@ -78,6 +78,8 @@ inoremap 0 inoremap $ vnoremap 0 vnoremap $ +cnoremap +cnoremap " Shortcut to toggle relative numbering mode @@ -87,7 +89,7 @@ nnoremap :call ToggleRelativeNumber() nnoremap o//{{{ o//}}}A imap " only works with v-block (not v-line) -vnoremap VV''>o//}}}'<A +vnoremap VV''>o//}}}'<A " substitute selection vnoremap "hy:%s/h//gc @@ -102,4 +104,4 @@ nnoremap :call BufExplorer() nnoremap t :TagbarToggle " build tags of your own project with Ctrl-F12 -map :!ctags -R --sort=yes --c++-kinds=+pl --fields=+iaS --extra=+q --language-force=C++ . +map :!ctags -R --sort=yes --c++-kinds=+pl --fields=+iaS --extra=+q --language-force=C++ . diff --git a/.vim/vimrc_files/vundle.vim b/.vim/vimrc_files/vundle.vim index b540ef0..c35d77d 100644 --- a/.vim/vimrc_files/vundle.vim +++ b/.vim/vimrc_files/vundle.vim @@ -1,7 +1,8 @@ " dotfiles -- .vim/vimrc_files/vundle.vim " author: johannst -" to install plugins open vim and run :PluginInstall +" to install plugins open vim and run :PluginInstall from within vim OR +" vim +PluginInstall +qall from cmd line filetype off " necessary for vundle!!! set rtp+=~/.vim/bundle/Vundle.vim @@ -20,4 +21,7 @@ Plugin 'majutsushi/tagbar' " c++ modifief headers: http://www.vim.org/scripts/script.php?script_id=2358 Plugin 'vim-scripts/OmniCppComplete' +"Plugin 'vim-scripts/Conque-GDB' +Plugin 'tpope/vim-dispatch' + call vundle#end() -- cgit v1.2.3