diff options
Diffstat (limited to 'autoload/cursor.kak')
| -rw-r--r-- | autoload/cursor.kak | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/autoload/cursor.kak b/autoload/cursor.kak index 3274dec..6a2e23f 100644 --- a/autoload/cursor.kak +++ b/autoload/cursor.kak @@ -7,3 +7,14 @@ hook global ModeChange .*:insert:.* %{ try %{ unset-face window PrimaryCursor unset-face window PrimaryCursorEol } } + +# set-option global idle_timeout 100 + +# hook global NormalIdle .* %{ +# eval -draft %{ try %{ +# exec ,<a-i>w <a-k>\A\w+\z<ret> +# add-highlighter -override global/curword regex "\b\Q%val{selection}\E\b" 0:CurWord +# } catch %{ +# add-highlighter -override global/curword group +# } } +# } |
