Skip to content

Commit

Permalink
Adds additional alacritty.yml config from v0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
4cm4k1 committed Dec 12, 2018
1 parent 79eab7a commit 0e5833a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 10 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## 1.0.0

- Adds `.github` configuration files
- Adds `alacritty.yml`
- Adds `alacritty.yml`, plus additional config from [`v0.2.4`](https://github.com/jwilm/alacritty/releases/tag/v0.2.4)
- Removes `.babelrc`, `.html-minifier.json`, and `.mongorc.js`
- Moves `renovate.json` config into `package.json`
- Moves `pre-commit` Git hook into `husky` config in `package.json`
Expand Down
1 change: 1 addition & 0 deletions files/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ brew "dart-lang/dart/dart"
brew "vitorgalvao/tiny-scripts/cask-repair"
cask "1password-beta"
cask "1password-cli"
cask "alacritty"
cask "alfred"
cask "android-studio-preview"
cask "appcleaner"
Expand Down
40 changes: 31 additions & 9 deletions files/alacritty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ window:
# Specified in number of columns/lines, not pixels.
# If both are `0`, this setting is ignored.
dimensions:
columns: 80
lines: 24
columns: 120
lines: 36

# Window padding (changes require restart)
#
Expand All @@ -29,6 +29,9 @@ window:
x: 10
y: 10

# Spread additional padding evenly around the terminal content.
dynamic_padding: true

# Window decorations
#
# Available values:
Expand All @@ -47,6 +50,9 @@ window:
# - transparent: Title bar, transparent background, but no title bar buttons
decorations: full

# When true, alacritty starts maximized.
start_maximized: false

scrolling:
# Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling.
Expand Down Expand Up @@ -83,22 +89,22 @@ font:
normal:
family: Noto Sans Mono
# The `style` can be specified to pick a specific face.
style: Regular
style: Light

# Bold font face
bold:
family: Noto Sans Mono
# The `style` can be specified to pick a specific face.
style: Bold
style: Medium

# Italic font face
italic:
family: Noto Sans Mono
# The `style` can be specified to pick a specific face.
style: Thin
style: ExtraLight

# Point size
size: 14.0
size: 12.0

# 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.
Expand All @@ -117,15 +123,28 @@ font:
#
# Thin strokes are suitable for retina displays, but for non-retina screens
# it is recommended to set `use_thin_strokes` to `false`
#
# macOS >= 10.14.x:
#
# If the font quality on non-retina display looks bad then set
# `use_thin_strokes` to `true` and enable font smoothing by running the
# following command:
# `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
#
# This is a global setting and will require a log out or restart to take
# effect.
use_thin_strokes: true

# Display the time it takes to redraw each frame.
render_timer: false

# Keep the log file after quitting Alacritty.
persistent_logging: false

# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true

# Colors (Snazzy)
# Colors (Tomorrow Night Bright) - edited to use Snazzy color scheme
colors:
# Default colors
primary:
Expand Down Expand Up @@ -213,7 +232,7 @@ colors:
# Specifying a `duration` of `0` will disable the visual bell.
visual_bell:
animation: EaseOutQuint
duration: 100
duration: 500

# Background opacity
#
Expand Down Expand Up @@ -262,7 +281,7 @@ mouse:
#
# These are the modifiers that need to be held down for opening URLs when clicking
# on them. The available modifiers are documented in the key binding section.
#modifiers: Command
#modifiers: Control|Shift

selection:
semantic_escape_chars: ',│`|:"'' ()[]{}<>'
Expand Down Expand Up @@ -359,6 +378,7 @@ shell:
# - ClearHistory
# - Hide
# - Quit
# - ClearLogNotice
#
# Values for `command`:
# The `command` field must be a map containing a `program` string and
Expand Down Expand Up @@ -389,6 +409,8 @@ key_bindings:
- { key: Minus, mods: Command, action: DecreaseFontSize }
- { key: K, mods: Command, action: ClearHistory }
- { key: K, mods: Command, chars: "\x0c" }
- { key: L, mods: Control, action: ClearLogNotice }
- { key: L, mods: Control, chars: "\x0c" }
- { key: PageUp, mods: Shift, chars: "\x1b[5;2~" }
- { key: PageUp, mods: Control, chars: "\x1b[5;5~" }
- { key: PageUp, chars: "\x1b[5~" }
Expand Down

0 comments on commit 0e5833a

Please sign in to comment.