First commit
This commit is contained in:
commit
847c9e64c0
51 changed files with 4058 additions and 0 deletions
7
.config/kak/tools/lazygit.kak
Normal file
7
.config/kak/tools/lazygit.kak
Normal file
|
@ -0,0 +1,7 @@
|
|||
# https://github.com/jesseduffield/lazygit
|
||||
|
||||
define-command lazygit %{
|
||||
popup lazygit
|
||||
}
|
||||
|
||||
alias global lg lazygit
|
21
.config/kak/tools/xplr.kak
Normal file
21
.config/kak/tools/xplr.kak
Normal 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}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue