Skip to content

Commit 19a2683

Browse files
committed
docs: update netrw style commands in README
1 parent 7e76e9f commit 19a2683

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,14 +261,25 @@ working directory, you will be prompted to change the cwd.
261261
#### Show
262262

263263
```
264-
:NeoTreeShow
264+
:NeoTreeShowInSplit
265265
```
266266
```
267-
:NeoTreeShowToggle
267+
:NeoTreeShowInSplitToggle
268268
```
269269
This will show the tree within the current window. If you have used the tree
270270
within this window previously, you will resume that session.
271271

272+
### Netrw Hijack
273+
274+
```
275+
:edit .
276+
:[v]split .
277+
```
278+
279+
If `"filesystem.window.position"` is set to `"split"`, or if you have specified
280+
`filesystem.netrw_hijack_behavior = "open_split"`, then any command
281+
that would open a directory will open neo-tree in the specified window.
282+
272283

273284
## Sources
274285

0 commit comments

Comments
 (0)