comparison src/normal.c @ 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 27b9a84395b5
children 3a94f7918980
comparison
equal deleted inserted replaced
15005:fcb21faded89 15006:1fd8e32532f7
5494 nv_pcmark(cap); 5494 nv_pcmark(cap);
5495 } 5495 }
5496 } 5496 }
5497 5497
5498 /* 5498 /*
5499 * CTRL-^ command, short for ":e #" 5499 * CTRL-^ command, short for ":e #". Works even when the alternate buffer is
5500 * not named.
5500 */ 5501 */
5501 static void 5502 static void
5502 nv_hat(cmdarg_T *cap) 5503 nv_hat(cmdarg_T *cap)
5503 { 5504 {
5504 if (!checkclearopq(cap->oap)) 5505 if (!checkclearopq(cap->oap))