summaryrefslogtreecommitdiff
path: root/kak/kakrc
blob: 23573cc2281f3c31ac4a1d9adb5d4aac03025830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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