annotate src/nv_cmds.h @ 33178:1e649fd371cd v9.0.1869

patch 9.0.1869: Coverity warns about unitialized var Commit: https://github.com/vim/vim/commit/86eda0780590ea8cac49e2aa3bd50245329d3579 Author: Ernie Rael <errael@raelity.com> Date: Tue Sep 5 07:33:48 2023 +0200 patch 9.0.1869: Coverity warns about unitialized var Problem: Coverity warns about unitialized var Solution: initialize it closes: #13029 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
author Christian Brabandt <cb@256bit.org>
date Tue, 05 Sep 2023 07:45:04 +0200
parents 50555279168b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27484
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* vi:set ts=8 sts=4 sw=4 noet:
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 *
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar et al.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 *
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 * See README.txt for an overview of the Vim source code.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 */
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 /*
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 * This file defines the Normal mode commands.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 */
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 /*
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 * When adding a Normal/Visual mode command:
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 * 1. Add an entry in the table `nv_cmds[]` below.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 * 2. Run "make nvcmdidxs" to re-generate nv_cmdidxs.h.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 * 3. Add an entry in the index for Normal/Visual commands at
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 * ":help normal-index" and ":help visual-index" .
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 * 4. Add documentation in ../doc/xxx.txt. Add a tag for both the short and
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 * long name of the command.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 */
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 #ifdef DO_DECLARE_NVCMD
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 /*
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 * Used when building Vim.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 */
31804
50555279168b patch 9.0.1234: the code style has to be checked manually
Bram Moolenaar <Bram@vim.org>
parents: 27484
diff changeset
28 # define NVCMD(a, b, c, d) \
50555279168b patch 9.0.1234: the code style has to be checked manually
Bram Moolenaar <Bram@vim.org>
parents: 27484
diff changeset
29 {a, b, c, d}
27484
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31 #ifdef FEAT_GUI
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 #define NV_VER_SCROLLBAR nv_ver_scrollbar
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 #define NV_HOR_SCROLLBAR nv_hor_scrollbar
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34 #else
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 #define NV_VER_SCROLLBAR nv_error
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36 #define NV_HOR_SCROLLBAR nv_error
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37 #endif
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39 #ifdef FEAT_GUI_TABLINE
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
40 #define NV_TABLINE nv_tabline
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 #define NV_TABMENU nv_tabmenu
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42 #else
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
43 #define NV_TABLINE nv_error
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
44 #define NV_TABMENU nv_error
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
45 #endif
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
46
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
47 #ifdef FEAT_NETBEANS_INTG
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
48 #define NV_NBCMD nv_nbcmd
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
49 #else
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
50 #define NV_NBCMD nv_error
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
51 #endif
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
52
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
53 #ifdef FEAT_DND
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
54 #define NV_DROP nv_drop
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
55 #else
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
56 #define NV_DROP nv_error
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
57 #endif
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
58
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
59 /*
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
60 * Function to be called for a Normal or Visual mode command.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
61 * The argument is a cmdarg_T.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
62 */
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
63 typedef void (*nv_func_T)(cmdarg_T *cap);
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
64
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
65 // Values for cmd_flags.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
66 #define NV_NCH 0x01 // may need to get a second char
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
67 #define NV_NCH_NOP (0x02|NV_NCH) // get second char when no operator pending
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
68 #define NV_NCH_ALW (0x04|NV_NCH) // always get a second char
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
69 #define NV_LANG 0x08 // second char needs language adjustment
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
70
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
71 #define NV_SS 0x10 // may start selection
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
72 #define NV_SSS 0x20 // may start selection with shift modifier
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
73 #define NV_STS 0x40 // may stop selection without shift modif.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
74 #define NV_RL 0x80 // 'rightleft' modifies command
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
75 #define NV_KEEPREG 0x100 // don't clear regname
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
76 #define NV_NCW 0x200 // not allowed in command-line window
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
77
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
78 /*
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
79 * Generally speaking, every Normal mode command should either clear any
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
80 * pending operator (with *clearop*()), or set the motion type variable
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
81 * oap->motion_type.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
82 *
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
83 * When a cursor motion command is made, it is marked as being a character or
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
84 * line oriented motion. Then, if an operator is in effect, the operation
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
85 * becomes character or line oriented accordingly.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
86 */
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
87
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
88 /*
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
89 * This table contains one entry for every Normal or Visual mode command.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
90 * The order doesn't matter, this will be sorted by the create_nvcmdidx.vim
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
91 * script to generate the nv_cmd_idx[] lookup table.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
92 * It is faster when all keys from zero to '~' are present.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
93 */
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
94 static const struct nv_cmd
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
95 {
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
96 int cmd_char; // (first) command character
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
97 nv_func_T cmd_func; // function for this command
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
98 short_u cmd_flags; // NV_ flags
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
99 short cmd_arg; // value for ca.arg
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
100 } nv_cmds[] =
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
101
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
102 #else // DO_DECLARE_NVCMD
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
103
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
104 /*
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
105 * Used when creating nv_cmdidxs.h.
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
106 */
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
107 # define NVCMD(a, b, c, d) a
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
108 static const int nv_cmds[] =
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
109
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
110 #endif // DO_DECLARE_NVCMD
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
111 {
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
112 NVCMD(NUL, nv_error, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
113 NVCMD(Ctrl_A, nv_addsub, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
114 NVCMD(Ctrl_B, nv_page, NV_STS, BACKWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
115 NVCMD(Ctrl_C, nv_esc, 0, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
116 NVCMD(Ctrl_D, nv_halfpage, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
117 NVCMD(Ctrl_E, nv_scroll_line, 0, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
118 NVCMD(Ctrl_F, nv_page, NV_STS, FORWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
119 NVCMD(Ctrl_G, nv_ctrlg, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
120 NVCMD(Ctrl_H, nv_ctrlh, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
121 NVCMD(Ctrl_I, nv_pcmark, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
122 NVCMD(NL, nv_down, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
123 NVCMD(Ctrl_K, nv_error, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
124 NVCMD(Ctrl_L, nv_clear, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
125 NVCMD(CAR, nv_down, 0, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
126 NVCMD(Ctrl_N, nv_down, NV_STS, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
127 NVCMD(Ctrl_O, nv_ctrlo, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
128 NVCMD(Ctrl_P, nv_up, NV_STS, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
129 NVCMD(Ctrl_Q, nv_visual, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
130 NVCMD(Ctrl_R, nv_redo_or_register, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
131 NVCMD(Ctrl_S, nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
132 NVCMD(Ctrl_T, nv_tagpop, NV_NCW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
133 NVCMD(Ctrl_U, nv_halfpage, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
134 NVCMD(Ctrl_V, nv_visual, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
135 NVCMD(Ctrl_W, nv_window, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
136 NVCMD(Ctrl_X, nv_addsub, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
137 NVCMD(Ctrl_Y, nv_scroll_line, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
138 NVCMD(Ctrl_Z, nv_suspend, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
139 NVCMD(ESC, nv_esc, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
140 NVCMD(Ctrl_BSL, nv_normal, NV_NCH_ALW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
141 NVCMD(Ctrl_RSB, nv_ident, NV_NCW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
142 NVCMD(Ctrl_HAT, nv_hat, NV_NCW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
143 NVCMD(Ctrl__, nv_error, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
144 NVCMD(' ', nv_right, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
145 NVCMD('!', nv_operator, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
146 NVCMD('"', nv_regname, NV_NCH_NOP|NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
147 NVCMD('#', nv_ident, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
148 NVCMD('$', nv_dollar, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
149 NVCMD('%', nv_percent, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
150 NVCMD('&', nv_optrans, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
151 NVCMD('\'', nv_gomark, NV_NCH_ALW, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
152 NVCMD('(', nv_brace, 0, BACKWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
153 NVCMD(')', nv_brace, 0, FORWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
154 NVCMD('*', nv_ident, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
155 NVCMD('+', nv_down, 0, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
156 NVCMD(',', nv_csearch, 0, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
157 NVCMD('-', nv_up, 0, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
158 NVCMD('.', nv_dot, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
159 NVCMD('/', nv_search, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
160 NVCMD('0', nv_beginline, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
161 NVCMD('1', nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
162 NVCMD('2', nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
163 NVCMD('3', nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
164 NVCMD('4', nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
165 NVCMD('5', nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
166 NVCMD('6', nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
167 NVCMD('7', nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
168 NVCMD('8', nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
169 NVCMD('9', nv_ignore, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
170 NVCMD(':', nv_colon, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
171 NVCMD(';', nv_csearch, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
172 NVCMD('<', nv_operator, NV_RL, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
173 NVCMD('=', nv_operator, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
174 NVCMD('>', nv_operator, NV_RL, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
175 NVCMD('?', nv_search, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
176 NVCMD('@', nv_at, NV_NCH_NOP, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
177 NVCMD('A', nv_edit, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
178 NVCMD('B', nv_bck_word, 0, 1),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
179 NVCMD('C', nv_abbrev, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
180 NVCMD('D', nv_abbrev, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
181 NVCMD('E', nv_wordcmd, 0, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
182 NVCMD('F', nv_csearch, NV_NCH_ALW|NV_LANG, BACKWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
183 NVCMD('G', nv_goto, 0, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
184 NVCMD('H', nv_scroll, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
185 NVCMD('I', nv_edit, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
186 NVCMD('J', nv_join, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
187 NVCMD('K', nv_ident, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
188 NVCMD('L', nv_scroll, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
189 NVCMD('M', nv_scroll, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
190 NVCMD('N', nv_next, 0, SEARCH_REV),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
191 NVCMD('O', nv_open, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
192 NVCMD('P', nv_put, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
193 NVCMD('Q', nv_exmode, NV_NCW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
194 NVCMD('R', nv_Replace, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
195 NVCMD('S', nv_subst, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
196 NVCMD('T', nv_csearch, NV_NCH_ALW|NV_LANG, BACKWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
197 NVCMD('U', nv_Undo, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
198 NVCMD('V', nv_visual, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
199 NVCMD('W', nv_wordcmd, 0, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
200 NVCMD('X', nv_abbrev, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
201 NVCMD('Y', nv_abbrev, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
202 NVCMD('Z', nv_Zet, NV_NCH_NOP|NV_NCW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
203 NVCMD('[', nv_brackets, NV_NCH_ALW, BACKWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
204 NVCMD('\\', nv_error, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
205 NVCMD(']', nv_brackets, NV_NCH_ALW, FORWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
206 NVCMD('^', nv_beginline, 0, BL_WHITE | BL_FIX),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
207 NVCMD('_', nv_lineop, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
208 NVCMD('`', nv_gomark, NV_NCH_ALW, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
209 NVCMD('a', nv_edit, NV_NCH, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
210 NVCMD('b', nv_bck_word, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
211 NVCMD('c', nv_operator, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
212 NVCMD('d', nv_operator, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
213 NVCMD('e', nv_wordcmd, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
214 NVCMD('f', nv_csearch, NV_NCH_ALW|NV_LANG, FORWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
215 NVCMD('g', nv_g_cmd, NV_NCH_ALW, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
216 NVCMD('h', nv_left, NV_RL, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
217 NVCMD('i', nv_edit, NV_NCH, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
218 NVCMD('j', nv_down, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
219 NVCMD('k', nv_up, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
220 NVCMD('l', nv_right, NV_RL, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
221 NVCMD('m', nv_mark, NV_NCH_NOP, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
222 NVCMD('n', nv_next, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
223 NVCMD('o', nv_open, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
224 NVCMD('p', nv_put, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
225 NVCMD('q', nv_record, NV_NCH, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
226 NVCMD('r', nv_replace, NV_NCH_NOP|NV_LANG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
227 NVCMD('s', nv_subst, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
228 NVCMD('t', nv_csearch, NV_NCH_ALW|NV_LANG, FORWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
229 NVCMD('u', nv_undo, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
230 NVCMD('v', nv_visual, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
231 NVCMD('w', nv_wordcmd, 0, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
232 NVCMD('x', nv_abbrev, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
233 NVCMD('y', nv_operator, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
234 NVCMD('z', nv_zet, NV_NCH_ALW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
235 NVCMD('{', nv_findpar, 0, BACKWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
236 NVCMD('|', nv_pipe, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
237 NVCMD('}', nv_findpar, 0, FORWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
238 NVCMD('~', nv_tilde, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
239
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
240 // pound sign
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
241 NVCMD(POUND, nv_ident, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
242 NVCMD(K_MOUSEUP, nv_mousescroll, 0, MSCR_UP),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
243 NVCMD(K_MOUSEDOWN, nv_mousescroll, 0, MSCR_DOWN),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
244 NVCMD(K_MOUSELEFT, nv_mousescroll, 0, MSCR_LEFT),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
245 NVCMD(K_MOUSERIGHT, nv_mousescroll, 0, MSCR_RIGHT),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
246 NVCMD(K_LEFTMOUSE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
247 NVCMD(K_LEFTMOUSE_NM, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
248 NVCMD(K_LEFTDRAG, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
249 NVCMD(K_LEFTRELEASE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
250 NVCMD(K_LEFTRELEASE_NM, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
251 NVCMD(K_MOUSEMOVE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
252 NVCMD(K_MIDDLEMOUSE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
253 NVCMD(K_MIDDLEDRAG, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
254 NVCMD(K_MIDDLERELEASE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
255 NVCMD(K_RIGHTMOUSE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
256 NVCMD(K_RIGHTDRAG, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
257 NVCMD(K_RIGHTRELEASE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
258 NVCMD(K_X1MOUSE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
259 NVCMD(K_X1DRAG, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
260 NVCMD(K_X1RELEASE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
261 NVCMD(K_X2MOUSE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
262 NVCMD(K_X2DRAG, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
263 NVCMD(K_X2RELEASE, nv_mouse, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
264 NVCMD(K_IGNORE, nv_ignore, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
265 NVCMD(K_NOP, nv_nop, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
266 NVCMD(K_INS, nv_edit, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
267 NVCMD(K_KINS, nv_edit, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
268 NVCMD(K_BS, nv_ctrlh, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
269 NVCMD(K_UP, nv_up, NV_SSS|NV_STS, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
270 NVCMD(K_S_UP, nv_page, NV_SS, BACKWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
271 NVCMD(K_DOWN, nv_down, NV_SSS|NV_STS, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
272 NVCMD(K_S_DOWN, nv_page, NV_SS, FORWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
273 NVCMD(K_LEFT, nv_left, NV_SSS|NV_STS|NV_RL, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
274 NVCMD(K_S_LEFT, nv_bck_word, NV_SS|NV_RL, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
275 NVCMD(K_C_LEFT, nv_bck_word, NV_SSS|NV_RL|NV_STS, 1),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
276 NVCMD(K_RIGHT, nv_right, NV_SSS|NV_STS|NV_RL, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
277 NVCMD(K_S_RIGHT, nv_wordcmd, NV_SS|NV_RL, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
278 NVCMD(K_C_RIGHT, nv_wordcmd, NV_SSS|NV_RL|NV_STS, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
279 NVCMD(K_PAGEUP, nv_page, NV_SSS|NV_STS, BACKWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
280 NVCMD(K_KPAGEUP, nv_page, NV_SSS|NV_STS, BACKWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
281 NVCMD(K_PAGEDOWN, nv_page, NV_SSS|NV_STS, FORWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
282 NVCMD(K_KPAGEDOWN, nv_page, NV_SSS|NV_STS, FORWARD),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
283 NVCMD(K_END, nv_end, NV_SSS|NV_STS, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
284 NVCMD(K_KEND, nv_end, NV_SSS|NV_STS, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
285 NVCMD(K_S_END, nv_end, NV_SS, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
286 NVCMD(K_C_END, nv_end, NV_SSS|NV_STS, TRUE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
287 NVCMD(K_HOME, nv_home, NV_SSS|NV_STS, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
288 NVCMD(K_KHOME, nv_home, NV_SSS|NV_STS, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
289 NVCMD(K_S_HOME, nv_home, NV_SS, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
290 NVCMD(K_C_HOME, nv_goto, NV_SSS|NV_STS, FALSE),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
291 NVCMD(K_DEL, nv_abbrev, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
292 NVCMD(K_KDEL, nv_abbrev, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
293 NVCMD(K_UNDO, nv_kundo, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
294 NVCMD(K_HELP, nv_help, NV_NCW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
295 NVCMD(K_F1, nv_help, NV_NCW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
296 NVCMD(K_XF1, nv_help, NV_NCW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
297 NVCMD(K_SELECT, nv_select, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
298 NVCMD(K_VER_SCROLLBAR, NV_VER_SCROLLBAR, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
299 NVCMD(K_HOR_SCROLLBAR, NV_HOR_SCROLLBAR, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
300 NVCMD(K_TABLINE, NV_TABLINE, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
301 NVCMD(K_TABMENU, NV_TABMENU, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
302 NVCMD(K_F21, NV_NBCMD, NV_NCH_ALW, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
303 NVCMD(K_DROP, NV_DROP, NV_STS, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
304 NVCMD(K_CURSORHOLD, nv_cursorhold, NV_KEEPREG, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
305 NVCMD(K_PS, nv_edit, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
306 NVCMD(K_COMMAND, nv_colon, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
307 NVCMD(K_SCRIPT_COMMAND, nv_colon, 0, 0),
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
308 };
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
309
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
310 // Number of commands in nv_cmds[].
ee1019e59bef patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
311 #define NV_CMDS_SIZE ARRAY_LENGTH(nv_cmds)