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)
diff --git a/src/normal.c b/src/normal.c
index 4c15700..a0683b2 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -5496,7 +5496,8 @@
}
/*
- * 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)