feat: improve smart_insert_pair and add smart_insert_pair_close

This commit is contained in:
CJ van den Berg 2025-03-04 19:06:51 +01:00
parent 67c386d5b7
commit e34aed4a95
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 57 additions and 5 deletions

View file

@ -164,12 +164,19 @@
["\"", "smart_insert_pair", "\"", "\""],
["'", "smart_insert_pair", "'", "'"],
["(", "smart_insert_pair", "(", ")"],
[")", "smart_insert_pair_close", "(", ")"],
["[", "smart_insert_pair", "[", "]"],
["]", "smart_insert_pair_close", "[", "]"],
["{", "smart_insert_pair", "{", "}"],
["}", "smart_insert_pair_close", "{", "}"],
["", "smart_insert_pair", "", ""],
["", "smart_insert_pair_close", "", ""],
["“", "smart_insert_pair", "“", "”"],
["”", "smart_insert_pair_close", "“", "”"],
["", "smart_insert_pair", "", ""],
["", "smart_insert_pair_close", "", ""],
["«", "smart_insert_pair", "«", "»"],
["»", "smart_insert_pair_close", "«", "»"],
["left_control", "enable_jump_mode"],
["right_control", "enable_jump_mode"],