-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
64 lines (54 loc) · 2.18 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[editor]
line_number = true
relative_line_number = false
tab_size = 4
use_spaces = true
key_press_duration = 100
[normal]
left = [{ keys = [{ key = "h", mod = [] }] }, { keys = [{ key = "left", mod = [] }] }]
down = [{ keys = [{ key = "j", mod = [] }] }, { keys = [{ key = "down", mod = [] }] }, { keys = [{ key = "enter", mod = [] }] }]
up = [{ keys = [{ key = "k", mod = [] }] }, { keys = [{ key = "up", mod = [] }] }]
right = [{ keys = [{ key = "l", mod = [] }] }, { keys = [{ key = "right", mod = [] }] }, { keys = [{ key = "space", mod = [] }] }]
line_start = [{ keys = [{ key = "0", mod = [] }] }]
line_end = [{ keys = [{ key = "$", mod = [] }] }]
word_start_forward = [{ keys = [{ key = "w", mod = [] }] }]
word_start_backword = [{ keys = [{ key = "W", mod = [] }] }]
word_end_forward = [{ keys = [{ key = "B", mod = [] }] }]
word_end_backward = [{ keys = [{ key = "b", mod = [] }] }]
file_top = [{ keys = [{ key = "g", mod = []}, { key = "g", mod = [] }] }, { keys = [{ key = "home", mod = [] }] }]
file_bottom = [{ keys = [{ key = "G", mod = [] }] }, { keys = [{ key = "end", mod = [] }] } ]
page_up = [{ keys = [{ key = "b", mod = ["ctrl"] }] }, { keys = [{ key = "page-up", mod = [] }] }]
page_down = [{ keys = [{ key = "f", mod = ["ctrl"] }] }, { keys = [{ key = "page-down", mod = [] }] }]
insert_before = "i"
insert_beginning = "I"
insert_after = "a"
insert_end = "A"
insert_bellow = "o"
insert_above = "O"
replace = "r"
undo = "u"
redo = { key = "r", mod = ["ctrl"] }
delete_char = "x"
delete_word = { keys = [{ key = "d", mod = [] }, { key = "w", mod = [] }] }
delete_line = { keys = [{ key = "d", mod = [] }, { key = "d", mod = [] }] }
delete_line_remainder = "D"
copy_line = { keys = [{ key = "y", mod = [] }, { key = "y", mod = [] }] }
paste_after = "p"
paste_before = "P"
start_command = ":"
[insert]
leave = "esc"
left = "left"
down = "down"
up = "up"
right = "right"
file_top = "home"
file_bottom = "end"
page_up = [{ keys = [{ key = "b", mod = ["ctrl"] }] }, { keys = [{ key = "page-up", mod = [] }] }]
page_down = [{ keys = [{ key = "f", mod = ["ctrl"] }] }, { keys = [{ key = "page-down", mod = [] }] }]
[command]
leave = "esc"
left = "left"
right = "right"
start = "up"
end = "down"