kakoune: open using nnn and open/create in dir
This commit is contained in:
4
kakoune/bin/nnn-kak-edit
Executable file
4
kakoune/bin/nnn-kak-edit
Executable 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"
|
||||
Reference in New Issue
Block a user