summaryrefslogtreecommitdiff
path: root/config/kak/kakrc
diff options
context:
space:
mode:
Diffstat (limited to 'config/kak/kakrc')
-rw-r--r--config/kak/kakrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/config/kak/kakrc b/config/kak/kakrc
index 16f10e1..cb7cad4 100644
--- a/config/kak/kakrc
+++ b/config/kak/kakrc
@@ -28,7 +28,7 @@ hook global BufSetOption filetype=(javascript|typescript|elixir|haskell|rust|mar
}
hook global BufSetOption filetype=(terraform|ocaml|elixir|nix) %{
- hook buffer BufWritePre .* %{lsp-formatting-sync}
+ hook buffer BufWritePost .* %{lsp-formatting-sync}
}
eval %sh{kak-lsp --kakoune -s $kak_session}
@@ -63,9 +63,6 @@ map global object D '<a-semicolon>lsp-diagnostic-object<ret>' -docstring 'LSP er
map global object h '<a-semicolon>lsp-diagnostic-object<ret>' -docstring 'LSP errors'
map global user k ':lsp-hover<ret>' -docstring 'LSP errors'
map global normal \' ":"
-map global normal <a-n> ":"
-map global insert <a-n> ":"
-map global insert <a-e> "<esc>"
map global insert <a-k> "<a-;>:lsp-signature-help<ret>"