|
|
@ -18,21 +18,7 @@ theme = "dracula-purple"
|
|
|
|
[editor.statusline]
|
|
|
|
[editor.statusline]
|
|
|
|
left = ["mode", "spinner", "spacer", "file-name"]
|
|
|
|
left = ["mode", "spinner", "spacer", "file-name"]
|
|
|
|
center = []
|
|
|
|
center = []
|
|
|
|
right = [
|
|
|
|
right = ["diagnostics", "selections", "position", "position-percentage", "primary-selection-length", "separator", "file-encoding", "file-line-ending", "file-type", "separator", "spacer", "version-control", "spacer"]
|
|
|
|
"diagnostics",
|
|
|
|
|
|
|
|
"selections",
|
|
|
|
|
|
|
|
"position",
|
|
|
|
|
|
|
|
"position-percentage",
|
|
|
|
|
|
|
|
"primary-selection-length",
|
|
|
|
|
|
|
|
"separator",
|
|
|
|
|
|
|
|
"file-encoding",
|
|
|
|
|
|
|
|
"file-line-ending",
|
|
|
|
|
|
|
|
"file-type",
|
|
|
|
|
|
|
|
"separator",
|
|
|
|
|
|
|
|
"spacer",
|
|
|
|
|
|
|
|
"version-control",
|
|
|
|
|
|
|
|
"spacer",
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
separator = " │"
|
|
|
|
separator = " │"
|
|
|
|
|
|
|
|
|
|
|
|
[editor.lsp]
|
|
|
|
[editor.lsp]
|
|
|
@ -57,11 +43,6 @@ theme = "dracula-purple"
|
|
|
|
A-w = [":sh use ide.nu; ide write-here miw"]
|
|
|
|
A-w = [":sh use ide.nu; ide write-here miw"]
|
|
|
|
A-W = [":sh use ide.nu; ide write-here miW"]
|
|
|
|
A-W = [":sh use ide.nu; ide write-here miW"]
|
|
|
|
D = [":sh use ide.nu; ide write-here \"2y%d\"2p"]
|
|
|
|
D = [":sh use ide.nu; ide write-here \"2y%d\"2p"]
|
|
|
|
# Delete default deletion behaviour to not yank unless used with alt
|
|
|
|
|
|
|
|
A-d = "delete_selection"
|
|
|
|
|
|
|
|
d = "delete_selection_noyank"
|
|
|
|
|
|
|
|
A-c = "change_selection"
|
|
|
|
|
|
|
|
c = "change_selection_noyank"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[keys.select]
|
|
|
|
[keys.select]
|
|
|
|
esc = ["collapse_selection", "keep_primary_selection", "normal_mode"]
|
|
|
|
esc = ["collapse_selection", "keep_primary_selection", "normal_mode"]
|
|
|
@ -72,20 +53,7 @@ theme = "dracula-purple"
|
|
|
|
D = [":sh use ide.nu; ide write-here \"9y%d\"9p"]
|
|
|
|
D = [":sh use ide.nu; ide write-here \"9y%d\"9p"]
|
|
|
|
|
|
|
|
|
|
|
|
[keys.normal."A-/"]
|
|
|
|
[keys.normal."A-/"]
|
|
|
|
j = [
|
|
|
|
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"]
|
|
|
|
"goto_line_start",
|
|
|
|
r = ["goto_line_start", ":insert-output use ide.nu; ide doc-comment rust-style", ":format", "normal_mode", "insert_at_line_end"]
|
|
|
|
"add_newline_above",
|
|
|
|
|
|
|
|
"move_visual_line_up",
|
|
|
|
|
|
|
|
":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",
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|