config.toml (1455B)
1 theme = "rose_pine"
2
3 [editor]
4 mouse = true
5 middle-click-paste = false
6 color-modes = true
7 auto-completion = true
8 auto-format = true
9 auto-info = true
10 idle-timeout = 500
11 cursorline = true
12 rulers = [81]
13 line-number = "absolute"
14
15 [editor.lsp]
16 display-messages = true
17
18 [editor.file-picker]
19 max-depth = 5
20
21 [editor.statusline]
22 left = ["mode", "spinner", "file-name"]
23 #center = ["file-name"]
24 right = ["diagnostics", "file-type", "selections", "position", "position-percentage"]
25 separator = "│"
26
27 [editor.whitespace.render]
28 space = "all"
29 tab = "all"
30 newline = "none"
31
32 [editor.cursor-shape]
33 normal = "block"
34 insert = "block"
35 select = "block"
36
37 [keys.normal]
38 p = ":clipboard-paste-before"
39 P = ":clipboard-paste-after"
40 y = ":clipboard-yank"
41 C-c = { C-c = ["goto_prev_paragraph", "collapse_selection", "goto_next_paragraph", ":pipe-to ~/.local/bin/send-to-tmux", "collapse_selection"], c = ["toggle_comments"], m = [":w", ":sh make 1>/dev/null"] }
42 C-r = ["extend_to_line_bounds", ":reflow"]
43
44 [keys.insert]
45 C-c = { C-c = ["normal_mode", "goto_prev_paragraph", "collapse_selection", "goto_next_paragraph", ":pipe-to ~/.local/bin/send-to-tmux", "collapse_selection"], c = ["toggle_comments"], m = ["normal_mode", ":w", ":sh make 1>/dev/null"] }
46
47 # Coding: send to terminal
48 [keys.select]
49 C-c = { C-c = [":pipe-to ~/.local/bin/send-to-tmux"], c = ["toggle_comments"], m = [":w", ":sh make 1>/dev/null"] }
50 y = ":clipboard-yank"
51 p = ":clipboard-paste-replace"
52 C-r = ":reflow"