]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: fix togglelist mappings
[dotfiles.git] / vim / vimrc
index f05093a018ed143363f36d0308088f9f3a9429ea..c6aee808e02f8389f501dee99b7b13826d64b4d5 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -326,7 +326,7 @@ command! ToggleAutoChecktime let b:autochecktime=!get(b:, 'autochecktime', 0) |
 
 " bindings {{{1
 
-" allow both <space> and / to be <leader>
+" allow both <space> and \ to be <leader>
 map <space> <leader>
 
 " make
@@ -595,6 +595,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 +639,7 @@ call unite#custom#profile('default', 'context', {
 
 nnoremap [unite] <Nop>
 nmap <leader>u [unite]
+nnoremap [unite]u :UniteResume<CR>
 
 " unite-grep {{{3
 " seems not respected