feat: update kdl and helix

This commit is contained in:
2025-08-04 11:10:27 +02:00
parent 328a01d5be
commit 02dc30968a
3 changed files with 19 additions and 9 deletions

View File

@@ -6,6 +6,10 @@ mouse = false
true-color = true true-color = true
end-of-line-diagnostics = "hint" end-of-line-diagnostics = "hint"
[editor.clipboard-provider.custom]
yank = { command = "voidpin", args = ["paste"] }
paste = { command = "voidpin", args = ["copy"] }
[editor.inline-diagnostics] [editor.inline-diagnostics]
cursor-line = "warning" # show warnings and errors on the cursorline inline cursor-line = "warning" # show warnings and errors on the cursorline inline
@@ -17,3 +21,14 @@ hidden = false
[keys.select."space".v] [keys.select."space".v]
"c" = ":pipe-to voidpin remote copy" "c" = ":pipe-to voidpin remote copy"
[keys.normal.space.o]
e = [
":sh rm -f /tmp/unique-file-h21a434",
":insert-output noil edit '%{buffer_name}' --chooser-file=/tmp/unique-file-h21a434 --commit --quiet < /dev/tty",
":insert-output echo \"x1b[?1049h\" > /dev/tty",
":open %sh{cat /tmp/unique-file-h21a434}",
":redraw",
':set mouse false',
':set mouse true',
]

View File

@@ -278,13 +278,7 @@ default_layout "compact"
// //
// copy_command "xclip -selection clipboard" // x11 // copy_command "xclip -selection clipboard" // x11
{{ if .homebrew }} copy_command "voidpin copy"
copy_command "pbcopy"
{{ else }}
copy_command "wl-copy" // wayland
{{ end }}
// Choose the destination for copied text // Choose the destination for copied text
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard. // Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.

View File

@@ -7,9 +7,10 @@ Host github.com
ForwardAgent yes ForwardAgent yes
{{ if .homebrew -}} {{ if .homebrew -}}
UseKeychain yes UseKeychain yes
{{ end -}} {{ else }}
IdentitiesOnly yes IdentitiesOnly yes
IdentityFile ~/.ssh/github IdentityFile ~/.ssh/github
{{ end }}
Host front Host front
Hostname 10.0.9.0 Hostname 10.0.9.0
@@ -42,7 +43,7 @@ Host server
IdentityFile ~/.ssh/id_clank IdentityFile ~/.ssh/id_clank
Host nef Host nef
Hostname 192.168.96.153 Hostname 192.168.89.204
User kjuulh User kjuulh
PubKeyAuthentication yes PubKeyAuthentication yes
IdentitiesOnly yes IdentitiesOnly yes