summaryrefslogtreecommitdiff
path: root/alacritty.yml
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-01-01 05:19:03 +0000
committerGitHub <noreply@github.com>2021-01-01 05:19:03 +0000
commita1e2d6a5573d967aaceeadaefa17b6a00a2e4ca4 (patch)
tree5bdda93b515ad95a57487b266b021507bbc6b049 /alacritty.yml
parent8ed72cc065255007a7f0687e3b8a540e8c6202c6 (diff)
downloadalacritty-a1e2d6a5573d967aaceeadaefa17b6a00a2e4ca4.tar.gz
alacritty-a1e2d6a5573d967aaceeadaefa17b6a00a2e4ca4.zip
Add vi/search line indicator
This adds a new visual indicator which shows the position in history of either the display offset during search, or the vi mode cursor. To make it as unintrusive as possible, the overlay is hidden whenever the vi mode cursor collides with its position. Fixes #3984.
Diffstat (limited to 'alacritty.yml')
-rw-r--r--alacritty.yml30
1 files changed, 20 insertions, 10 deletions
diff --git a/alacritty.yml b/alacritty.yml
index cb16bf7c..4a23f5c9 100644
--- a/alacritty.yml
+++ b/alacritty.yml
@@ -211,16 +211,6 @@
# text: CellBackground
# cursor: CellForeground
- # Selection colors
- #
- # Colors which should be used to draw the selection area.
- #
- # Allowed values are CellForeground and CellBackground, which reference the
- # affected cell, or hexadecimal colors like #ff00ff.
- #selection:
- # text: CellBackground
- # background: CellForeground
-
# Search colors
#
# Colors used for the search bar and match highlighting.
@@ -238,6 +228,26 @@
# background: '#c5c8c6'
# foreground: '#1d1f21'
+ # Line indicator
+ #
+ # Color used for the indicator displaying the position in history during
+ # search and vi mode.
+ #
+ # By default, these will use the opposing primary color.
+ #line_indicator:
+ # foreground: None
+ # background: None
+
+ # Selection colors
+ #
+ # Colors which should be used to draw the selection area.
+ #
+ # Allowed values are CellForeground and CellBackground, which reference the
+ # affected cell, or hexadecimal colors like #ff00ff.
+ #selection:
+ # text: CellBackground
+ # background: CellForeground
+
# Normal colors
#normal:
# black: '#1d1f21'