]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: switch between yes and no
[dotfiles.git] / vim / vimrc
index fdd055222a02f58d9b5efed5ac70e8b3162bd912..f61b74b97dbeba78161aac2cffd1f276fceee6cd 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -640,7 +640,8 @@ nnoremap <silent> <leader>gb :G blame<cr>
 
 augroup fugitive_gstatus
     au!
-    autocmd BufWinEnter */.git/index resize 16
+    autocmd User FugitiveIndex setlocal winfixheight
+    autocmd User FugitiveIndex nmap <buffer> <leader><space> =
 augroup end
 
 " Gundo {{{2
@@ -684,6 +685,9 @@ let g:SignatureMap = {
 
 " switch
 let g:switch_mapping = "<Leader>s"
+let g:switch_custom_definitions = [
+      \   ['yes', 'no']
+      \ ]
 
 " spellrotate
 nmap <silent> z] <Plug>(SpellRotateForward)