-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
86 lines (71 loc) · 1.92 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
theme = "jba"
[editor]
line-number = "relative"
auto-pairs = true
auto-save = true
auto-reload = true
auto-info = true
scrolloff = 3
mouse = false
color-modes = true
# Circa late 2023, this didn't work for me and I had
# to do something in themes/jba.toml.
# [editor.cursor-shape]
# insert = "bar"
# normal = "block"
# select = "underline"
[editor.file-picker]
hidden = false
git-ignore = true
git-global = false
git-exclude = true
[editor.gutters.line-numbers]
min-width = 2
[editor.indent-guides]
render = false
[editor.lsp]
display-messages = true
display-signature-help-docs = false
goto-reference-include-declaration = false
# As of 2024-02-17, inlay hints look like regular text but are not
# actually in the buffer, so they're very confusing.
display-inlay-hints = false
[editor.search]
wrap-around = true
[editor.smart-tab]
enable = true
[editor.soft-wrap]
enable = true
[keys.normal]
"$" = ["ensure_selections_forward", "extend_to_line_end"]
# "$" = "goto_line_end"
# the below removes all other v bindings
# v = { "$" = "extend_to_line_end"}
"C-v" = "page_down"
"A-v" = "page_up"
# "#" = "toggle_comments"
# "C-c" =
# Use shift to extend. The usual meanings of characters replaced
# below are obtained by typing "+" first; see below.
H = "extend_char_left"
L = "extend_char_right"
J = "extend_line_down"
K = "extend_line_up"
W = ["ensure_selections_forward", "extend_next_word_start"]
E = ["ensure_selections_forward", "extend_next_word_end"]
B = ["ensure_selections_forward", "flip_selections", "extend_prev_word_start"]
"S-down" = "extend_line_down"
"S-up" = "extend_line_up"
[keys.normal."space"]
o = "file_picker_in_current_buffer_directory"
# This doesn't work:
# s = ["symbol_picker", "collapse_selection"]
[keys.normal."+"]
w = "move_next_long_word_start"
e = "move_next_long_word_end"
b = "move_prev_long_word_start"
j = "join_selections"
k = "keep_selections"
[keys.insert]
"C-f" = "move_char_right"
"C-b" = "move_char_left"