File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -427,9 +427,14 @@ You can provide several modes to a single mapping by using a list of strings.
427
427
| ` "o" ` | - | - | - | - | - | yes | - | - | Operator-pending mode |
428
428
| ` "t" ` | - | - | - | - | - | - | yes | - | Terminal mode |
429
429
| ` "l" ` | - | yes | yes | - | - | - | - | yes | Insert, command-line and lang-arg mode |
430
+ | ` "!a" ` | - | abr | abr | - | - | - | - | - | [ Abbreviation] in insert and command-line mode |
431
+ | ` "ia" ` | - | abr | - | - | - | - | - | - | [ Abbreviation] in insert mode |
432
+ | ` "ca" ` | - | - | abr | - | - | - | - | - | [ Abbreviation] in command-line mode |
430
433
431
434
Each keymap can specify the following settings in the ` options ` attrs.
432
435
436
+ [ Abbreviation ] : https://neovim.io/doc/user/usr_24.html#_abbreviations
437
+
433
438
| NixVim | Default | VimScript |
434
439
| ---------| ---------| ---------------------------------------------------|
435
440
| silent | false | ` <silent> ` |
Original file line number Diff line number Diff line change 37
37
"o" # operator-pending
38
38
"t" # terminal
39
39
"l" # insert, command-line and lang-arg
40
+ "!a" # abbreviation in insert and command-line
41
+ "ia" # abbreviation in insert
42
+ "ca" # abbreviation in command
40
43
] ;
41
44
42
45
modeEnum = lib . types . enum modes ;
You can’t perform that action at this time.
0 commit comments