diff options
Diffstat (limited to 'runtime/doc/plugins.txt')
| -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 |