tos/packages/tos-program-editor/config.toml

104 lines
1.6 KiB
TOML
Raw Normal View History

2024-07-11 12:31:14 +00:00
theme = "dark_plus"
[editor]
mouse = false
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[keys.normal]
n = "move_char_left"
e = "move_line_down"
i = "move_line_up"
o = "move_char_right"
h = "insert_mode"
H = "insert_at_line_start"
l = "open_below"
L = "open_above"
k = "move_next_word_end"
K = "move_next_long_word_end"
j = "search_next"
J = "search_prev"
E = "join_selections"
"A-E" = "join_selections_space"
I = "keep_selections"
"A-I" = "remove_selections"
[keys.normal.g]
n = "goto_line_start"
e = "move_line_down"
i = "move_line_up"
o = "goto_line_end"
[keys.normal.C-w]
n = "jump_view_left"
e = "jump_view_down"
i = "jump_view_up"
o = "jump_view_right"
N = "swap_view_left"
E = "swap_view_down"
I = "swap_view_up"
O = "swap_view_right"
h = "vsplit_new"
H = "hsplit_new"
a = "wonly"
[keys.insert]
"C-n" = "kill_to_line_start"
"C-o" = "kill_to_line_end"
"C-e" = "insert_newline"
[keys.select]
n = "move_char_left"
e = "move_line_down"
i = "move_line_up"
o = "move_char_right"
h = "insert_mode"
H = "insert_at_line_start"
l = "open_below"
L = "open_above"
k = "move_next_word_end"
K = "move_next_long_word_end"
j = "extend_search_next"
J = "extend_search_prev"
E = "join_selections"
"A-E" = "join_selections_space"
I = "keep_selections"
"A-I" = "remove_selections"
[keys.normal.z]
e = "scroll_down"
i = "scroll_up"
[keys.normal.Z]
e = "scroll_down"
i = "scroll_up"
[keys.normal.space.w]
n = "jump_view_left"
e = "jump_view_down"
i = "jump_view_up"
o = "jump_view_right"
N = "swap_view_left"
E = "swap_view_down"
I = "swap_view_up"
O = "swap_view_right"