diff options
| author | Barrett Ruth <62671086+barrettruth@users.noreply.github.com> | 2026-09-12 09:01:41 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-11 19:01:41 -0400 |
| commit | 4ceb92cd76d0234dd7b3ad775d94de46be108b21 (patch) | |
| tree | 818070b4e893bc5fc29450249cda575cdbb99323 /runtime/doc | |
| parent | 361191790a3c55bc2079ab85ee92acc99eae44df (diff) | |
| download | rneovim-4ceb92cd76d0234dd7b3ad775d94de46be108b21.tar.gz rneovim-4ceb92cd76d0234dd7b3ad775d94de46be108b21.tar.bz2 rneovim-4ceb92cd76d0234dd7b3ad775d94de46be108b21.zip | |
feat(dir): open entries in splits with a, o mappings #41834
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/plugins.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/runtime/doc/plugins.txt b/runtime/doc/plugins.txt index 9f10625251..5a68e732a6 100644 --- a/runtime/doc/plugins.txt +++ b/runtime/doc/plugins.txt @@ -70,13 +70,19 @@ GLOBAL MAPPINGS *dir-mappings* BUFFER-LOCAL MAPPINGS *dir-buffer-mappings* • <CR> opens the file or directory under the cursor. +• a opens the file or directory under the cursor in a vertical split. +• o opens the file or directory under the cursor in a horizontal split. • - opens the parent directory. • R reloads the directory listing. -These keys map to <Plug>(nvim-dir-open), <Plug>(nvim-dir-up), and -<Plug>(nvim-dir-reload); map those to use different keys. Default mappings are -skipped when the target <Plug> mapping is already mapped. The default global and -directory-buffer "-" mappings are also skipped when "-" is already mapped. +a and o are available for local directories and keep focus in the listing. +'splitright' and 'splitbelow' control where the new window appears. + +These keys map to <Plug>(nvim-dir-open), <Plug>(nvim-dir-vsplit), +<Plug>(nvim-dir-split), <Plug>(nvim-dir-up), and <Plug>(nvim-dir-reload); map those +to use different keys. Default mappings are skipped when the target <Plug> +mapping is already mapped. The default "-", "a", and "o" mappings are also +skipped when their keys are already mapped. *dir-config* Directory buffers follow the global 'hidden' option by default. To delete them |