mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Update docs on session
This commit is contained in:
parent
60dac94a5e
commit
3aebeaec58
10
README.md
10
README.md
|
@ -31,7 +31,7 @@ Add to that an awesome [Wiki](https://github.com/jarun/nnn/wiki)!
|
||||||
- Navigation
|
- Navigation
|
||||||
- *Navigate-as-you-type* with dir auto-select
|
- *Navigate-as-you-type* with dir auto-select
|
||||||
- Contexts (_aka_ tabs/workspaces) with configurable colors
|
- Contexts (_aka_ tabs/workspaces) with configurable colors
|
||||||
- Bookmarks; pin and visit a directory
|
- Sessions, bookmarks; pin and visit a dir
|
||||||
- Familiar shortcuts (arrows, <kbd>~</kbd>, <kbd>-</kbd>, <kbd>@</kbd>), quick reference
|
- Familiar shortcuts (arrows, <kbd>~</kbd>, <kbd>-</kbd>, <kbd>@</kbd>), quick reference
|
||||||
- CD on quit (*easy* shell integration)
|
- CD on quit (*easy* shell integration)
|
||||||
- Sorting
|
- Sorting
|
||||||
|
@ -53,10 +53,10 @@ Add to that an awesome [Wiki](https://github.com/jarun/nnn/wiki)!
|
||||||
- Lots of plugins with configurable keybinds
|
- Lots of plugins with configurable keybinds
|
||||||
- FreeDesktop compliant trash (needs trash-cli)
|
- FreeDesktop compliant trash (needs trash-cli)
|
||||||
- SSHFS mounts (needs sshfs)
|
- SSHFS mounts (needs sshfs)
|
||||||
- Cross-directory file selection, all/range selection
|
- Cross-dir file selection, all/range selection
|
||||||
- Batch rename selection or dir entries
|
- Batch rename selection or dir entries
|
||||||
- Copy (as), move (as), delete, archive, link selection
|
- 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
|
- Spawn a shell, run apps, run commands, execute file
|
||||||
- Lock terminal (needs a locker)
|
- Lock terminal (needs a locker)
|
||||||
- Minimal deps, minimal config
|
- Minimal deps, minimal config
|
||||||
|
@ -172,6 +172,7 @@ optional args:
|
||||||
-b key open bookmark key
|
-b key open bookmark key
|
||||||
-c cli-only opener
|
-c cli-only opener
|
||||||
-d detail mode
|
-d detail mode
|
||||||
|
-e name load session by name
|
||||||
-f run filter as cmd on prompt key
|
-f run filter as cmd on prompt key
|
||||||
-H show hidden files
|
-H show hidden files
|
||||||
-i nav-as-you-type mode
|
-i nav-as-you-type mode
|
||||||
|
@ -221,8 +222,9 @@ The list below is from the **dev branch**. Press <kbd>?</kbd> in `nnn` to see th
|
||||||
A Apparent du S du
|
A Apparent du S du
|
||||||
s Size E Extn t Time
|
s Size E Extn t Time
|
||||||
MISC
|
MISC
|
||||||
! ^] Shell = Launch C Execute entry
|
! ^] Shell C Execute entry
|
||||||
R ^V Pick plugin :K xK Execute plugin K
|
R ^V Pick plugin :K xK Execute plugin K
|
||||||
|
U Manage session = Launch
|
||||||
c SSHFS mount u Unmount
|
c SSHFS mount u Unmount
|
||||||
^P Prompt/run cmd L Lock
|
^P Prompt/run cmd L Lock
|
||||||
```
|
```
|
||||||
|
|
6
nnn.1
6
nnn.1
|
@ -117,14 +117,12 @@ Sessions are a way to save and restore states of work. A session stores the sett
|
||||||
.Pp
|
.Pp
|
||||||
Sessions can be loaded dynamically from within a running
|
Sessions can be loaded dynamically from within a running
|
||||||
.Nm
|
.Nm
|
||||||
instance, or with a flag to
|
instance, or with a program option.
|
||||||
.Nm .
|
|
||||||
.Pp
|
.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.
|
-- "last session" -- session file.
|
||||||
.Pp
|
.Pp
|
||||||
All the session files are located in \fBnnn\fR's
|
All the session files are located in the \fB${XDG_CONFIG_HOME:-$HOME/.config}/nnn/sessions\fR directory by the session name.
|
||||||
configuration directory under the "sessions" directory and named after the session.
|
|
||||||
"@" is the "last session" file.
|
"@" is the "last session" file.
|
||||||
.Sh FILTERS
|
.Sh FILTERS
|
||||||
Filters support regexes (default) to instantly (search-as-you-type) list the matching
|
Filters support regexes (default) to instantly (search-as-you-type) list the matching
|
||||||
|
|
|
@ -3206,7 +3206,7 @@ static void show_help(const char *path)
|
||||||
"1MISC\n"
|
"1MISC\n"
|
||||||
"9! ^] Shell C Execute entry\n"
|
"9! ^] Shell C Execute entry\n"
|
||||||
"9R ^V Pick plugin :K xK Execute plugin K\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"
|
"cc SSHFS mount u Unmount\n"
|
||||||
"b^P Prompt/run cmd L Lock\n"};
|
"b^P Prompt/run cmd L Lock\n"};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue