mirror of
https://github.com/jarun/nnn.git
synced 2024-11-26 09:52:12 +03:00
Updated Basic use cases (markdown)
parent
356f6e2870
commit
dc7d13b8c5
@ -110,7 +110,7 @@ Set `$VISUAL` (or `$EDITOR` if you don't have `$VISUAL`) to `ewrap`:
|
||||
|
||||
Start `nnn` with the program option `-e`. If you are using `nuke` as opener modify it to use `ewrap` for text files.
|
||||
|
||||
**IMPORTANT:** Use the program option `-E` with detached editing enabled. `nnn` internal operations which need to wait for the editor (like batch rename, copy/move as) wouldn't work as usual because the control returns to `nnn` after the terminal emulator is spawned. To avoid this, set `$VISUAL` as above and `$EDITOR` to a CLI editor (like `vim`). The program option forces `$EDITOR` to be used for internal operations (overriding `$VISUAL` which takes precedence otherwise).
|
||||
**IMPORTANT:** Use the program option `-E` with detached text editing enabled. `nnn` internal operations which need to wait for the editor (like batch rename, copy/move as) wouldn't work as usual because the control returns to `nnn` after the terminal emulator is spawned. To avoid this, set `$VISUAL` as above and `$EDITOR` to a CLI editor (like `vim`). The program option forces `$EDITOR` to be used for internal operations (overriding `$VISUAL` which takes precedence otherwise).
|
||||
|
||||
**Note:** If you are using a tiling window manager, the new terminal window with the editor would open beside your current window. In case of traditional window managers, the new window will be placed as per the window manager's placement configuration e.g. smart or centered on XFCE4.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user