GitGutter movement
This commit is contained in:
parent
b390eabcc3
commit
0cbb40d2c3
|
@ -2,6 +2,7 @@ syntax on
|
||||||
filetype indent on
|
filetype indent on
|
||||||
|
|
||||||
let base16colorspace=256
|
let base16colorspace=256
|
||||||
|
let mapleader="½"
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
set clipboard+=unnamedplus
|
set clipboard+=unnamedplus
|
||||||
|
@ -146,6 +147,10 @@ nnoremap <C-K> <C-W><C-K>
|
||||||
nnoremap <C-L> <C-W><C-L>
|
nnoremap <C-L> <C-W><C-L>
|
||||||
nnoremap <C-H> <C-W><C-H>
|
nnoremap <C-H> <C-W><C-H>
|
||||||
nnoremap <F9> :%!jq '.'<CR>
|
nnoremap <F9> :%!jq '.'<CR>
|
||||||
|
nmap <Leader>gn <Plug>(GitGutterNextHunk) " git next
|
||||||
|
nmap <Leader>gp <Plug>(GitGutterPrevHunk) " git previous
|
||||||
|
nmap <Leader>ga <Plug>(GitGutterStageHunk) " git add (chunk)
|
||||||
|
nmap <Leader>gu <Plug>(GitGutterUndoHunk) " git undo (chunk)
|
||||||
|
|
||||||
"AutoCommands
|
"AutoCommands
|
||||||
au BufWinEnter * set number
|
au BufWinEnter * set number
|
||||||
|
|
Loading…
Reference in New Issue