From: Jonas Fonseca Date: Sun, 10 Sep 2006 21:13:35 +0000 (+0200) Subject: Fix default keybinding clash for 'n' between find-next and toggle-lineno X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=904e68d878402cde03164a9706d828a6bafa25ce;p=tig.git Fix default keybinding clash for 'n' between find-next and toggle-lineno The toggle-lineno is now bound to '.' by default. --- diff --git a/manual.txt b/manual.txt index 82e848e..3790749 100644 --- a/manual.txt +++ b/manual.txt @@ -296,7 +296,7 @@ z Stop all background loading. This can be useful if you use \ tig in a repository with a long history without limiting \ the revision log. v Show version. -n Toggle line numbers on/off. +'.' Toggle line numbers on/off. g Toggle revision graph visualization on/off. ':' Open prompt. This allows you to specify what git command \ to run. Example `:log -p` diff --git a/tig.c b/tig.c index bfa8ae8..e78c26c 100644 --- a/tig.c +++ b/tig.c @@ -714,7 +714,7 @@ static struct keybinding default_keybindings[] = { { 'z', REQ_STOP_LOADING }, { 'v', REQ_SHOW_VERSION }, { 'r', REQ_SCREEN_REDRAW }, - { 'n', REQ_TOGGLE_LINENO }, + { '.', REQ_TOGGLE_LINENO }, { 'g', REQ_TOGGLE_REV_GRAPH }, { ':', REQ_PROMPT },