aboutsummaryrefslogtreecommitdiff
path: root/autoload/+init.kak
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-10-25 14:22:08 +0530
committerAkshay Nair <phenax5@gmail.com>2025-10-25 14:22:08 +0530
commitbf40ceb853eb590100fe5a82709d8be3b6c59d8d (patch)
treec36da5e5b4b898a90ddef52b7245c6b39e6e9867 /autoload/+init.kak
parentaded6f2aebaacfd2face07831a76b7a91f76127a (diff)
downloadkakoune-config-bf40ceb853eb590100fe5a82709d8be3b6c59d8d.tar.gz
kakoune-config-bf40ceb853eb590100fe5a82709d8be3b6c59d8d.zip
Disable word under cursor highlighting
Diffstat (limited to 'autoload/+init.kak')
-rw-r--r--autoload/+init.kak10
1 files changed, 0 insertions, 10 deletions
diff --git a/autoload/+init.kak b/autoload/+init.kak
index 4012f0f..497e5a3 100644
--- a/autoload/+init.kak
+++ b/autoload/+init.kak
@@ -64,16 +64,6 @@ define-command enter-user-mode-with-count -params 1 %{
enter-user-mode %arg{1}
}
-# Mode cursors
-hook global ModeChange .*:.*:insert %{
- set-face window PrimaryCursor InsertCursor
- set-face window PrimaryCursorEol InsertCursor
-}
-hook global ModeChange .*:insert:.* %{ try %{
- unset-face window PrimaryCursor
- unset-face window PrimaryCursorEol
-} }
-
# Code mode
declare-user-mode code
map global user c ':enter-user-mode code<ret>' -docstring 'Code mode'