summaryrefslogtreecommitdiff
path: root/kak/kakrc
diff options
context:
space:
mode:
Diffstat (limited to 'kak/kakrc')
-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
+