|
|
|
theme = "dracula-purple"
|
|
|
|
|
|
|
|
[editor]
|
|
|
|
rulers = [120]
|
|
|
|
shell = ["nu", "-c"]
|
|
|
|
true-color = true
|
|
|
|
cursorline = true
|
|
|
|
color-modes = true
|
|
|
|
bufferline = "always"
|
|
|
|
line-number = "relative"
|
|
|
|
|
|
|
|
[editor.cursor-shape]
|
|
|
|
insert = "bar"
|
|
|
|
normal = "block"
|
|
|
|
select = "underline"
|
|
|
|
|
|
|
|
[editor.statusline]
|
|
|
|
left = ["mode", "spinner", "spacer", "file-name"]
|
|
|
|
center = []
|
|
|
|
right = ["diagnostics", "selections", "position", "position-percentage", "separator", "file-encoding", "file-line-ending", "file-type", "separator", "spacer", "version-control", "spacer"]
|
|
|
|
separator = " │"
|
|
|
|
|
|
|
|
[editor.lsp]
|
|
|
|
auto-signature-help = true
|
|
|
|
display-inlay-hints = true
|
|
|
|
|
|
|
|
[editor.indent-guides]
|
|
|
|
render = true
|
|
|
|
rainbow = "dim"
|
|
|
|
|
|
|
|
[editor.file-picker]
|
|
|
|
hidden = false
|
|
|
|
|
|
|
|
[editor.whitespace.render]
|
|
|
|
tab = "all"
|
|
|
|
nbsp = "all"
|
|
|
|
|
|
|
|
[keys.insert]
|
|
|
|
esc = ["collapse_selection", "normal_mode"]
|
|
|
|
|
|
|
|
[keys.normal]
|
|
|
|
esc = ["collapse_selection", "keep_primary_selection"]
|
|
|
|
C-j = ["half_page_down", "goto_window_center", "align_view_center"]
|
|
|
|
C-k = ["half_page_up", "goto_window_center", "align_view_center"]
|
|
|
|
|
|
|
|
[keys.select]
|
|
|
|
esc = ["collapse_selection", "keep_primary_selection", "normal_mode"]
|
|
|
|
C-j = ["half_page_down", "goto_window_center"]
|
|
|
|
C-k = ["half_page_up", "goto_window_center"]
|
|
|
|
|
|
|
|
[keys.normal."A-/"]
|
|
|
|
j = ["goto_line_start", ":insert-output use ide.nu; ide doc-comment java-style", ":format", "normal_mode", "move_visual_line_up", "insert_at_line_end"]
|
|
|
|
r = ["goto_line_start", ":insert-output use ide.nu; ide doc-comment rust-style", ":format", "normal_mode", "insert_at_line_end"]
|