From 4ceb92cd76d0234dd7b3ad775d94de46be108b21 Mon Sep 17 00:00:00 2001 From: Barrett Ruth <62671086+barrettruth@users.noreply.github.com> Date: Sat, 12 Sep 2026 09:01:41 +1000 Subject: feat(dir): open entries in splits with a, o mappings #41834 --- runtime/doc/plugins.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'runtime/doc/plugins.txt') 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* • 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 (nvim-dir-open), (nvim-dir-up), and -(nvim-dir-reload); map those to use different keys. Default mappings are -skipped when the target 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 (nvim-dir-open), (nvim-dir-vsplit), +(nvim-dir-split), (nvim-dir-up), and (nvim-dir-reload); map those +to use different keys. Default mappings are skipped when the target +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 -- cgit