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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
|
diff --git a/apps/helix.nix b/apps/helix.nix
index 9052328aebba15a3f6216f69d77e7d6eea117f5a..d6b637696a42caec3a42110ee1687b745821498a 100644
--- a/apps/helix.nix
+++ b/apps/helix.nix
@@ -14,12 +14,12 @@ insert = "bar";
normal = "block";
select = "underline";
};
- file-picker = { hidden = false; };
+ file-picker = {hidden = false;};
indent-guides = {
render = true;
skip-levels = 1;
};
- soft-wrap = { enable = true; };
+ soft-wrap = {enable = true;};
statusline = {
right = [
"version-control"
@@ -29,7 +29,7 @@ "position"
"file-encoding"
];
};
- lsp = { display-messages = true; };
+ lsp = {display-messages = true;};
};
keys = {
normal = {
@@ -45,33 +45,33 @@ "C-/" = "toggle_comments";
S-right = "goto_next_buffer";
S-left = "goto_previous_buffer";
C-b = ":buffer-close";
- C-s = [ "select_all" "select_regex" ];
+ C-s = ["select_all" "select_regex"];
C-j = "shrink_selection";
C-k = "expand_selection";
C-l = "select_next_sibling";
C-a = "select_all";
- C-u = [ "half_page_up" "align_view_center" ];
- C-d = [ "half_page_down" "align_view_center" ];
+ C-u = ["half_page_up" "align_view_center"];
+ C-d = ["half_page_down" "align_view_center"];
- "{" = [ "goto_prev_paragraph" "collapse_selection" ];
- "}" = [ "goto_next_paragraph" "collapse_selection" ];
+ "{" = ["goto_prev_paragraph" "collapse_selection"];
+ "}" = ["goto_next_paragraph" "collapse_selection"];
"0" = "goto_line_start";
"$" = "goto_line_end";
"^" = "goto_first_nonwhitespace";
G = "goto_file_end";
"%" = "match_brackets";
- V = [ "select_mode" "extend_to_line_bounds" ];
- C = [ "collapse_selection" "extend_to_line_end" "change_selection" ];
- D = [ "extend_to_line_end" "delete_selection" ];
+ V = ["select_mode" "extend_to_line_bounds"];
+ C = ["collapse_selection" "extend_to_line_end" "change_selection"];
+ D = ["extend_to_line_end" "delete_selection"];
S = "surround_add";
d = {
- d = [ "extend_to_line_bounds" "delete_selection" ];
- t = [ "extend_till_char" ];
- s = [ "surround_delete" ];
- i = [ "select_textobject_inner" ];
- a = [ "select_textobject_around" ];
+ d = ["extend_to_line_bounds" "delete_selection"];
+ t = ["extend_till_char"];
+ s = ["surround_delete"];
+ i = ["select_textobject_inner"];
+ a = ["select_textobject_around"];
};
x = "delete_selection";
@@ -90,17 +90,16 @@ "goto_line_start"
"collapse_selection"
];
- w = [ "move_next_word_start" "move_char_right" "collapse_selection" ];
- e = [ "move_next_word_end" "collapse_selection" ];
- b = [ "move_prev_word_start" "collapse_selection" ];
+ w = ["move_next_word_start" "move_char_right" "collapse_selection"];
+ e = ["move_next_word_end" "collapse_selection"];
+ b = ["move_prev_word_start" "collapse_selection"];
- i = [ "insert_mode" "collapse_selection" ];
- a = [ "append_mode" "collapse_selection" ];
+ i = ["insert_mode" "collapse_selection"];
+ a = ["append_mode" "collapse_selection"];
- esc = [ "collapse_selection" "keep_primary_selection" ];
-
+ esc = ["collapse_selection" "keep_primary_selection"];
};
- insert = { esc = [ "collapse_selection" "normal_mode" ]; };
+ insert = {esc = ["collapse_selection" "normal_mode"];};
select = {
space = {
j = {
@@ -108,28 +107,28 @@ e = ":pipe jq";
c = ":pipe jq -c";
};
};
- "{" = [ "extend_to_line_bounds" "goto_prev_paragraph" ];
- "}" = [ "extend_to_line_bounds" "goto_next_paragraph" ];
+ "{" = ["extend_to_line_bounds" "goto_prev_paragraph"];
+ "}" = ["extend_to_line_bounds" "goto_next_paragraph"];
"0" = "goto_line_start";
"$" = "goto_line_end";
"^" = "goto_first_nonwhitespace";
G = "goto_file_end";
- D = [ "extend_to_line_bounds" "delete_selection" "normal_mode" ];
- C = [ "goto_line_start" "extend_to_line_bounds" "change_selection" ];
+ D = ["extend_to_line_bounds" "delete_selection" "normal_mode"];
+ C = ["goto_line_start" "extend_to_line_bounds" "change_selection"];
"%" = "match_brackets";
S = "surround_add";
i = "select_textobject_inner";
a = "select_textobject_around";
- tab = [ "insert_mode" "collapse_selection" ];
- C-a = [ "append_mode" "collapse_selection" ];
+ tab = ["insert_mode" "collapse_selection"];
+ C-a = ["append_mode" "collapse_selection"];
- k = [ "extend_line_up" "extend_to_line_bounds" ];
- j = [ "extend_line_down" "extend_to_line_bounds" ];
+ k = ["extend_line_up" "extend_to_line_bounds"];
+ j = ["extend_line_down" "extend_to_line_bounds"];
- d = [ "yank_main_selection_to_clipboard" "delete_selection" ];
- x = [ "yank_main_selection_to_clipboard" "delete_selection" ];
+ d = ["yank_main_selection_to_clipboard" "delete_selection"];
+ x = ["yank_main_selection_to_clipboard" "delete_selection"];
y = [
"yank_main_selection_to_clipboard"
"normal_mode"
@@ -146,7 +145,7 @@ ];
p = "replace_selections_with_clipboard";
P = "paste_clipboard_before";
- esc = [ "collapse_selection" "keep_primary_selection" "normal_mode" ];
+ esc = ["collapse_selection" "keep_primary_selection" "normal_mode"];
};
};
};
@@ -157,14 +156,14 @@ name = "jsonnet";
auto-format = true;
formatter = {
command = "jsonnetfmt";
- args = [ "-" ];
+ args = ["-"];
};
}
{
name = "go";
formatter = {
command = "gofumpt";
- args = [ ];
+ args = [];
};
}
{
@@ -172,15 +171,15 @@ name = "python";
auto-format = true;
formatter = {
command = "black";
- args = [ "--quiet" "-" ];
+ args = ["--quiet" "-"];
};
}
{
name = "nix";
auto-format = true;
formatter = {
- command = "nixfmt";
- args = [ ];
+ command = "alejandra";
+ args = ["-qq"];
};
}
];
@@ -188,19 +187,19 @@ };
themes = {
catppuccin_frappe_transparent = {
inherits = "catppuccin_frappe";
- "ui.background" = { };
+ "ui.background" = {};
};
catppuccin_latte_transparent = {
inherits = "catppuccin_latte";
- "ui.background" = { };
+ "ui.background" = {};
};
catppuccin_macchiato_transparent = {
inherits = "catppuccin_macchiato";
- "ui.background" = { };
+ "ui.background" = {};
};
catppuccin_mocha_transparent = {
inherits = "catppuccin_mocha";
- "ui.background" = { };
+ "ui.background" = {};
};
};
};
|