Mercurial > vim
diff runtime/doc/windows.txt @ 15006:1fd8e32532f7 v8.1.0514
patch 8.1.0514: CTRL-W ^ does not work when alternate buffer has no name
commit https://github.com/vim/vim/commit/1bbb61948342b5cf6e363629f145c65eb455c388
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 10 16:02:01 2018 +0100
patch 8.1.0514: CTRL-W ^ does not work when alternate buffer has no name
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Nov 2018 16:15:05 +0100 |
parents | 2b30a2b4bde2 |
children | dc766e1b0c95 |
line wrap: on
line diff
--- 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