diff options
author | David Bürgin <676c7473@gmail.com> | 2015-05-01 14:27:37 +0200 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-05-08 17:46:54 -0400 |
commit | 001209a2fe25612f2fe076d2db3d3073f0a6e008 (patch) | |
tree | 50a01a72ead9c3d184a2c430eb554c37abe5ad0d /src/nvim/option_defs.h | |
parent | 1721e115b4e02887f29a08265880741c9d8ffb3f (diff) | |
download | rneovim-001209a2fe25612f2fe076d2db3d3073f0a6e008.tar.gz rneovim-001209a2fe25612f2fe076d2db3d3073f0a6e008.tar.bz2 rneovim-001209a2fe25612f2fe076d2db3d3073f0a6e008.zip |
'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 <m.reed@mykolab.com>
Diffstat (limited to 'src/nvim/option_defs.h')
-rw-r--r-- | src/nvim/option_defs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/option_defs.h b/src/nvim/option_defs.h index 278b3f0872..daecfcdb8b 100644 --- a/src/nvim/option_defs.h +++ b/src/nvim/option_defs.h @@ -126,7 +126,6 @@ #define CPO_DOLLAR '$' #define CPO_FILTER '!' #define CPO_MATCH '%' -#define CPO_STAR '*' /* ":*" means ":@" */ #define CPO_PLUS '+' /* ":write file" resets 'modified' */ #define CPO_MINUS '-' /* "9-" fails at and before line 9 */ #define CPO_SPECI '<' /* don't recognize <> in mappings */ @@ -143,9 +142,9 @@ * cursor would not move */ /* default values for Vim, Vi and POSIX */ #define CPO_VIM "aABceFs" -#define CPO_VI "aAbBcCdDeEfFiIjJkKlLmMnoOpPqrRsStuvWxXyZ$!%*-+<>;" +#define CPO_VI "aAbBcCdDeEfFiIjJkKlLmMnoOpPqrRsStuvWxXyZ$!%-+<>;" #define CPO_ALL \ - "aAbBcCdDeEfFiIjJkKlLmMnoOpPqrRsStuvWxXyZ$!%*-+<>#{|&/\\.;" + "aAbBcCdDeEfFiIjJkKlLmMnoOpPqrRsStuvWxXyZ$!%-+<>#{|&/\\.;" /* characters for p_ww option: */ #define WW_ALL "bshl<>[],~" |