summaryrefslogtreecommitdiff
path: root/alacritty/alacritty.yml
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/alacritty.yml')
-rw-r--r--alacritty/alacritty.yml193
1 files changed, 117 insertions, 76 deletions
diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml
index d09b2fb..06285c5 100644
--- a/alacritty/alacritty.yml
+++ b/alacritty/alacritty.yml
@@ -101,82 +101,76 @@ env:
# Scrolling distance multiplier.
#multiplier: 3
-## Font configuration
+# Font configuration
font:
- size: 7
-
- #
- #TODO I'd like to restore this font configuration, but I can't cause nix
- #doesn't play nicely with fontconfig
- #font:
- # # Normal (roman) font face
- # normal:
- # # Font family
- # #
- # # Default:
- # # - (macOS) Menlo
- # # - (Linux/BSD) monospace
- # # - (Windows) Consolas
- # family: Source Code Pro
- #
- # # The `style` can be specified to pick a specific face.
- # style: Regular
- #
- # # Bold font face
- # bold:
- # # Font family
- # #
- # # If the bold family is not specified, it will fall back to the
- # # value specified for the normal font.
- # family: Source Code Pro
- #
- # # The `style` can be specified to pick a specific face.
- # style: Bold
- #
- # # Italic font face
- # italic:
- # # Font family
- # #
- # # If the italic family is not specified, it will fall back to the
- # # value specified for the normal font.
- # family: Source Code Pro
- #
- # # The `style` can be specified to pick a specific face.
- # style: Italic
- #
- # # Bold italic font face
- # bold_italic:
- # # Font family
- # #
- # # If the bold italic family is not specified, it will fall back to the
- # # value specified for the normal font.
- # family: Source Code Pro
- #
- # # The `style` can be specified to pick a specific face.
- # style: Bold Italic
- #
- # # Point size
- # size: 6.3
- #
- # # Offset is the extra space around each character. `offset.y` can be thought
- # # of as modifying the line spacing, and `offset.x` as modifying the letter
- # # spacing.
- # #offset:
- # # x: 0
- # # y: 0
- #
- # # Glyph offset determines the locations of the glyphs within their cells with
- # # the default being at the bottom. Increasing `x` moves the glyph to the
- # # right, increasing `y` moves the glyph upward.
- # #glyph_offset:
- # # x: 0
- # # y: 0
- #
- # # Thin stroke font rendering (macOS only)
- # #
- # # Thin strokes are suitable for retina displays, but for non-retina screens
- # # it is recommended to set `use_thin_strokes` to `false`.
- # #use_thin_strokes: true
+ # Normal (roman) font face
+ normal:
+ # Font family
+ #
+ # Default:
+ # - (macOS) Menlo
+ # - (Linux/BSD) monospace
+ # - (Windows) Consolas
+ family: "Source Code Pro"
+
+ # The `style` can be specified to pick a specific face.
+ style: Regular
+
+ # Bold font face
+ bold:
+ # Font family
+ #
+ # If the bold family is not specified, it will fall back to the
+ # value specified for the normal font.
+ family: "Source Code Pro"
+
+ # The `style` can be specified to pick a specific face.
+ style: Bold
+
+ # Italic font face
+ italic:
+ # Font family
+ #
+ # If the italic family is not specified, it will fall back to the
+ # value specified for the normal font.
+ family: "Source Code Pro"
+
+ # The `style` can be specified to pick a specific face.
+ style: Italic
+
+ # Bold italic font face
+ bold_italic:
+ # Font family
+ #
+ # If the bold italic family is not specified, it will fall back to the
+ # value specified for the normal font.
+ family: "Source Code Pro"
+
+ # The `style` can be specified to pick a specific face.
+ style: Bold Italic
+
+ # Point size
+ size: 6.3
+
+ # Offset is the extra space around each character. `offset.y` can be thought
+ # of as modifying the line spacing, and `offset.x` as modifying the letter
+ # spacing.
+ #offset:
+ # x: 0
+ # y: 0
+
+ # Glyph offset determines the locations of the glyphs within their cells with
+ # the default being at the bottom. Increasing `x` moves the glyph to the
+ # right, increasing `y` moves the glyph upward.
+ #glyph_offset:
+ # x: 0
+ # y: 0
+
+ # Thin stroke font rendering (macOS only)
+ #
+ # Thin strokes are suitable for retina displays, but for non-retina screens
+ # it is recommended to set `use_thin_strokes` to `false`.
+ #use_thin_strokes: true
# If `true`, bold text is drawn using the bright color variants.
#draw_bold_text_with_bright_colors: false
@@ -855,7 +849,54 @@ colors:
# - Info
# - Debug
# - Trace
- #log_level: Warn
+ #log_level: Trace
# Print all received window events.
#print_events: false
+
+# Hints
+#
+# Terminal hints can be used to find text or hyperlink in the visible part of
+# the terminal and pipe it to other applications.
+#hints:
+ # Keys used for the hint labels.
+ #alphabet: "jfkdls;ahgurieowpq"
+
+ # List with all available hints
+ #
+ # Each hint must have any of `regex` or `hyperlinks` field and either an
+ # `action` or a `command` field. The fields `mouse`, `binding` and
+ # `post_processing` are optional.
+ #
+ # The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be
+ # highlighted.
+ #
+ # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
+ # `mouse.mods` accept the same values as they do in the `key_bindings` section.
+ #
+ # The `mouse.enabled` field controls if the hint should be underlined while
+ # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
+ #
+ # If the `post_processing` field is set to `true`, heuristics will be used to
+ # shorten the match if there are characters likely not to be part of the hint
+ # (e.g. a trailing `.`). This is most useful for URIs and applies only to
+ # `regex` matches.
+ #
+ # Values for `action`:
+ # - Copy
+ # Copy the hint's text to the clipboard.
+ # - Paste
+ # Paste the hint's text to the terminal or search.
+ # - Select
+ # Select the hint's text.
+ # - MoveViModeCursor
+ # Move the vi mode cursor to the beginning of the hint.
+ #enabled:
+ # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
+ # hyperlinks: true
+ # command: xdg-open
+ # post_processing: true
+ # mouse:
+ # enabled: true
+ # mods: None
+hints: $HINTS