summaryrefslogtreecommitdiff
path: root/kak
diff options
context:
space:
mode:
authorAditya <bluenerd@protonmail.com>2023-02-27 10:04:44 +0530
committerAditya <bluenerd@protonmail.com>2023-02-27 10:04:44 +0530
commit464740a85d4ad185d0175dde3a3103f642e7797e (patch)
tree380dc550388001167b6e39aaa57872831a7b7b30 /kak
parent8208aa13cf77dd38c0d3d5f868aa148ea2d478a5 (diff)
add kakoune
Diffstat (limited to 'kak')
-rw-r--r--kak/kakrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/kak/kakrc b/kak/kakrc
new file mode 100644
index 0000000..23573cc
--- /dev/null
+++ b/kak/kakrc
@@ -0,0 +1,16 @@
+hook global InsertCompletionShow .* %{
+ try %{
+ map window insert <tab> <c-n>
+ map window insert <s-tab> <c-p>
+ hook -once -always window InsertCompletionHide .* %{
+ map window insert <tab> <tab>
+ map window insert <s-tab> <s-tab>
+ }
+ }
+}
+
+hook global InsertChar \t %{ exec -draft -itersel h@ }
+set global tabstop 2
+set global indentwidth 2
+add-highlighter global/ number-lines
+