add kakoune config

This commit is contained in:
Johann Dreo 2021-04-04 12:02:26 +02:00
commit 558a6cfd90
7 changed files with 484 additions and 9 deletions

11
kak_ide_open_at_line.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
file="$1"
line="$2"
if kak -l | grep -q "ide" ; then
# Open files in the `main` window of the `ide` session of kakoune.
echo "evaluate-commands -client main edit ${file} ${line}" | kak -p ide
else
terminator -p kakoune -e kak -s ide +${line} ${file}
fi