summaryrefslogtreecommitdiffstats
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-11-10 16:02:01 +0100
committerBram Moolenaar <Bram@vim.org>2018-11-10 16:02:01 +0100
commit1bbb61948342b5cf6e363629f145c65eb455c388 (patch)
tree30275df04234f6ba296d5b027bd3c9104ee1848c /runtime/doc
parentd0721058f494143186f66a60151c9634031a8c96 (diff)
patch 8.1.0514: CTRL-W ^ does not work when alternate buffer has no namev8.1.0514
Problem: CTRL-W ^ does not work when alternate buffer has no name. Solution: Use another method to split and edit the alternate buffer. (Jason Franklin)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/windows.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index 824efe7095..90a1789002 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -222,9 +222,11 @@ CTRL-W CTRL_N *CTRL-W_CTRL-N*
|:find|. Doesn't split if {file} is not found.
CTRL-W CTRL-^ *CTRL-W_CTRL-^* *CTRL-W_^*
-CTRL-W ^ Does ":split #", split window in two and edit alternate file.
- When a count is given, it becomes ":split #N", split window
- and edit buffer N.
+CTRL-W ^ Split the current window in two and edit the alternate file.
+ When a count N is given, split the current window and edit
+ buffer N. Similar to ":sp #" and ":sp #N", but it allows the
+ other buffer to be unnamed. This command matches the behavior
+ of |CTRL-^|, except that it splits a window first.
*CTRL-W_:*
CTRL-W : Does the same as typing |:| - enter a command line. Useful in a