diff --git a/Basic-use-cases.md b/Basic-use-cases.md index 0a2d704..e36330a 100644 --- a/Basic-use-cases.md +++ b/Basic-use-cases.md @@ -32,9 +32,11 @@ ## Add bookmarks -There are 2 ways (can be used together) to manage bookmarks: +There are 2 ways (can be used together) to manage bookmarks. -1. Set environment variable `NNN_BMS` as a string of `key_char:location` pairs separated by semicolons (`;`): +#### Environment variable `NNN_BMS` + +Set environment variable `NNN_BMS` as a string of `key_char:location` pairs separated by semicolons (`;`): ```sh export NNN_BMS="d:$HOME/Documents;u:/home/user/Cam Uploads;D:$HOME/Downloads/" @@ -42,11 +44,13 @@ 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 ?). -2. Create symlinks to bookmarked locations within the `bookmarks` directory in the `nnn` config directory. +#### `bookmarks` directory -Pressing Enter at the bookmarks prompt takes to this directory. If `NNN_BMS` is not set, it happens directly on bookmarks key press. +Create symlinks to bookmarked locations within the `bookmarks` directory in the `nnn` config directory. -To add a new bookmark on the fly, select the directory, go to the `bookmarks` directory and create a symlink by pressing n. +Enter at the bookmarks prompt takes to this directory. If `NNN_BMS` is not set, it happens directly on bookmarks key. + +To add a new bookmark on the fly, select the directory, go to `bookmarks` and create a symlink by pressing n. #### Mark directory