diff options
author | ubq323 <ubq323@ubq323.website> | 2024-08-11 12:24:11 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-08-11 12:24:11 +0100 |
commit | 2681099a1af7bbf1421dbad3e80ede1e7a5c4e61 (patch) | |
tree | 3163facc8338ea92955c754d17838ae8e55bf1ad /.config/kak | |
parent | 7bd1c144e0eac89812ce3ada28245d09ba406104 (diff) |
misc
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' |