-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
104 lines (86 loc) · 3.06 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
theme = "catppuccin_macchiato"
[editor]
true-color = true
# rulers = [80]
# cursorline = true
# cursorcolumn = true
# idle-timeout = 100
# bufferline = "always"
color-modes = true
[editor.cursor-shape]
normal = "block"
insert = "bar"
# select = "underline"
[editor.indent-guides]
render = true
character = "╎" # Some characters that work well: "▏", "┆", "┊", "⸽"
skip-levels = 1
# [editor.whitespace]
# render = "all"
# or control each character
[editor.whitespace.render]
space = "none"
tab = "all"
nbsp = "all"
nnbsp = "all"
newline = "none"
[editor.whitespace.characters]
space = "·"
nbsp = "⍽"
nnbsp = "␣"
tab = "→"
newline = "⏎"
tabpad = "·" # Tabs will look like "→···" (depending on tab width)
[editor.soft-wrap]
enable = true
max-wrap = 25 # increase value to reduce forced mid-word wrapping
max-indent-retain = 0
# wrap-indicator = "" # set wrap-indicator to "" to hide it
# ░█▀█░█▀█░█▀▄░█▄█░█▀█░█░░░░░█▄█░█▀█░█▀▄░█▀▀
# ░█░█░█░█░█▀▄░█░█░█▀█░█░░░░░█░█░█░█░█░█░█▀▀
# ░▀░▀░▀▀▀░▀░▀░▀░▀░▀░▀░▀▀▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀
[keys.normal]
K = ["move_line_up", "move_line_up", "move_line_up", "move_line_up", "move_line_up"]
J = ["move_line_down", "move_line_down", "move_line_down", "move_line_down", "move_line_down"]
G = ["goto_last_line"]
H = ["goto_line_start"]
L = ["goto_line_end"]
#Q = ":q"
V = ["select_mode", "extend_to_line_bounds"]
C-p = ["move_line_up", "scroll_up"]
C-n = ["move_line_down", "scroll_down"]
#F8 = ":open ~/.config/helix/config.toml"
#Z = { Z = ":wq", Q = ":q!" }
[keys.normal.s]
i = ":wq"
s = "select_regex"
r = "split_selection"
a = "select_all"
[keys.normal.space]
";" = "toggle_comments"
"q" = ":quit"
[keys.normal.space.w]
i = ":wq"
u = ":update"
# a = "select_all"
# Text manipulation
[keys.normal.space.x]
c = "switch_case"
u = "switch_to_lowercase"
U = "switch_to_uppercase"
# ░▀█▀░█▀█░█▀▀░█▀▀░█▀▄░▀█▀░░░█▄█░█▀█░█▀▄░█▀▀
# ░░█░░█░█░▀▀█░█▀▀░█▀▄░░█░░░░█░█░█░█░█░█░█▀▀
# ░▀▀▀░▀░▀░▀▀▀░▀▀▀░▀░▀░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀
[keys.insert]
C-p = "move_line_up"
C-n = "move_line_down"
C-b = "move_char_left"
C-f = "move_char_right"
C-a = "goto_line_start"
C-e = "goto_line_end_newline"
# k = { j = "normal_mode" } # Maps `kj` to exit insert mode
# ░█▀▀░█▀▀░█░░░█▀▀░█▀▀░▀█▀░░░█▄█░█▀█░█▀▄░█▀▀
# ░▀▀█░█▀▀░█░░░█▀▀░█░░░░█░░░░█░█░█░█░█░█░█▀▀
# ░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀
[keys.select.space]
";" = "toggle_comments"