From 904e68d878402cde03164a9706d828a6bafa25ce Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 10 Sep 2006 23:13:35 +0200 Subject: [PATCH] Fix default keybinding clash for 'n' between find-next and toggle-lineno The toggle-lineno is now bound to '.' by default. --- manual.txt | 2 +- tig.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }, -- 2.11.0