AutoYADM commit: 2025-05-16 14:54:01
This commit is contained in:
parent
b52884da6d
commit
264bf22ef4
1 changed files with 9 additions and 15 deletions
|
@ -131,16 +131,6 @@ def 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>"
|
||||
|
||||
# Case-insensitive Search
|
||||
|
@ -152,12 +142,16 @@ map -docstring 'case insensitive backward extend-search' global user '<a-?>' <a-
|
|||
# Arrow keys for menu selections
|
||||
map -docstring 'Select next menu' global prompt <down> <tab>
|
||||
map -docstring 'Select previous menu' global prompt <up> <s-tab>
|
||||
hook -always global InsertCompletionShow .* %{
|
||||
info trigger
|
||||
hook global InsertCompletionShow .* %{
|
||||
map window insert <down> <c-n>
|
||||
map window insert <up> <c-p>
|
||||
hook -once window insert InsertCompletionHide .* %{
|
||||
map window insert <down> <down>
|
||||
map window insert <up> <up>
|
||||
hook -once window InsertCompletionHide .* %{
|
||||
unmap window insert <down>
|
||||
unmap window insert <up>
|
||||
}
|
||||
}
|
||||
|
||||
# a comment
|
||||
|
||||
# another
|
||||
# commented section
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue