summaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-02-24 21:24:06 +1100
committerMaxime Coste <mawww@kakoune.org>2018-02-24 21:32:01 +1100
commit6a6e71dc0f86214eb63dfbc605f648b261137f56 (patch)
tree103522ff8f659af62fab85192f0819a207a6d354 /colors
parenta0de41d165c5e71f7672e44f4f6d2d09aae9d173 (diff)
Highlight cursors differently when they lie on an end of line
When on an end of line, certain behaviours can be surprising, for example delete will join the following line (which makes sense, and is consistent, but hard to predict if we do not know the cursor is on and end of line). As Kakoune is moving more and more towards treating end of lines as any other character, making it clear when the cursor lies on them seems like a good way to reduce surprise.
Diffstat (limited to 'colors')
-rw-r--r--colors/default.kak2
1 files changed, 2 insertions, 0 deletions
diff --git a/colors/default.kak b/colors/default.kak
index 4c2307d3..4a00045c 100644
--- a/colors/default.kak
+++ b/colors/default.kak
@@ -31,6 +31,8 @@ face PrimarySelection white,blue
face SecondarySelection black,blue
face PrimaryCursor black,white
face SecondaryCursor black,white
+face PrimaryCursorEol black,cyan
+face SecondaryCursorEol black,cyan
face LineNumbers default,default
face LineNumberCursor default,default+r
face MenuForeground white,blue