From 2185073d1c85b61b3d5357488dfc27f65c1120f9 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 26 Mar 2013 18:51:49 +0100 Subject: [PATCH] fix mixed up mappings for jumping (]c and c[) Closes #13. --- README.md | 2 +- doc/signify.txt | 4 ++-- plugin/signify.vim | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a9e9040..05ea3ac 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ let g:signify_mapping_prev_hunk = 'gk' Note: In case you don't know about the mapleader, have a look at `:h mapleader`. 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 diff --git a/doc/signify.txt b/doc/signify.txt index 57f9c3f..0de9625 100644 --- a/doc/signify.txt +++ b/doc/signify.txt @@ -209,7 +209,7 @@ Default mapping: gh Jump to the next hunk. There are two mappings available: -Hardcoded mapping: [c +Hardcoded mapping: ]c Configurable mapping: gj @@ -217,7 +217,7 @@ Configurable mapping: gj Jump to the previous hunk. There are two mappings available: -Hardcoded mapping: ]c +Hardcoded mapping: [c Configurable mapping: gk diff --git a/plugin/signify.vim b/plugin/signify.vim index 7b9a737..1382142 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -46,8 +46,8 @@ let s:id_top = s:id_start " Default mappings {{{1 if !maparg('[c', 'n') - nnoremap [c :execute v:count .'SignifyJumpToNextHunk' - nnoremap ]c :execute v:count .'SignifyJumpToPrevHunk' + nnoremap ]c :execute v:count .'SignifyJumpToNextHunk' + nnoremap [c :execute v:count .'SignifyJumpToPrevHunk' endif if exists('g:signify_mapping_next_hunk')