Compare commits

..

No commits in common. '38cc5d0f35fe9bc9031ca186ccfc6cbe9250331b' and '74bc42e5f0a0a4caec6d5e3a3c437cf507838cda' have entirely different histories.

@ -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",
]

@ -36,8 +36,7 @@
[language-server.vls] [language-server.vls]
command = "vls" command = "vls"
args = ["--stdio"] args = []
config = { typescript = { tsdk = "node_modules/typescript/lib/" } }
[language-server.pest-lsp] [language-server.pest-lsp]
@ -81,7 +80,7 @@
"diagnostics", "diagnostics",
"format", "format",
] }, ] },
"hx-lsp", "hx-lsp"
] ]
auto-format = true auto-format = true
formatter = { command = "biome", args = [ formatter = { command = "biome", args = [
@ -94,15 +93,7 @@
[[language]] [[language]]
name = "javascript" name = "javascript"
language-servers = [ language-servers = ["typescript-language-server", "biome", { name = "efm", only-features = ["diagnostics", "format"]}, "hx-lsp"]
"typescript-language-server",
"biome",
{ name = "efm", only-features = [
"diagnostics",
"format",
] },
"hx-lsp",
]
auto-format = true auto-format = true
formatter = { command = "biome", args = [ formatter = { command = "biome", args = [
"format", "format",
@ -113,10 +104,7 @@
[[language]] [[language]]
name = "json" name = "json"
formatter = { command = "biome", args = [ formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.json"] }
"format",
"--stdin-file-path=file.json",
] }
[[language]] [[language]]
name = "handlebars" name = "handlebars"
@ -188,19 +176,6 @@
formatter = { command = "kdlfmt" } formatter = { command = "kdlfmt" }
[[language]]
name = "toml"
auto-format = true
formatter = { command = "taplo", args = [
"fmt",
"--option",
"indent_entries=true",
"--option",
"indent_tables=true",
"-",
] }
[[language]] [[language]]
name = "pug" name = "pug"
language-servers = ["pug-lsp"] language-servers = ["pug-lsp"]
@ -255,11 +230,11 @@
[[language]] [[language]]
name = "vue" name = "vue"
auto-format = true auto-format = true
language-servers = ["vls", "biome"]
formatter = { command = "biome", args = [ formatter = { command = "biome", args = [
"format", "format",
"--stdin-file-path=file.vue", "--stdin-file-path=file.vue",
] } ] }
language-servers = ["vls"]
[[language]] [[language]]
name = "env" name = "env"
@ -271,15 +246,6 @@
{ glob = "*.env" }, { glob = "*.env" },
] ]
[[language]]
name = "scheme"
formatter = { command = "schemat" }
[[language]]
name = "svelte"
auto-format = true
[[language]] [[language]]
name = "pest" name = "pest"

@ -11,36 +11,6 @@ export def `follow nuon-lines` [] {
lines | each {|it| try { $it | from nuon } catch { {msg: $it} } | table --expand | print} | ignore lines | each {|it| try { $it | from nuon } catch { {msg: $it} } | table --expand | print} | ignore
} }
export def `diff-all` [...files] {
if ($files | length) < 2 {
error make { msg: "you have to provide at least two files"}
}
let diffs = $files | window 2
mut index = 0
loop {
difft --context 100 ...($diffs | get $index)
match (input -n 1) {
"n" => {
$index = $index + 1
},
"p" => {
$index = $index - 1
},
"q" => {
break
}
}
if $index > ($diffs | length) - 1 {
$index -= 1;
} else if $index < 0 {
$index = 0
}
}
}
def --wrapped with-flag [...flag] { def --wrapped with-flag [...flag] {
if ($in | is-empty) { [] } else { [...$flag $in] } if ($in | is-empty) { [] } else { [...$flag $in] }
} }

@ -70,8 +70,6 @@ keybinds {
unbind "Alt u" unbind "Alt u"
unbind "Alt I" unbind "Alt I"
unbind "Alt a" unbind "Alt a"
unbind "Alt -"
unbind "Alt +"
bind "Ctrl f" { bind "Ctrl f" {
ToggleFocusFullscreen ToggleFocusFullscreen

@ -55,7 +55,6 @@
[user] [user]
email = julius.riegel@unitb.de email = julius.riegel@unitb.de
name = Julius Riegel name = Julius Riegel
signingkey = A8882DF407A6402EEF4F4D18F26D704A1D3394EB
[credential] [credential]
helper = store helper = store
[filter "lfs"] [filter "lfs"]
@ -63,10 +62,6 @@
required = true required = true
clean = git-lfs clean -- %f clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f smudge = git-lfs smudge -- %f
[commit]
gpgSign = true
[tag]
forceSignAnnotated = true
[alias] [alias]
c = commit -s c = commit -s
commit = commit -s commit = commit -s

@ -114,7 +114,6 @@ config.modules = {
}, },
vue = mod { vue = mod {
'nodePackages.vls', 'nodePackages.vls',
'nodePackages.vue-language-server'
}, },
deno = mod { deno = mod {
'deno' 'deno'

Loading…
Cancel
Save