0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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)
This commit is contained in:
Bram Moolenaar
2018-11-10 16:02:01 +01:00
parent d0721058f4
commit 1bbb619483
6 changed files with 180 additions and 75 deletions

View File

@@ -5496,7 +5496,8 @@ nv_ctrlo(cmdarg_T *cap)
}
/*
* CTRL-^ command, short for ":e #"
* CTRL-^ command, short for ":e #". Works even when the alternate buffer is
* not named.
*/
static void
nv_hat(cmdarg_T *cap)