parent
11270fe702
commit
2185073d1c
@ -100,7 +100,7 @@ let g:signify_mapping_prev_hunk = '<leader>gk'
|
|||||||
Note: In case you don't know about the mapleader, have a look at `:h mapleader`.
|
Note: In case you don't know about the mapleader, have a look at `:h mapleader`.
|
||||||
The default is the '\' button.
|
The default is the '\' button.
|
||||||
|
|
||||||
Following Vim conventions you can also use __[c__ and __]c__.
|
Following Vim conventions you can also use __]c__ and __[c__.
|
||||||
|
|
||||||
#### apart from signs there is also optional line highlighting
|
#### apart from signs there is also optional line highlighting
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ Default mapping: <leader>gh
|
|||||||
|
|
||||||
Jump to the next hunk. There are two mappings available:
|
Jump to the next hunk. There are two mappings available:
|
||||||
|
|
||||||
Hardcoded mapping: [c
|
Hardcoded mapping: ]c
|
||||||
Configurable mapping: <leader>gj
|
Configurable mapping: <leader>gj
|
||||||
|
|
||||||
|
|
||||||
@ -217,7 +217,7 @@ Configurable mapping: <leader>gj
|
|||||||
|
|
||||||
Jump to the previous hunk. There are two mappings available:
|
Jump to the previous hunk. There are two mappings available:
|
||||||
|
|
||||||
Hardcoded mapping: ]c
|
Hardcoded mapping: [c
|
||||||
Configurable mapping: <leader>gk
|
Configurable mapping: <leader>gk
|
||||||
|
|
||||||
|
|
||||||
|
@ -46,8 +46,8 @@ let s:id_top = s:id_start
|
|||||||
|
|
||||||
" Default mappings {{{1
|
" Default mappings {{{1
|
||||||
if !maparg('[c', 'n')
|
if !maparg('[c', 'n')
|
||||||
nnoremap <silent> [c :<c-u>execute v:count .'SignifyJumpToNextHunk'<cr>
|
nnoremap <silent> ]c :<c-u>execute v:count .'SignifyJumpToNextHunk'<cr>
|
||||||
nnoremap <silent> ]c :<c-u>execute v:count .'SignifyJumpToPrevHunk'<cr>
|
nnoremap <silent> [c :<c-u>execute v:count .'SignifyJumpToPrevHunk'<cr>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if exists('g:signify_mapping_next_hunk')
|
if exists('g:signify_mapping_next_hunk')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user