]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: remove name/email
[dotfiles.git] / vim / vimrc
index 2d6d066291a1669519999d6c829794b77a02d174..8c75c582b35f351fef6381b5faa39f911369ef9f 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1,8 +1,3 @@
-" My vimrc.
-"
-" Author:   Samir Benmendil <samir.benmendil[at]gmail[dot]com>
-"
-
 " runtimepath {{{1
 set runtimepath ^=$XDG_CONFIG_HOME/vim
 set runtimepath +=$XDG_CONFIG_HOME/vim/after
 " runtimepath {{{1
 set runtimepath ^=$XDG_CONFIG_HOME/vim
 set runtimepath +=$XDG_CONFIG_HOME/vim/after
@@ -640,6 +635,7 @@ nnoremap <silent> <leader>gb :G blame<cr>
 
 augroup fugitive_gstatus
     au!
 
 augroup fugitive_gstatus
     au!
+    autocmd User FugitiveIndex setlocal winfixheight
     autocmd User FugitiveIndex nmap <buffer> <leader><space> =
 augroup end
 
     autocmd User FugitiveIndex nmap <buffer> <leader><space> =
 augroup end
 
@@ -684,6 +680,9 @@ let g:SignatureMap = {
 
 " switch
 let g:switch_mapping = "<Leader>s"
 
 " switch
 let g:switch_mapping = "<Leader>s"
+let g:switch_custom_definitions = [
+      \   ['yes', 'no']
+      \ ]
 
 " spellrotate
 nmap <silent> z] <Plug>(SpellRotateForward)
 
 " spellrotate
 nmap <silent> z] <Plug>(SpellRotateForward)