feat: move all keybind mode related options to keybind config
This commit is contained in:
parent
cf1befe3fa
commit
3b8982ac26
12 changed files with 85 additions and 140 deletions
|
@ -6,6 +6,9 @@
|
|||
"normal": {
|
||||
"syntax": "vim",
|
||||
"on_match_failure": "ignore",
|
||||
"name": "NORMAL",
|
||||
"line_numbers": "relative",
|
||||
"cursor": "block",
|
||||
"press": [
|
||||
["b", "move_word_left"],
|
||||
["w", "move_word_right_vim"],
|
||||
|
@ -63,8 +66,21 @@
|
|||
["<CR>", "smart_insert_line"]
|
||||
]
|
||||
},
|
||||
"visual": {
|
||||
"syntax": "vim",
|
||||
"on_match_failure": "ignore",
|
||||
"name": "VISUAL",
|
||||
"line_numbers": "relative",
|
||||
"cursor": "underline",
|
||||
"press": [
|
||||
["<Esc>", "enter_mode", "normal"],
|
||||
]
|
||||
},
|
||||
"insert": {
|
||||
"syntax": "vim",
|
||||
"name": "INSERT",
|
||||
"line_numbers": "absolute",
|
||||
"cursor": "beam",
|
||||
"press": [
|
||||
["jk", "enter_mode", "normal"],
|
||||
["<Esc>", "enter_mode", "normal"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue