diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-24 22:53:20 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-10-01 22:27:43 -0400 |
commit | 17e96d96bac4ea9074a337b263fe85d4755106b6 (patch) | |
tree | aa24ce3db7cfc79e7af4e80c68bed44a0fd491bf /runtime | |
parent | 8d0bc3c18964db51fec4b204a122e946393f2d6d (diff) | |
download | rneovim-17e96d96bac4ea9074a337b263fe85d4755106b6.tar.gz rneovim-17e96d96bac4ea9074a337b263fe85d4755106b6.tar.bz2 rneovim-17e96d96bac4ea9074a337b263fe85d4755106b6.zip |
vim-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)
https://github.com/vim/vim/commit/1bbb61948342b5cf6e363629f145c65eb455c388
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/windows.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 76bb096ee3..977e0daef7 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -201,9 +201,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 ge *CTRL-W_ge* Detach the current window as an external window. |