mirror of
https://git.adityakumar.xyz/config.git
synced 2024-12-26 19:42:54 +00:00
17 lines
403 B
Text
17 lines
403 B
Text
|
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
|
||
|
|