From 341628755329d2dfd637751a982ac3dc0466c8be Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 13 Jan 2020 02:45:47 +0530 Subject: [PATCH] Key f for first file --- src/nnn.c | 2 +- src/nnn.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index f9c995cd..c0c23b8c 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3588,7 +3588,7 @@ static void show_help(const char *path) "9Up k Up%-16cPgUp ^U Scroll up\n" "9Dn j Down%-14cPgDn ^D Scroll down\n" "9Lt h Parent%-12c~ ` @ - HOME, /, start, last\n" - "5Ret Rt l Open%-20c' First file\n" + "5Ret Rt l Open%-20cf First file\n" "9g ^A Top%-21c. Toggle hidden\n" "9G ^E End%-21cL Lock terminal\n" "9b ^/ Bookmark key%-12c, Pin CWD\n" diff --git a/src/nnn.h b/src/nnn.h index db94f36b..7d150ed8 100644 --- a/src/nnn.h +++ b/src/nnn.h @@ -146,7 +146,7 @@ static struct key bindings[] = { { 'G', SEL_END }, { CONTROL('E'), SEL_END }, /* Go to first file */ - { '\'', SEL_FIRST }, + { 'f', SEL_FIRST }, /* HOME */ { '~', SEL_CDHOME }, /* Initial directory */