mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Fix broken links, update docs
This commit is contained in:
parent
505bf0574e
commit
6ea75cfd8d
19
README.md
19
README.md
|
@ -178,8 +178,8 @@ To cook yourself, download the [latest stable release](https://github.com/jarun/
|
||||||
|
|
||||||
`PREFIX` is supported, in case you want to install to a different location.
|
`PREFIX` is supported, in case you want to install to a different location.
|
||||||
|
|
||||||
- Compilation notes on [Raspberry Pi](https://github.com/jarun/nnn/wiki/Compile-for-Pi)
|
- Compilation notes on [Raspberry Pi](https://github.com/jarun/nnn/wiki/Developer-guides#compile-for-pi)
|
||||||
- Instructions for [Cygwin](https://github.com/jarun/nnn/wiki/Compile-on-Cygwin)
|
- Instructions for [Cygwin](https://github.com/jarun/nnn/wiki/Developer-guides#compile-on-cygwin)
|
||||||
|
|
||||||
#### Shell completion
|
#### Shell completion
|
||||||
|
|
||||||
|
@ -308,26 +308,21 @@ To lookup keyboard shortcuts at runtime, press <kbd>?</kbd>.
|
||||||
|
|
||||||
Contexts serve the purpose of exploring multiple directories simultaneously. 4 contexts are available. The status of the contexts are shown in the top left corner:
|
Contexts serve the purpose of exploring multiple directories simultaneously. 4 contexts are available. The status of the contexts are shown in the top left corner:
|
||||||
|
|
||||||
- the current context is in reverse
|
- the current context is in reverse video
|
||||||
- other active contexts are underlined
|
- other active contexts are underlined
|
||||||
- rest are inactive
|
- rest are inactive
|
||||||
|
|
||||||
To switch to a context press the Leader key followed by the context number (1-4).
|
On context creation, the state of the previous context is copied. Each context remembers its last visited directory.
|
||||||
|
|
||||||
The first time a context is entered, it copies the state of the last visited context. Each context remembers its last visited directory.
|
|
||||||
|
|
||||||
When a context is quit, the next active context is selected. If the last active context is quit, the program quits.
|
|
||||||
|
|
||||||
##### Context-specific color
|
##### Context-specific color
|
||||||
|
|
||||||
Each context can have its own directory color specified:
|
Each context can have its own directory color specified in `NNN_CONTEXT_COLORS`.
|
||||||
|
|
||||||
export NNN_CONTEXT_COLORS='1234'
|
|
||||||
colors: 0-black, 1-red, 2-green, 3-yellow, 4-blue (default), 5-magenta, 6-cyan, 7-white
|
colors: 0-black, 1-red, 2-green, 3-yellow, 4-blue (default), 5-magenta, 6-cyan, 7-white
|
||||||
|
|
||||||
##### Dual pane
|
##### Dual pane
|
||||||
|
|
||||||
Any number of `nnn` instances can be opened simultaneously using the lightweight terminal multiplexter [`dvtm`](http://www.brain-dump.org/projects/dvtm/). For example, to open 2 instances or a dual pane mode, have the following alias:
|
Any number of `nnn` instances can be opened simultaneously using a terminal multiplexter. For example, to open 2 instances or a dual pane mode in `dvtm`, have the following alias:
|
||||||
|
|
||||||
alias n2="dvtm -m '^h' nnn nnn"
|
alias n2="dvtm -m '^h' nnn nnn"
|
||||||
|
|
||||||
|
@ -344,7 +339,7 @@ To select multiple files:
|
||||||
- navigate to another file in the same directory to select a range of files
|
- navigate to another file in the same directory to select a range of files
|
||||||
- press <kbd>^Y</kbd> again to save the selection and exit selection mode.
|
- press <kbd>^Y</kbd> again to save the selection and exit selection mode.
|
||||||
|
|
||||||
_NOTE:_ If you are on BSD/macOS, please check the [BSD terminal issue](https://github.com/jarun/nnn#bsd-terminal-issue) with <kbd>^Y</kbd> for workaround.
|
_NOTE:_ If you are on BSD/macOS, please check the [BSD terminal issue](https://github.com/jarun/nnn/wiki/Troubleshooting#bsd-terminal-issue) with <kbd>^Y</kbd> for workaround.
|
||||||
|
|
||||||
Selected files are visually indicated by a `+` before the entries.
|
Selected files are visually indicated by a `+` before the entries.
|
||||||
|
|
||||||
|
|
8
nnn.1
8
nnn.1
|
@ -88,17 +88,13 @@ few easy steps. Look up NNN_TMPFILE in the ENVIRONMENT section below.
|
||||||
Contexts serve the purpose of exploring multiple directories simultaneously. 4 contexts
|
Contexts serve the purpose of exploring multiple directories simultaneously. 4 contexts
|
||||||
are available. The status of the contexts are shown in the top left corner:
|
are available. The status of the contexts are shown in the top left corner:
|
||||||
.Pp
|
.Pp
|
||||||
- the current context is in reverse
|
- the current context is in reverse video
|
||||||
.br
|
.br
|
||||||
- other active contexts are underlined
|
- other active contexts are underlined
|
||||||
.br
|
.br
|
||||||
- rest are inactive
|
- rest are inactive
|
||||||
.Pp
|
.Pp
|
||||||
To switch to a context press the Leader key followed by the context number (1-4).
|
On context creation, the state of the previous context is copied. Each context remembers its last visited directory.
|
||||||
.Pp
|
|
||||||
The first time a context is entered, it copies the state of the last visited context. Each context remembers its last visited directory.
|
|
||||||
.Pp
|
|
||||||
When a context is quit, the next active context is selected. If the last active context is quit, the program quits.
|
|
||||||
.Pp
|
.Pp
|
||||||
Each context can have its own directory color specified. See ENVIRONMENT section below.
|
Each context can have its own directory color specified. See ENVIRONMENT section below.
|
||||||
.Sh FILTERS
|
.Sh FILTERS
|
||||||
|
|
Loading…
Reference in a new issue