AutoYADM commit: 2025-05-13 19:35:01
This commit is contained in:
parent
66530735f4
commit
3885ef1b9d
1 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,6 @@ eval %sh{ kak-tree-sitter -vvvvv -dks --init $kak_session }
|
|||
colorscheme ashen
|
||||
set-option global ashen_dynamic_cursor true
|
||||
set-option global ashen_eol_cursor true
|
||||
|
||||
# disable clippy
|
||||
set-option global ui_options terminal_assistant=none
|
||||
|
||||
|
@ -55,7 +54,7 @@ define-command ui-wrap-disable -docstring "disable wrap" %{
|
|||
define-command -override ui-wrap-toggle -docstring "toggle wrap" %{
|
||||
try %{ ui-wrap-enable } catch %{ ui-wrap-disable }
|
||||
}
|
||||
map -docstring "Wrap UI" global ui w ": ui-wrap-toggle<ret>"
|
||||
map -docstring "toggle soft wrap" global ui w ": ui-wrap-toggle<ret>"
|
||||
|
||||
declare-option str base_scrolloff %opt{scrolloff}
|
||||
|
||||
|
@ -75,7 +74,7 @@ define-command ui-scrolloff-toggle -docstring "toggle scrolloff" %{
|
|||
}
|
||||
}
|
||||
|
||||
map global ui z ": ui-scrolloff-toggle<ret>"
|
||||
map -docstring 'toggle screen centering' global ui z ": ui-scrolloff-toggle<ret>"
|
||||
|
||||
declare-option bool autowrap false
|
||||
|
||||
|
@ -91,7 +90,7 @@ define-command autowrap-toggle -docstring "toggle autowrap" %{
|
|||
}
|
||||
}
|
||||
|
||||
map global ui a ": autowrap-toggle<ret>"
|
||||
map -docstring "toggle autowrap" global ui a ": autowrap-toggle<ret>"
|
||||
|
||||
hook global WinCreate .* %{
|
||||
ui-wrap-enable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue