kakoune: open using nnn and open/create in dir

This commit is contained in:
2026-05-08 10:54:42 +02:00
parent 5f37235a4c
commit c5c64b9247
2 changed files with 16 additions and 0 deletions

4
kakoune/bin/nnn-kak-edit Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
cd "$(dirname $1)"
exec nnn -A -p - | awk "{print \"evaluate-commands -client $3 edit\", \$1 }" | kak -p "$2"