README.md | 16 ++++++++-------- diff --git a/README.md b/README.md index 77adae76e3ff295500f4af110de781c191d3e155..047a63a4902ae88c43a7eec159bff0a6cfd277e5 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ - [Configuration](#configuration) - [Cmdline options](#cmdline-options) - [Keyboard and mouse](#keyboard-and-mouse) - [Leader key](#leader-key) + - [Help](#help) - [Concepts](#concepts) - [Contexts](#contexts) - [Context-specific color](#context-specific-color) @@ -49,7 +50,6 @@ - [Filters](#filters) - [Navigate-as-you-type](#navigate-as-you-type) - [File indicators](#file-indicators) - [Hot-plugged drives](#hot-plugged-drives) - - [Help](#help) - [Troubleshooting](#troubleshooting) - [Tmux configuration](#tmux-configuration) - [BSD terminal issue](#bsd-terminal-issue) @@ -316,6 +316,12 @@ | q | Quit context | When the filter is on, / works as an additional Leader key. +#### Help + + $ nnn -h + $ man nnn +To lookup keyboard shortcuts at runtime, press ?. + ## Concepts #### Contexts @@ -413,12 +419,6 @@ External storage devices can be (un)mounted using the plugin [nmount](https://github.com/jarun/nnn/blob/master/plugins/nmount). For auto-mounting external storage drives use udev rules or udisks wrappers. -#### Help - - $ nnn -h - $ man nnn -To lookup keyboard shortcuts at runtime, press ?. - ## Troubleshooting ##### Tmux configuration @@ -429,7 +429,7 @@ ##### BSD terminal issue TLDR: Use the keybind K to toggle selection if you are having issues with ^Y. -By default in OpenBSD & FreeBSD (and probably on macOS as well), `stty` maps ^Y to `DSUSP`. This means that typing ^Y will suspend `nnn` as if you typed ^Z (you can bring `nnn` back to the foreground by issuing `fg`) instead of entering multi-selection mode. You can check this with `stty -a`. If it includes the text `dsusp = ^Y`, issuing `stty dsusp undef` will disable this `DSUSP` and let `nnn` receive the ^Y instead. +On OpenBSD & FreeBSD (and probably on macOS as well) `stty` maps ^Y to `DSUSP` by default. This means that typing ^Y will suspend `nnn` as if you typed ^Z (you can bring `nnn` back to the foreground by issuing `fg`) instead of entering multi-selection mode. You can check this with `stty -a`. If it includes the text `dsusp = ^Y`, issuing `stty dsusp undef` will disable this `DSUSP` and let `nnn` receive the ^Y instead. ##### 100% CPU usage