My configurations for the software I use
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix keybind clobbering so we can use lsp-snippets

yemou c6d2209c 3d554f2c

+9 -8
+9 -8
config/kak/kakrc
··· 15 15 hook global WinSetOption filetype=(c|cpp|erlang|go|java|javascript|nix|python|roc|typst|zig) %{ 16 16 lsp-enable-window 17 17 18 - map global user l %{:enter-user-mode lsp<ret>} -docstring 'Enter kak-lsp mode' 18 + map global user l ':enter-user-mode lsp<ret>' -docstring 'Enter kak-lsp mode' 19 19 map global insert -docstring %{ 20 20 Select next snippet placeholder 21 - } <tab> '<a-;>:try lsp-snippets-select-next-placeholders catch %{execute-keys -with-hooks <lt>tab> }<ret>' 22 - 21 + } <c-space> '<a-semicolon>:lsp-snippets-select-next-placeholders<ret>' 23 22 map global object a '<a-semicolon>lsp-object<ret>' -docstring 'LSP any symbol' 24 23 map global object <a-a> '<a-semicolon>lsp-object<ret>' -docstring 'LSP any symbol' 25 24 map global object f '<a-semicolon>lsp-object Function Method<ret>' -docstring 'LSP function or method' ··· 111 110 m-whitespace %{ 112 111 evaluate-commands %sh{ 113 112 [ "$1" = tabs ] \ 114 - && printf '%s\n' "eval map window insert <tab> <tab>" \ 115 - "eval set window indentwidth 0" \ 116 - "eval set window tabstop $2" 113 + && printf '%s\n' \ 114 + "eval set window indentwidth 0" \ 115 + "eval set window tabstop $2" \ 116 + "eval map window insert <tab> <tab>" 117 117 118 118 [ "$1" = spaces ] && { 119 119 s=0 ··· 123 123 s=$((s+1)) 124 124 done 125 125 126 - printf '%s\n' "eval map window insert <tab> \"$size\"" \ 127 - "eval set window indentwidth $2" 126 + printf '%s\n' \ 127 + "eval set window indentwidth $2" \ 128 + "eval map window insert <tab> \"$size\"" 128 129 } 129 130 } 130 131 }