kakoune: use different cursor color in insert mode
This commit is contained in:
parent
c4c900a48a
commit
846c58788e
2 changed files with 17 additions and 1 deletions
|
|
@ -2,6 +2,16 @@ set global idle_timeout 500
|
|||
|
||||
enable-auto-pairs
|
||||
|
||||
hook -group tell-mode global ModeChange push:.*:insert %{
|
||||
set-face window PrimaryCursor %opt{cursor_insert_face}
|
||||
set-face window PrimaryCursorEol %opt{cursor_insert_face}
|
||||
}
|
||||
|
||||
hook -group tell-mode global ModeChange pop:insert:.* %{
|
||||
set-face window PrimaryCursor %opt{cursor_normal_face}
|
||||
set-face window PrimaryCursorEol %opt{cursor_normal_face}
|
||||
}
|
||||
|
||||
hook global NormalIdle .* %{ evaluate-commands %sh{
|
||||
hex_with_size() {
|
||||
for i in 3 4 6 8; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue