diff options
author | Adrian Kummerlaender | 2015-02-11 22:46:33 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-02-11 22:46:33 +0100 |
commit | 4e8b27df9a01cf3dcfc275af93b2c98d65d0dc32 (patch) | |
tree | d973d0fe3c8304a68d75ff1ce800332028e623c5 | |
parent | 76c075c14cff435b05d96d8268ceb56672b9b034 (diff) | |
download | dotfiles-4e8b27df9a01cf3dcfc275af93b2c98d65d0dc32.tar dotfiles-4e8b27df9a01cf3dcfc275af93b2c98d65d0dc32.tar.gz dotfiles-4e8b27df9a01cf3dcfc275af93b2c98d65d0dc32.tar.bz2 dotfiles-4e8b27df9a01cf3dcfc275af93b2c98d65d0dc32.tar.lz dotfiles-4e8b27df9a01cf3dcfc275af93b2c98d65d0dc32.tar.xz dotfiles-4e8b27df9a01cf3dcfc275af93b2c98d65d0dc32.tar.zst dotfiles-4e8b27df9a01cf3dcfc275af93b2c98d65d0dc32.zip |
Configured `vim-gitgutter` plugin
-rw-r--r-- | vim/.vimrc | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -10,6 +10,7 @@ set lazyredraw set ttyfast set mouse=a set background=dark +set shell=/bin/sh colorscheme akr @@ -27,13 +28,14 @@ set ignorecase set smartcase map <leader>s :let @/=""<CR> -autocmd InsertEnter * :setlocal nohlsearch -autocmd InsertLeave * :setlocal hlsearch + +autocmd InsertEnter * :setlocal nohlsearch +autocmd InsertLeave * :setlocal hlsearch +autocmd FileType scheme setlocal shiftwidth=2 tabstop=2 expandtab +autocmd FileType vimwiki setlocal noswapfile vnoremap cc "+y nnoremap cc "+p -nnoremap <F5> :GundoToggle<CR> -nnoremap <F3> :TlistToggle<CR> nnoremap <C-left> gT nnoremap <C-right> gt @@ -67,6 +69,8 @@ let g:airline#extensions#tabline#right_alt_sep='' let g:airline#extensions#tabline#show_close_button=0 let g:vimwiki_list = [{'path': '~/note/'}] +let g:gitgutter_enabled = 0 +let g:gitgutter_highlight_lines = 1 -autocmd FileType scheme setlocal shiftwidth=2 tabstop=2 expandtab -autocmd FileType vimwiki setlocal noswapfile +nnoremap <F5> :GundoToggle<CR> +nnoremap <F6> :GitGutterToggle<CR> |