README.md | 10 ++++++---- nnn.1 | 8 +++----- src/nnn.c | 2 +- diff --git a/README.md b/README.md index 9bfab1735584cf255139d4959c488de9551add59..873ff629079aa6c960cdfc2392ed75338be57965 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ - File picker, (neo)vim plugin - Navigation - *Navigate-as-you-type* with dir auto-select - Contexts (_aka_ tabs/workspaces) with configurable colors - - Bookmarks; pin and visit a directory + - Sessions, bookmarks; pin and visit a dir - Familiar shortcuts (arrows, ~, -, @), quick reference - CD on quit (*easy* shell integration) - Sorting @@ -53,10 +53,10 @@ - Convenience - Lots of plugins with configurable keybinds - FreeDesktop compliant trash (needs trash-cli) - SSHFS mounts (needs sshfs) - - Cross-directory file selection, all/range selection + - Cross-dir file selection, all/range selection - Batch rename selection or dir entries - Copy (as), move (as), delete, archive, link selection - - Create, rename, duplicate files and directories + - Create, rename, duplicate files and dirs - Spawn a shell, run apps, run commands, execute file - Lock terminal (needs a locker) - Minimal deps, minimal config @@ -172,6 +172,7 @@ -a use access time -b key open bookmark key -c cli-only opener -d detail mode + -e name load session by name -f run filter as cmd on prompt key -H show hidden files -i nav-as-you-type mode @@ -221,8 +222,9 @@ ORDER TOGGLES A Apparent du S du s Size E Extn t Time MISC - ! ^] Shell = Launch C Execute entry + ! ^] Shell C Execute entry R ^V Pick plugin :K xK Execute plugin K + U Manage session = Launch c SSHFS mount u Unmount ^P Prompt/run cmd L Lock ``` diff --git a/nnn.1 b/nnn.1 index 1add6306bcadb560a3cbe378fd11dd621cb1d9ea..12414d0096a107806d9faff0b9da6cbae2bfd8e7 100644 --- a/nnn.1 +++ b/nnn.1 @@ -117,14 +117,12 @@ Sessions are a way to save and restore states of work. A session stores the settings and contexts. .Pp Sessions can be loaded dynamically from within a running .Nm -instance, or with a flag to -.Nm . +instance, or with a program option. .Pp -When a session is loaded dynamically, the last working session is saved automatically to a dedicated +When a session is loaded dynamically, the last working session is saved automatically to a dedicated -- "last session" -- session file. .Pp -All the session files are located in \fBnnn\fR's -configuration directory under the "sessions" directory and named after the session. +All the session files are located in the \fB${XDG_CONFIG_HOME:-$HOME/.config}/nnn/sessions\fR directory by the session name. "@" is the "last session" file. .Sh FILTERS Filters support regexes (default) to instantly (search-as-you-type) list the matching diff --git a/src/nnn.c b/src/nnn.c index 504797cb0a4396a460c5ee874a2a69345365d476..91343d94c8d89c9a2b778f7199996c06f5729212 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3206,7 +3206,7 @@ "cs Size E Extn t Time\n" "1MISC\n" "9! ^] Shell C Execute entry\n" "9R ^V Pick plugin :K xK Execute plugin K\n" - "cU Manage session = Launch\n" + "cU Manage session = Launch\n" "cc SSHFS mount u Unmount\n" "b^P Prompt/run cmd L Lock\n"};