GitGutter movement
This commit is contained in:
parent
b390eabcc3
commit
0cbb40d2c3
|
@ -2,6 +2,7 @@ syntax on
|
|||
filetype indent on
|
||||
|
||||
let base16colorspace=256
|
||||
let mapleader="½"
|
||||
set encoding=utf-8
|
||||
set clipboard=unnamed
|
||||
set clipboard+=unnamedplus
|
||||
|
@ -146,6 +147,10 @@ nnoremap <C-K> <C-W><C-K>
|
|||
nnoremap <C-L> <C-W><C-L>
|
||||
nnoremap <C-H> <C-W><C-H>
|
||||
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
|
||||
au BufWinEnter * set number
|
||||
|
|
Loading…
Reference in New Issue