mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 13:26:37 +00:00
Replace ^J with + to (un)select
^J has been reported as out of place several times. As `+` is used as the seleciton marker, it makes more sense.
This commit is contained in:
parent
a555a7d122
commit
2c5cb4c5aa
|
@ -5040,7 +5040,7 @@ static void show_help(const char *path)
|
|||
"b^R Rename/dup%-14cr Batch rename\n"
|
||||
"cz Archive%-17ce Edit file\n"
|
||||
"c* Toggle exe%-14c> Export list\n"
|
||||
"5Space ^J (Un)select%-12cm-m Select range/clear\n"
|
||||
"6Space + (Un)select%-12cm-m Select range/clear\n"
|
||||
"ca Select all%-14cA Invert sel\n"
|
||||
"9p ^P Copy here%-12cw ^W Cp/mv sel as\n"
|
||||
"9v ^V Move here%-15cE Edit sel list\n"
|
||||
|
|
|
@ -212,8 +212,8 @@ static struct key bindings[] = {
|
|||
/* Redraw window */
|
||||
{ CONTROL('L'), SEL_REDRAW },
|
||||
/* Select current file path */
|
||||
{ CONTROL('J'), SEL_SEL },
|
||||
{ ' ', SEL_SEL },
|
||||
{ '+', SEL_SEL },
|
||||
/* Toggle select multiple files */
|
||||
{ 'm', SEL_SELMUL },
|
||||
/* Select all files in current dir */
|
||||
|
|
Loading…
Reference in a new issue