First commit

This commit is contained in:
James Dugan 2025-02-04 21:06:01 -07:00
commit 847c9e64c0
51 changed files with 4058 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# https://github.com/jesseduffield/lazygit
define-command lazygit %{
popup lazygit
}
alias global lg lazygit

View file

@ -0,0 +1,21 @@
# https://xplr.dev/
# Seriously, xplr is awesome. Get it if you haven't already.
define-command xplr-open -params 1 %{
evaluate-commands %sh{
for xplr_file in $1; do
if [ -f "$xplr_file" ]; then
printf "%s\n" "edit $xplr_file"
fi
done
}
} -hidden
define-command xplr -params ..1 %{
popup --title open --kak-script %{ xplr-open %opt{popup_output} } -- xplr %arg{@}
}
# Utility command to edit a kak config file with xplr
define-command edit-config %{
xplr %val{config}
}