21 lines
573 B
Text
21 lines
573 B
Text
|
add-highlighter global/ number-lines -separator ' '
|
||
|
set-face global LineNumbers rgb:ffff54
|
||
|
set global ui_options terminal_assistant=none
|
||
|
|
||
|
#auto completion
|
||
|
hook global InsertCompletionShow .* %{
|
||
|
map window insert <tab> <c-n>
|
||
|
map window insert <s-tab> <c-p>
|
||
|
}
|
||
|
|
||
|
hook global InsertCompletionHide .* %{
|
||
|
unmap window insert <tab> <c-n>
|
||
|
unmap window insert <s-tab> <c-p>
|
||
|
}
|
||
|
|
||
|
hook global WinSetOption .* %{
|
||
|
expandtab # must be before softtabstop
|
||
|
set-option buffer indentwidth 4
|
||
|
set-option global softtabstop 4 # number of spaces to delete on backspace
|
||
|
}
|