]> Sergey Matveev's repositories - nnn.git/commitdiff
Key ' for range selection
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 13 Jan 2020 15:55:34 +0000 (21:25 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 13 Jan 2020 15:55:34 +0000 (21:25 +0530)
README.md
src/nnn.c
src/nnn.h

index e518ecde226177dbd3e0276ece0e58f55efef54e..29adf859c363469b3dc12d1aa977f5072c601a9a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -87,7 +87,7 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
 3. Optionally open all text files in `$VISUAL` (else `$EDITOR`, fallback vi): `export NNN_USE_EDITOR=1`.
 4. For additional functionality [install plugins](https://github.com/jarun/nnn/tree/master/plugins#installing-plugins).
 5. To copy selected file paths to system clipboard and show notis on cp, mv, rm completion use option `-x`.
-6. For a strictly CLI-only experience, see plugin `nuke`. It's a sample opener you can customize.
+6. For a strictly CLI environment, see plugin `nuke`. It's a sample opener you can customize.
 
 Don't memorize! Arrows (or <kbd>h</kbd> <kbd>j</kbd> <kbd>k</kbd> <kbd>l</kbd>), <kbd>/</kbd>, <kbd>q</kbd> suffice. <kbd>Tab</kbd> creates, cycles contexts. <kbd>?</kbd> lists shortcuts.
 
index fb8a6d59c1eae6a45185f4138ce6f9992ff9f102..1b087f60ed36807507089cfbd5988cc2df428aaa 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3607,7 +3607,7 @@ static void show_help(const char *path)
                 "b^R  Rename/dup%-14cr  Batch rename\n"
                  "cz  Archive entry%-11c*  Toggle exe\n"
                  "ce  Edit in EDITOR%-10cp  Open in PAGER\n"
-          "5Space ^J  (Un)select%-11cm ^K  Select range, clear\n"
+          "5Space ^J  (Un)select%-11c' ^K  Select range, clear\n"
                  "cP  Copy sel here%-11ca  Select all\n"
                  "cV  Move sel here%-10c^V  Copy/move sel as\n"
                  "cX  Delete sel%-13c^X  Delete entry\n"
index f1cb5500b961835cd46372f73044f735b3f20ad7..10bf9cf940edf2c64a568fedc8c7c546d3e10ae0 100644 (file)
--- a/src/nnn.h
+++ b/src/nnn.h
@@ -185,7 +185,7 @@ static struct key bindings[] = {
        { CONTROL('J'),   SEL_SEL },
        { ' ',            SEL_SEL },
        /* Toggle select multiple files */
-       { 'm',            SEL_SELMUL },
+       { '\'',           SEL_SELMUL },
        { CONTROL('K'),   SEL_SELMUL },
        /* Select all files in current dir */
        { 'a',            SEL_SELALL },