From d3ff5513b7d7707273a1d47e52832ec1a3aa0005 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 9 Nov 2015 20:34:05 +0100 Subject: visual block working with cursor keys again reason was the setting behave=mswin (just for reference) --- .vim/vimrc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.vim/vimrc') diff --git a/.vim/vimrc b/.vim/vimrc index 5d3417b..44982f2 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -11,6 +11,8 @@ Plugin 'VundleVim/Vundle.vim' | " Vundle itself (require Plugin 'cscope_plus.vim' | " run cscope -R -b in project folder then use Plugin 'autoload_cscope.vim' | " CTRL+\ s searches word under cursor, CTRL+T back Plugin 'tpope/vim-fugitive' | " the most complete GIT integration plugin +Plugin 'jeaye/color_coded' | " semantic highlighting with vim +Plugin 'terryma/vim-multiple-cursors' | " displays visual block mode as cursors Plugin 'taglist-plus' | " quick code navigator let Tlist_Compact_Format = 1 | " @@ -18,7 +20,7 @@ let Tlist_GainFocus_On_ToggleOpen = 1 | " let Tlist_Close_On_Select = 1 | " Plugin 'Valloric/YouCompleteMe' | " syntax checker and code completion -let g:ycm_global_ycm_extra_conf = '' | " fallback, right one should be in the applications path +let g:ycm_global_ycm_extra_conf = '~/.vim/ycm_extra_conf.py' | " fallback, right one should be in the applications path let g:ycm_confirm_extra_conf = 0 | " disable 'do you really want to execute .py?' let g:ycm_key_select_completion = '' | " key completion key let g:ycm_error_symbol = '✖' | " insert this as an error symbol in the gutter bar @@ -32,7 +34,6 @@ let html_use_css = 1 | " when using :TOhtml no call vundle#end() | " required by Vundle filetype plugin indent on | " required by Vundle -behave mswin "================================================================================ " custom config colorscheme coderonline @@ -179,6 +180,11 @@ noremap :call ExtendedHome() nnoremap u +"map el +"map hgel +"vnoremap e +"vnoremap b + " plugin hotkeys map :TlistToggle| " bind TagList to Hotkey Ctrl+L @@ -215,9 +221,9 @@ nnoremap :!make| " classic key binding: press F5 to compil "nnoremap "nnoremap ":inoremap pumvisible() ? "\" : "\u\" -"map OA k|map OB j|map OC l|map OD h| " allow cursor keys in insert mode "inoremap pumvisible() ? "\" : "\" " breaks cursor keys! " binding ESC can easily break cursor key movement on the console (tricky, because gvim works) "inoremap "inoremap " +"map OA k|map OB j|map OC l|map OD h| " allow cursor keys in insert mode -- cgit v1.2.3