summaryrefslogtreecommitdiff
path: root/.config/kak
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2021-08-24 21:50:24 +0400
committerAndrew <saintruler@gmail.com>2021-08-24 21:50:24 +0400
commit0a9d0037bbdf52a1367fbd7425a8e955a878bee1 (patch)
treea6d14336679e41b96166777728c67660b6491414 /.config/kak
parent746cbf111a236257a330d9533e3c804bc19c35c7 (diff)
Added shortcut in kakoune for LSP mode
Diffstat (limited to '.config/kak')
-rw-r--r--.config/kak/kakrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/kak/kakrc b/.config/kak/kakrc
index 59610d8..8081ba4 100644
--- a/.config/kak/kakrc
+++ b/.config/kak/kakrc
@@ -13,8 +13,10 @@ add-highlighter global/ number-lines -min-digits 3
map global normal <c-p> ': fzf-mode <ret>'
map global normal <c-k> ': comment-line <ret>'
+
map global user y '<a-|> xclip -i -selection clipboard <ret>' -docstring 'yank to system clipboard'
map global user f '| par -w80 <ret>' -docstring 'reformat selection with external tool'
+map global user l %{: enter-user-mode lsp <ret>} -docstring 'LSP mode'
eval %sh{kak-lsp --kakoune -s $kak_session}