From 264bf22ef493ed15eac02dd7d5dfb308b526cc1d Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Fri, 16 May 2025 14:54:01 -0400 Subject: [PATCH] AutoYADM commit: 2025-05-16 14:54:01 --- .config/kak/kakrc | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) 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