feat: add initial basic visual block vim mode

This commit is contained in:
CJ van den Berg 2025-05-15 21:10:04 +02:00
parent 2cced4fbff
commit 73e026c6f7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -40,6 +40,7 @@
["v", "enter_mode", "visual"],
["V", ["enter_mode", "visual line"], ["select_line_vim"]],
["<C-v>", "enter_mode", "visual block"],
["n", "goto_next_match"],
["N", "goto_prev_match"],
@ -225,6 +226,20 @@
["9", "add_integer_argument_digit", 9]
]
},
"visual block": {
"syntax": "vim",
"on_match_failure": "ignore",
"name": "VISUAL BLOCK",
"inherit": "visual",
"line_numbers": "relative",
"cursor": "block",
"selection": "normal",
"init_command": ["enable_selection"],
"press": [
["k", "add_cursor_up"],
["j", "add_cursor_down"]
]
},
"insert": {
"syntax": "vim",
"name": "INSERT",