Updated Basic use cases (markdown)

Arun 2022-05-28 23:06:44 +05:30
parent b56cd6399e
commit 1b6fbc38b0

@ -44,15 +44,15 @@ export NNN_BMS="d:$HOME/Documents;u:/home/user/Cam Uploads;D:$HOME/Downloads/"
The bookmarks are listed in the help and config screen (key <kbd>?</kbd>).
The select bookmark key <kbd>b</kbd> lists all the bookmark keys set in `NNN_BMS` in the bookmarks prompt.
#### Symlinked bookmarks
A symlinked bookmark to the current directory can be created with the <kbd>B</kbd> key.
A symlinked bookmark to the current directory can be created with the <kbd>B</kbd> key (or manually under `~/.config/nnn/bookmarks`).
Add prefix `n_` to the name to open the target of the symlink. Press <kbd>-</kbd> to return to the original directory.
Pressing <kbd>Enter</kbd> at the bookmarks prompt takes to this directory. If `NNN_BMS` is not set, the select bookmark key directly opens it.
Symlinks can also be created manually under the "bookmarks" directory in the nnn config directory (`~/.config/nnn/bookmarks`).
Pressing <kbd>Enter</kbd> at the bookmarks prompt takes to this directory. If `NNN_BMS` is not set, it happens directly on select bookmark key.
Press <kbd>-</kbd> to return to the original directory right after entering a symlinked bookmark.
#### Mark directory