]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: add mfun snippet
[dotfiles.git] / vim / vimrc
index ae76bc81b176a38e199929eaf303ce40971f8243..e1255968964c13e9ca45920c26c3290261e3c259 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -66,7 +66,9 @@ Plugin 'justinmk/vim-sneak'
 Plugin 'chrisbra/checkattach'
 Plugin 'nathanaelkane/vim-indent-guides'
 Plugin 'alx741/vinfo'
+Plugin 'octol/vim-cpp-enhanced-highlight'
 Plugin 'vim-scripts/mediawiki.vim'
+Plugin 'vim-scripts/replacewithregister'
 Plugin 'tpope/vim-abolish'
 
 " remove entries first
@@ -541,6 +543,7 @@ if executable('ag')
     let g:unite_source_grep_recursive_opt = ''
 end
 nnoremap <silent> [unite]a :<C-u>Unite grep -input=\12\17<CR>
+command! -nargs=1 Ag Unite grep -input=<args>
 
 " unite-file_rec {{{3
 if executable('ag')