mirror of
https://github.com/jarun/nnn.git
synced 2024-11-26 09:52:12 +03:00
Updated Troubleshooting (markdown)
parent
fa8fa99fbc
commit
7fb025cf4c
@ -36,11 +36,14 @@ If the <kbd>Esc</kbd> key isn't working as expected, add the following in `.tmux
|
||||
|
||||
To start `nnn` within tmux use a shell function:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
n ()
|
||||
{
|
||||
# use option -a for previews
|
||||
if [ -n "$TMUX" ]; then
|
||||
nnn -a $@
|
||||
else
|
||||
tmux new-session nnn -a $@
|
||||
fi
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user