AutoYADM commit: 2025-05-20 17:16:24

This commit is contained in:
Daniel Fichtinger 2025-05-20 17:16:24 -04:00
parent bb57cfb34d
commit ec47b2ed03
2 changed files with 44 additions and 13 deletions

View file

@ -43,9 +43,13 @@ define-command autowrap-toggle -docstring "toggle autowrap" %{
if [ "$kak_opt_autowrap" = "true" ]; then
echo "autowrap-disable"
echo "set-option window autowrap false"
echo "info -title Autowrap 'Window autowrap disabled'"
else
echo "autowrap-enable"
echo "set-option window autowrap true"
echo "info -title Autowrap 'Window autowrap enabled'"
fi
}
}
map -docstring 'toggle autowrap' global ui a ": autowrap-toggle<ret>"