From 001209a2fe25612f2fe076d2db3d3073f0a6e008 Mon Sep 17 00:00:00 2001 From: David Bürgin <676c7473@gmail.com> Date: Fri, 1 May 2015 14:27:37 +0200 Subject: 'cpoptions': Remove "*" flag #2554 The "*" flag in 'cpoptions' makes the command :* execute the contents of a register. Removed because 1. the same functionality exists as :@ 2. it hides :* as a useful command-line shortcut for :'<,'> 3. unlike :@ it cannot be used with the * register Helped-by: Michael Reed --- src/nvim/ex_cmds.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/nvim/ex_cmds.lua') diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index 5f60b8cb09..011b3ce611 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -3136,13 +3136,6 @@ return { addr_type=ADDR_LINES, func='do_sub', }, - { - command='*', - enum='CMD_star', - flags=bit.bor(RANGE, WHOLEFOLD, EXTRA, TRLBAR, CMDWIN), - addr_type=ADDR_LINES, - func='ex_at', - }, { command='<', enum='CMD_lshift', -- cgit