diff options
Diffstat (limited to '.config/kak')
-rw-r--r-- | .config/kak/kakrc | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/.config/kak/kakrc b/.config/kak/kakrc index ff90671..732833a 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -6,14 +6,6 @@ set -add global ui_options terminal_status_on_top=true set global indentwidth 0 set global tabstop 4 -# hook global WinSetOption filetype=python %{ -# set window indentwidth 4 -# hook -once -always window WinSetOption filetype=.* %{ -# set window indentwidth 0 -# } -# } - - map global user <c> ':comment-line<ret>' -docstring 'comment line' # map global user <x> '<a-|>wl-copy<ret>' -docstring 'wl-copy' add-highlighter global/longline column 70 ,rgb:333333 @@ -28,3 +20,17 @@ evaluate-commands %sh{ alias global Wq write-quit alias global W write + + +# eval %sh{kak-lsp --kakoune -s $kak_session} # Not needed if you load it with plug.kak. +# hook global WinSetOption filetype=(c) %{ +# lsp-enable-window +# } +# map global user l %{:enter-user-mode lsp<ret>} -docstring "LSP mode" +# map global insert <tab> '<a-;>:try lsp-snippets-select-next-placeholders catch %{ execute-keys -with-hooks <lt>tab> }<ret>' -docstring 'Select next snippet placeholder' +# map global object a '<a-semicolon>lsp-object<ret>' -docstring 'LSP any symbol' +# map global object <a-a> '<a-semicolon>lsp-object<ret>' -docstring 'LSP any symbol' +# map global object f '<a-semicolon>lsp-object Function Method<ret>' -docstring 'LSP function or method' +# map global object t '<a-semicolon>lsp-object Class Interface Struct<ret>' -docstring 'LSP class interface or struct' +# map global object d '<a-semicolon>lsp-diagnostic-object --include-warnings<ret>' -docstring 'LSP errors and warnings' +# map global object D '<a-semicolon>lsp-diagnostic-object<ret>' -docstring 'LSP errors' |