-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
108 lines (86 loc) · 2.73 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
105
106
107
108
theme = "bubblegum"
[editor]
bufferline = "always"
auto-format = true
line-number = "relative"
color-modes = true
cursorline = true
popup-border = "all"
true-color = true
[editor.soft-wrap]
enable = true
max-wrap = 25
[editor.statusline]
left = ["mode", "spinner"]
center = ["file-name"]
right = ["version-control", "diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
separator = "│"
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
[editor.lsp]
# display-inlay-hints = true
auto-signature-help = false
# display-messages = true
[editor.auto-pairs]
'<' = '>'
'[' = ']'
'(' = ')'
'{' = '}'
'"' = '"'
'`' = '`'
"'" = "'"
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.indent-guides]
render = true
skip-levels = 1
[editor.file-picker]
# hidden = false
# git-ignore = false
[keys.normal]
"q" = ":quit"
"j" = "move_line_down"
"k" = "move_line_up"
"tab" = ":buffer-next"
"S-tab" = ":buffer-previous"
"C-tab" = "rotate_view"
"C-S-tab" = "rotate_view_reverse"
"A-(" = "rotate_view"
"A-)" = "rotate_view_reverse"
"A-a" = "select_all" # weird it also allows me to do cmd+a
# C-g = [":new", ":insert-output lazygit", ":buffer-close!", ":redraw"] # looks great but corrupts my terminal sometimes
C-g = ":sh zellij run -f -x 10% -y 10% --width 80% --height 80% --close-on-exit -- lazygit"
# C-f = ":sh zellij run -f -x 10% -y 10% --width 80% --height 80% -- bash ~/.config/helix/yazi-picker.sh"
C-f = ":sh zellij run -f -x 10% -y 10% --width 80% --height 80% -- ~/.config/helix/open_in_helix_from_yazi.zsh"
C-t = ":sh zellij run -f -x 10% -y 10% --width 80% --height 80% --close-on-exit -- taskwarrior-tui"
C-j = ["extend_to_line_bounds", "delete_selection", "paste_after"] # move line up
C-k = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"] # move line down
C-l = ["delete_selection", "paste_after"] # move right
C-h = ["delete_selection", "move_char_left", "paste_before"] #move left
# C-t = ["goto_first_nonwhitespace"]
"esc" = [ "normal_mode", ":format" , ":write", "collapse_selection", "keep_primary_selection"]
"{" = "goto_prev_paragraph"
"}" = "goto_next_paragraph"
"pagedown" = ["page_cursor_half_down" , "align_view_middle"]
"pageup" = ["page_cursor_half_up", "align_view_middle"]
"minus" = "align_view_center"
"?" = "command_palette"
"|" = ":vsplit"
"\\" = ":hsplit"
"A-n" = "extend_search_next"
"A-N" = "extend_search_prev"
[keys.normal.space]
w = ":write"
q = ":quit"
x = ":buffer-close"
"." = [":toggle file-picker.git-ignore", ":toggle file-picker.hidden"]
# H = ":toggle display-inlay-hints"
"minus" = [":yank-diagnostic"]
"tab" = "rotate_view"
t = ':insert-output date "+%H:%M:%S - %d %B %Y"'
[keys.normal.m]
n = "expand_selection"
[keys.select]