Lines Matching refs:commands
7 Key mapping, abbreviations and user-defined commands.
13 1.1 MAP COMMANDS |:map-commands|
27 4. User-defined commands |user-commands|
33 is to define a sequence of commands for a function key. Example: >
40 1.1 MAP COMMANDS *:map-commands*
42 There are commands to enter new mappings, remove mappings and list mappings.
150 These commands are used to map a key or key sequence to a string of
174 If the first argument to one of these commands is "<buffer>" the mapping will
222 If the first argument to one of these commands is "<script>" and it is used to
233 If the first argument to one of these commands is "<unique>" and it is used to
246 If the first argument to one of these commands is "<expr>" and it is used to
333 `<C-O>:` in Insert mode, because the commands are executed directly in the
355 <Cmd> commands must terminate, that is, they must be followed by <CR> in the
359 <Cmd> commands can have only normal characters and cannot contain special
367 - For Normal mode: When typing commands.
368 - For Visual mode: When typing commands while the Visual area is highlighted.
420 Some commands work both in Visual and Select mode, some in only one. Note
434 Some commands work both in Insert mode and Command-line mode, some not:
447 Therefore the ":map" and ":map!" commands enter and display mappings for
449 ":imap" commands to enter mappings for each mode separately.
466 Normal mode commands find the first '(' character and select the first word
483 - the argument of the commands that accept a text character, such as "r" and
492 the CTRL-^ command |i_CTRL-^| |c_CTRL-^|. These commands change the value of
684 It is not possible to put a comment after these commands, because the '"'
704 illogical when compared to other commands.
719 Note that the second character (argument) of the commands @zZtTfF[]rm'`"v
728 for the {lhs}. You will have to avoid keys that are used for Vim commands,
729 otherwise you would not be able to use those commands anymore. Here are a few
736 commands do exist in Vim (see |_| and |,|), but you probably never use them.
840 This will exchange the cursor up and down commands.
855 sequence (having two undo commands in a mapped sequence did not make sense
985 let commands = #{line: "'[V']y", char: "`[v`]y", block: "`[\<c-v>`]y"}
986 silent exe 'noautocmd keepjumps normal! ' .. get(commands, a:type, '')
1306 4. User-defined commands *user-commands*
1308 It is possible to define your own Ex commands. A user-defined command can act
1316 All user defined commands must start with an uppercase letter, to avoid
1317 confusion with builtin commands. Exceptions are these builtin commands:
1324 letters or digits. When using digits, note that other commands that take a
1343 It is recommended that full names for user-defined commands are used in
1347 List all user-defined commands. When listing commands,
1355 |:filter|, e.g., to list all commands with "Pyth" in
1359 :com[mand] {cmd} List the user-defined commands that start with {cmd}
1392 Delete all user-defined commands.
1397 User-defined commands are treated by Vim just like any other Ex commands. They
1441 By default, the arguments of user defined commands do not undergo completion.
1534 By default, user-defined commands do not accept a line number range. However,
1600 commands. A special case is when the argument is "{", then the following
1610 such as commands with an expression argument, cannot be followed by a "|" and
1677 To allow commands to pass their arguments on to a user-defined function, there