AutoYADM commit: 2025-05-20 17:16:24
This commit is contained in:
parent
bb57cfb34d
commit
ec47b2ed03
2 changed files with 44 additions and 13 deletions
|
@ -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>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue