aboutsummaryrefslogtreecommitdiff
path: root/alacritty.yml
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-07-09 21:45:22 +0000
committerGitHub <noreply@github.com>2020-07-09 21:45:22 +0000
commit46c0f352c40ecb68653421cb178a297acaf00c6d (patch)
tree3e1985f8237f7c8268703634f8c8ccb25f7823a5 /alacritty.yml
parent9974bc8baa45fda0b4ba3db2ae615fb7f90f7029 (diff)
downloadalacritty-46c0f352c40ecb68653421cb178a297acaf00c6d.tar.gz
alacritty-46c0f352c40ecb68653421cb178a297acaf00c6d.zip
Add regex scrollback buffer search
This adds a new regex search which allows searching the entire scrollback and jumping between matches using the vi mode. All visible matches should be highlighted unless their lines are excessively long. This should help with performance since highlighting is done during render time. Fixes #1017.
Diffstat (limited to 'alacritty.yml')
-rw-r--r--alacritty.yml56
1 files changed, 43 insertions, 13 deletions
diff --git a/alacritty.yml b/alacritty.yml
index 2fb3b59f..ed6feafc 100644
--- a/alacritty.yml
+++ b/alacritty.yml
@@ -176,28 +176,48 @@
# Cursor colors
#
- # Colors which should be used to draw the terminal cursor. If these are
- # unset, the cursor color will be the inverse of the cell color.
+ # Colors which should be used to draw the terminal cursor.
+ #
+ # Allowed values are CellForeground and CellBackground, which reference the
+ # affected cell, or hexadecimal colors like #ff00ff.
#cursor:
- # text: '#000000'
- # cursor: '#ffffff'
+ # text: CellBackground
+ # cursor: CellForeground
# Vi mode cursor colors
#
- # Colors for the cursor when the vi mode is active. If these are unset, the
- # cursor color will be the inverse of the cell color.
+ # Colors for the cursor when the vi mode is active.
+ #
+ # Allowed values are CellForeground and CellBackground, which reference the
+ # affected cell, or hexadecimal colors like #ff00ff.
#vi_mode_cursor:
- # text: '#000000'
- # cursor: '#ffffff'
+ # text: CellBackground
+ # cursor: CellForeground
# Selection colors
#
- # Colors which should be used to draw the selection area. If selection
- # background is unset, selection color will be the inverse of the cell colors.
- # If only text is unset the cell text color will remain the same.
+ # 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: '#eaeaea'
- # background: '#404040'
+ # text: CellBackground
+ # background: CellForeground
+
+ # Search colors
+ #
+ # Colors used for the search bar and match highlighting.
+ #
+ # Allowed values are CellForeground and CellBackground, which reference the
+ # affected cell, or hexadecimal colors like #ff00ff.
+ #search:
+ # matches:
+ # foreground: '#000000'
+ # background: '#ffffff'
+ #
+ # bar:
+ # background: CellForeground
+ # foreground: CellBackground
# Normal colors
#normal:
@@ -445,6 +465,8 @@
# - `action`: Execute a predefined action
#
# - ToggleViMode
+# - Search
+# - SearchReverse
# - Copy
# - Paste
# - PasteSelection
@@ -495,6 +517,10 @@
# - ToggleLineSelection
# - ToggleBlockSelection
# - ToggleSemanticSelection
+# - SearchNext
+# - SearchPrevious
+# - SearchEndNext
+# - SearchEndPrevious
#
# (macOS only):
# - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
@@ -595,6 +621,10 @@
#- { key: W, mods: Shift, mode: Vi, action: WordRight }
#- { key: E, mods: Shift, mode: Vi, action: WordRightEnd }
#- { key: Key5, mods: Shift, mode: Vi, action: Bracket }
+ #- { key: Slash, mode: Vi, action: Search }
+ #- { key: Slash, mods: Shift, mode: Vi, action: SearchReverse }
+ #- { key: N, mode: Vi, action: SearchNext }
+ #- { key: N, mods: Shift, mode: Vi, action: SearchPrevious }
# (Windows, Linux, and BSD only)
#- { key: V, mods: Control|Shift, action: Paste }