X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/cfa1b48b7af2d0b4133e11099fe90720ae15b0f1..24afba88c203f4e2ef575571e54a72503a1f72f4:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index f05093a..636350f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -72,6 +72,7 @@ Plugin 'derekwyatt/vim-protodef' " needs editing colorscheme " Plugin 'jeaye/color_coded' " Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp +Plugin 'wincent/loupe' call vundle#end() @@ -156,10 +157,18 @@ set mouse=rnv " list of flags for using the mouse set ttymouse=xterm " type of mouse " messages and info {{{2 -set showcmd " Show (partial) command in status line. -set ruler " show the cursor position all the time -set confirm " Ask what to do when closing unsaved documents -set shortmess=filnxtoOI " don't show intro message +set showcmd " Show (partial) command in status line. +set ruler " show the cursor position all the time +set confirm " Ask what to do when closing unsaved documents +set shortmess= " reset option +set shortmess+=a " all abbreviations +set shortmess+=o " overwrite file-written message +set shortmess+=O " file-read message overrides previous +set shortmess+=t " truncate file message at start +set shortmess+=T " truncate other messages in the middle +set shortmess+=W " don't give 'written' or '[w]' when writing a file +set shortmess+=A " ignore swapfile warning +set shortmess+=I " no splash screen " editing text {{{2 set backspace=indent,eol,start " allow backspacing over everything in insert mode @@ -326,7 +335,7 @@ command! ToggleAutoChecktime let b:autochecktime=!get(b:, 'autochecktime', 0) | " bindings {{{1 -" allow both and / to be +" allow both and \ to be map " make @@ -595,6 +604,9 @@ let g:tagbar_autoshowtag = 1 let g:tagbar_width = 25 let g:tagbar_iconchars = ['+', '-'] +" tcomments {{{2 +let g:tcommentTextObjectInlineComment = 'gic' + " ultisnips {{{2 let g:UltiSnipsEditSplit = 'vertical' let g:UltiSnipsSnippetsDir = expand("$XDG_CONFIG_HOME/vim/ultisnips") @@ -636,6 +648,7 @@ call unite#custom#profile('default', 'context', { nnoremap [unite] nmap u [unite] +nnoremap [unite]u :UniteResume " unite-grep {{{3 " seems not respected