AutoYADM commit: 2025-06-06 15:55:04

This commit is contained in:
Daniel Fichtinger 2025-06-06 15:55:04 -04:00
parent b0d59bbcb9
commit 9c2bf2b566
2 changed files with 21 additions and 6 deletions

View file

@ -185,3 +185,18 @@ define-command -docstring 'open popup shell' popup-shell %{
alias global pp popup-shell
map -docstring 'popup shell' global user . ': popup-shell<ret>'
# hook -once global ClientCreate .* %{
# evaluate-commands %sh{
# if [ "$kak_buflist" != "*debug* *scratch*" ]; then
# echo "delete-buffer *scratch*"
# else
# echo "echo -debug dumping buffers"
# echo "echo -debug %val{buflist}"
# fi
# }
# }
hook -once global BufCreate ^(?!(\*scratch\*|\*debug\*)) %{
delete-buffer *scratch*
}