aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-11-07 00:08:23 +0100
committerJustin M. Keyes <justinkz@gmail.com>2016-11-08 21:21:46 +0100
commit3ccf69c1ded94c0c3cac50d21dc6d55e5f7a8a21 (patch)
tree4f043810be44d222e4926283436ef4a3f621a3c6 /src/nvim/ex_cmds.c
parentd0689eb0b2473de479396b77fb685954d65d994c (diff)
downloadrneovim-3ccf69c1ded94c0c3cac50d21dc6d55e5f7a8a21.tar.gz
rneovim-3ccf69c1ded94c0c3cac50d21dc6d55e5f7a8a21.tar.bz2
rneovim-3ccf69c1ded94c0c3cac50d21dc6d55e5f7a8a21.zip
'inccommand': set buffer name to [Preview]
[inc_sub] is less obvious for users. Also, in the future we may want to generalize the idea of a "preview buffer", or "incremental commands" besides :substitute.
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 6d4533f318..bf78be9f13 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -6049,7 +6049,7 @@ static buf_T *incsub_display(char_u *pat, char_u *sub,
}
if (split && win_split((int)p_cwh, WSP_BOT) != FAIL) {
- buf_open_special(incsub_buf ? bufnr : 0, "[inc_sub]", "incsub");
+ buf_open_special(incsub_buf ? bufnr : 0, "[Preview]", "incsub");
buf_clear();
incsub_buf = curbuf;
set_option_value((char_u *)"bh", 0L, (char_u *)"hide", OPT_LOCAL);