AutoYADM commit: 2025-05-16 14:54:01

This commit is contained in:
Daniel Fichtinger 2025-05-16 14:54:01 -04:00
parent b52884da6d
commit 264bf22ef4

View file

@ -131,16 +131,6 @@ def git_blame %{
} }
map -docstring "blame" global git b ": git_blame" map -docstring "blame" global git b ": git_blame"
# declare-option bool lsp_fmt false
# define-command -docstring "format buffer" format-safe %{
# try %sh{
# if [ "$kak_opt_lsp_fmt" = "true" ]; then
# echo "lsp-formatting"
# else
# echo "format"
# } catch %{ echo "Couldn't format" }
# }
map -docstring "format" global user F ": format<ret>" map -docstring "format" global user F ": format<ret>"
# Case-insensitive Search # Case-insensitive Search
@ -152,12 +142,16 @@ map -docstring 'case insensitive backward extend-search' global user '<a-?>' <a-
# Arrow keys for menu selections # Arrow keys for menu selections
map -docstring 'Select next menu' global prompt <down> <tab> map -docstring 'Select next menu' global prompt <down> <tab>
map -docstring 'Select previous menu' global prompt <up> <s-tab> map -docstring 'Select previous menu' global prompt <up> <s-tab>
hook -always global InsertCompletionShow .* %{ hook global InsertCompletionShow .* %{
info trigger
map window insert <down> <c-n> map window insert <down> <c-n>
map window insert <up> <c-p> map window insert <up> <c-p>
hook -once window insert InsertCompletionHide .* %{ hook -once window InsertCompletionHide .* %{
map window insert <down> <down> unmap window insert <down>
map window insert <up> <up> unmap window insert <up>
} }
} }
# a comment
# another
# commented section