From 2681099a1af7bbf1421dbad3e80ede1e7a5c4e61 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 11 Aug 2024 12:24:11 +0100 Subject: misc --- .config/kak/kakrc | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to '.config/kak/kakrc') 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 ':comment-line' -docstring 'comment line' # map global user 'wl-copy' -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} -docstring "LSP mode" +# map global insert ':try lsp-snippets-select-next-placeholders catch %{ execute-keys -with-hooks tab> }' -docstring 'Select next snippet placeholder' +# map global object a 'lsp-object' -docstring 'LSP any symbol' +# map global object 'lsp-object' -docstring 'LSP any symbol' +# map global object f 'lsp-object Function Method' -docstring 'LSP function or method' +# map global object t 'lsp-object Class Interface Struct' -docstring 'LSP class interface or struct' +# map global object d 'lsp-diagnostic-object --include-warnings' -docstring 'LSP errors and warnings' +# map global object D 'lsp-diagnostic-object' -docstring 'LSP errors' -- cgit v1.2.3