Add git_gutter toggles
This commit is contained in:
parent
43eb3c064d
commit
2e32f224c6
2 changed files with 12 additions and 2 deletions
2
gvimrc
2
gvimrc
|
@ -15,3 +15,5 @@ endif
|
||||||
|
|
||||||
set guioptions-=T " turn off toolbar
|
set guioptions-=T " turn off toolbar
|
||||||
set guioptions-=m " turn off menubar
|
set guioptions-=m " turn off menubar
|
||||||
|
|
||||||
|
call togglebg#map("<F10>")
|
||||||
|
|
12
vimrc
12
vimrc
|
@ -126,8 +126,6 @@ endif
|
||||||
|
|
||||||
set bg=dark
|
set bg=dark
|
||||||
|
|
||||||
call togglebg#map("<F10>")
|
|
||||||
|
|
||||||
" use solarized colorscheme if the terminal can support it (or we're in a GUI)
|
" use solarized colorscheme if the terminal can support it (or we're in a GUI)
|
||||||
let g:solarized_termtrans = 1
|
let g:solarized_termtrans = 1
|
||||||
let g:solarized_visibility = 'low'
|
let g:solarized_visibility = 'low'
|
||||||
|
@ -163,6 +161,11 @@ nnoremap <C-j> <C-w>j
|
||||||
nnoremap <C-k> <C-w>k
|
nnoremap <C-k> <C-w>k
|
||||||
nnoremap <C-l> <C-w>l
|
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-n> :bn<CR>
|
||||||
nnoremap <silent> <C-p> :bp<CR>
|
nnoremap <silent> <C-p> :bp<CR>
|
||||||
|
|
||||||
|
@ -259,6 +262,11 @@ nmap gV `[v`]
|
||||||
"let g:CommandTAcceptSelectionMap='<C-b>'
|
"let g:CommandTAcceptSelectionMap='<C-b>'
|
||||||
"let g:CommandTAcceptSelectionTabMap='<CR>'
|
"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')
|
if has('autocmd')
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue