Gave kakoune clipboard support
This commit is contained in:
parent
2b708f36c8
commit
bdfe2a9cf3
1 changed files with 8 additions and 0 deletions
|
@ -2,6 +2,10 @@ add-highlighter global/ number-lines -separator ' '
|
||||||
set-face global LineNumbers rgb:ffff54
|
set-face global LineNumbers rgb:ffff54
|
||||||
set global ui_options terminal_assistant=none
|
set global ui_options terminal_assistant=none
|
||||||
|
|
||||||
|
map global normal P '!wl-paste -n<ret>'
|
||||||
|
map global normal p '<a-!>wl-paste -n<ret>'
|
||||||
|
map global normal R '|wl-paste -n<ret>'
|
||||||
|
|
||||||
#auto completion
|
#auto completion
|
||||||
hook global InsertCompletionShow .* %{
|
hook global InsertCompletionShow .* %{
|
||||||
map window insert <tab> <c-n>
|
map window insert <tab> <c-n>
|
||||||
|
@ -18,3 +22,7 @@ hook global WinSetOption .* %{
|
||||||
set-option buffer indentwidth 4
|
set-option buffer indentwidth 4
|
||||||
set-option global softtabstop 4 # number of spaces to delete on backspace
|
set-option global softtabstop 4 # number of spaces to delete on backspace
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hook global RegisterModified '"' %{ nop %sh{
|
||||||
|
printf %s "$kak_main_reg_dquote" | wl-copy > /dev/null 2>&1 &
|
||||||
|
}}
|
||||||
|
|
Loading…
Reference in a new issue