diff --git a/.config/kak/kakrc b/.config/kak/kakrc index e3824458..a23f0135 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -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" # Case-insensitive Search @@ -152,12 +142,16 @@ map -docstring 'case insensitive backward extend-search' global user '' map -docstring 'Select previous menu' global prompt -hook -always global InsertCompletionShow .* %{ - info trigger +hook global InsertCompletionShow .* %{ map window insert map window insert - hook -once window insert InsertCompletionHide .* %{ - map window insert - map window insert + hook -once window InsertCompletionHide .* %{ + unmap window insert + unmap window insert } } + +# a comment + +# another +# commented section