diff options
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 508ecb870..b993ef21a 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -1270,7 +1270,7 @@ EXCMD(CMD_rundo, "rundo", ex_rundo, EXCMD(CMD_rviminfo, "rviminfo", ex_viminfo, EX_BANG|EX_FILE1|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_NONE), -EXCMD(CMD_substitute, "substitute", do_sub, +EXCMD(CMD_substitute, "substitute", ex_substitute, EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_CMDWIN|EX_LOCK_OK, ADDR_LINES), EXCMD(CMD_sNext, "sNext", ex_previous, @@ -1788,7 +1788,7 @@ EXCMD(CMD_bang, "!", ex_bang, EXCMD(CMD_pound, "#", ex_print, EX_RANGE|EX_WHOLEFOLD|EX_COUNT|EX_FLAGS|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_LINES), -EXCMD(CMD_and, "&", do_sub, +EXCMD(CMD_and, "&", ex_substitute, EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_CMDWIN|EX_LOCK_OK|EX_MODIFY, ADDR_LINES), EXCMD(CMD_star, "*", ex_at, @@ -1806,7 +1806,7 @@ EXCMD(CMD_rshift, ">", ex_operators, EXCMD(CMD_at, "@", ex_at, EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_LINES), -EXCMD(CMD_tilde, "~", do_sub, +EXCMD(CMD_tilde, "~", ex_substitute, EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_CMDWIN|EX_LOCK_OK|EX_MODIFY, ADDR_LINES), |