fix mixed up mappings for jumping (]c and c[)

Closes #13.
This commit is contained in:
Marco Hinz 2013-03-26 18:51:49 +01:00
parent 11270fe702
commit 2185073d1c
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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')