Add git_gutter toggles

This commit is contained in:
Eryn Wells 2013-03-06 09:15:40 -08:00
parent 43eb3c064d
commit 2e32f224c6
2 changed files with 12 additions and 2 deletions

2
gvimrc
View file

@ -15,3 +15,5 @@ endif
set guioptions-=T " turn off toolbar
set guioptions-=m " turn off menubar
call togglebg#map("<F10>")

12
vimrc
View file

@ -126,8 +126,6 @@ endif
set bg=dark
call togglebg#map("<F10>")
" use solarized colorscheme if the terminal can support it (or we're in a GUI)
let g:solarized_termtrans = 1
let g:solarized_visibility = 'low'
@ -163,6 +161,11 @@ nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l
" Usual EMACS (oh the horror!) begin-line and end-line keys for first and last
" buffer.
"nnoremap <silent> <C-a> :bfirst<CR>
"nnoremap <silent> <C-e> :blast<CR>
" Move between buffers with <C-n> and <C-p>
nnoremap <silent> <C-n> :bn<CR>
nnoremap <silent> <C-p> :bp<CR>
@ -259,6 +262,11 @@ nmap gV `[v`]
"let g:CommandTAcceptSelectionMap='<C-b>'
"let g:CommandTAcceptSelectionTabMap='<CR>'
" GitGutter shows changed lines in files.
let g:gitgutter_enabled = 0
highlight clear SignColumn
nmap <silent> <leader>gg :ToggleGitGutter<CR>
if has('autocmd')
filetype plugin indent on