Skip to content

Commit

Permalink
Looks like alacritty is back on the menu
Browse files Browse the repository at this point in the history
  • Loading branch information
DeviaVir committed Apr 10, 2017
1 parent e2d86ca commit 50d5b9b
Show file tree
Hide file tree
Showing 9 changed files with 125 additions and 82 deletions.
177 changes: 114 additions & 63 deletions .alacritty.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Configuration for Alacritty, the GPU enhanced terminal emulator

# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty it self.
env:
# TERM env customization. Default is xterm-256color
# Note: the default TERM value `xterm-256color` does not
# specify all features alacritty supports. This does pose
# a few issues with programs relying on terminfo and the
# `tput` command
TERM: xterm-256color

# Window dimensions in character columns and lines
# (changes require restart)
dimensions:
columns: 80
lines: 24

# The FreeType rasterizer needs to know the device DPI for best results
# (changes require restart)
dpi:
Expand Down Expand Up @@ -39,67 +56,78 @@ font:
offset:
x: 12.0
y: 12.0
# OS X only: use thin stroke font rendering. Thin strokes are suitable
# for retina displays, but for non-retina you probably want this set to
# false.
use_thin_strokes: false

# Should display the render timer
render_timer: false

# Use custom cursor colors. If true, display the cursor in the cursor.foreground
# and cursor.background colors, otherwise invert the colors of the cursor.
custom_cursor_colors: false


# Colors (Tomorrow Night Bright)
#colors:
# # Default colors
# primary:
# background: '0x000000'
# foreground: '0xeaeaea'

# # Normal colors
# normal:
# black: '0x000000'
# red: '0xd54e53'
# green: '0xb9ca4a'
# yellow: '0xe6c547'
# blue: '0x7aa6da'
# magenta: '0xc397d8'
# cyan: '0x70c0ba'
# white: '0x424242'

# # Bright colors
# bright:
# black: '0x666666'
# red: '0xff3334'
# green: '0x9ec400'
# yellow: '0xe7c547'
# blue: '0x7aa6da'
# magenta: '0xb77ee0'
# cyan: '0x54ced6'
# white: '0x2a2a2a'

# Colors (Solarized Dark)
colors:
# Default colors
primary:
background: '0x002b36'
foreground: '0x839496'

# Normal colors
normal:
black: '0x073642'
red: '0xdc322f'
green: '0x859900'
yellow: '0xb58900'
blue: '0x268bd2'
magenta: '0xd33682'
cyan: '0x2aa198'
white: '0xeee8d5'

# Bright colors
bright:
black: '0x002b36'
red: '0xcb4b16'
green: '0x586e75'
yellow: '0x657b83'
blue: '0x839496'
magenta: '0x6c71c4'
cyan: '0x93a1a1'
white: '0xfdf6e3'
# Default colors
primary:
background: '0x000000'
foreground: '0xeaeaea'

# Colors the cursor will use if `custom_cursor_colors` is true
cursor:
text: '0x000000'
cursor: '0xffffff'

# Normal colors
normal:
black: '0x000000'
red: '0xd54e53'
green: '0xb9ca4a'
yellow: '0xe6c547'
blue: '0x7aa6da'
magenta: '0xc397d8'
cyan: '0x70c0ba'
white: '0x424242'

# Bright colors
bright:
black: '0x666666'
red: '0xff3334'
green: '0x9ec400'
yellow: '0xe7c547'
blue: '0x7aa6da'
magenta: '0xb77ee0'
cyan: '0x54ced6'
white: '0x2a2a2a'

# Visual Bell
#
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
# rung, the terminal background will be set to white and transition back to the
# default background color. You can control the rate of this transition by
# setting the `duration` property (represented in milliseconds). You can also
# configure the transition function by setting the `animation` property.
#
# Possible values for `animation`
# `Ease`
# `EaseOut`
# `EaseOutSine`
# `EaseOutQuad`
# `EaseOutCubic`
# `EaseOutQuart`
# `EaseOutQuint`
# `EaseOutExpo`
# `EaseOutCirc`
# `Linear`
#
# To completely disable the visual bell, set its duration to 0.
#
visual_bell:
animation: EaseOutExpo
duration: 0

# Key bindings
#
Expand Down Expand Up @@ -129,13 +157,20 @@ colors:
# specified string every time that binding is activated. These should generally
# be escape sequences, but they can be configured to send arbitrary strings of
# bytes. Possible values of `action` include `Paste` and `PasteSelection`.
#
# Want to add a binding (e.g. "PageUp") but are unsure what the X sequence
# (e.g. "\x1b[5~") is? Open another terminal (like xterm) without tmux,
# then run `showkey -a` to get the sequence associated to a key combination.
key_bindings:
- { key: V, mods: Command, action: Paste }
- { key: C, mods: Command, action: Copy }
- { key: Home, chars: "\x1b[H", mode: ~AppCursor }
- { key: Home, chars: "\x1b[1~", mode: AppCursor }
- { key: End, chars: "\x1b[F", mode: ~AppCursor }
- { key: End, chars: "\x1b[4~", mode: AppCursor }
- { key: V, mods: Control|Shift, action: Paste }
- { key: C, mods: Control|Shift, action: Copy }
- { key: Q, mods: Command, action: Quit }
- { key: W, mods: Command, action: Quit }
- { key: Insert, mods: Shift, action: PasteSelection }
- { key: Home, chars: "\x1bOH", mode: AppCursor }
- { key: Home, chars: "\x1b[1~", mode: ~AppCursor }
- { key: End, chars: "\x1bOF", mode: AppCursor }
- { key: End, chars: "\x1b[4~", mode: ~AppCursor }
- { key: PageUp, chars: "\x1b[5~" }
- { key: PageDown, chars: "\x1b[6~" }
- { key: Left, mods: Shift, chars: "\x1b[1;2D" }
Expand All @@ -158,6 +193,7 @@ key_bindings:
- { key: Down, mods: Alt, chars: "\x1b[1;3B" }
- { key: Down, chars: "\x1b[B", mode: ~AppCursor }
- { key: Down, chars: "\x1bOB", mode: AppCursor }
- { key: Tab, mods: Shift, chars: "\x1b[Z" }
- { key: F1, chars: "\x1bOP" }
- { key: F2, chars: "\x1bOQ" }
- { key: F3, chars: "\x1bOR" }
Expand All @@ -171,6 +207,8 @@ key_bindings:
- { key: F11, chars: "\x1b[23~" }
- { key: F12, chars: "\x1b[24~" }
- { key: Back, chars: "\x7f" }
- { key: Back, mods: Alt, chars: "\x1b\x7f" }
- { key: Insert, chars: "\x1b[2~" }
- { key: Delete, chars: "\x1b[3~", mode: AppKeypad }
- { key: Delete, chars: "\x1b[P", mode: ~AppKeypad }

Expand All @@ -192,7 +230,20 @@ key_bindings:
mouse_bindings:
- { mouse: Middle, action: PasteSelection }

mouse:
double_click: { threshold: 300 }
triple_click: { threshold: 300 }

selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>"

hide_cursor_when_typing: false

# Shell
#
# You can set this to a path to your favorite shell, e.g. /bin/fish
shell:
# You can set shell.program to the path of your favorite shell, e.g. /bin/fish.
# Entries in shell.args are passed unmodified as arguments to the shell.
#shell:
# program: /bin/bash
# args:
# - --login
Binary file modified .config/sublime-text-3/Installed Packages/Terraform.sublime-package
Binary file not shown.
17 changes: 0 additions & 17 deletions .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml

This file was deleted.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,7 @@ __pycache__
.config/libreoffice/
.config/qutebrowser/
.config/vlc/
.config/filezilla/
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
.config/Namecoin
.namecoin
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@
[submodule ".tmux/plugins/tmux-better-mouse-mode"]
path = .tmux/plugins/tmux-better-mouse-mode
url = [email protected]:NHDaly/tmux-better-mouse-mode.git
[submodule ".tmux/plugins/tmux-yank"]
path = .tmux/plugins/tmux-yank
url = [email protected]:tmux-plugins/tmux-yank.git
2 changes: 1 addition & 1 deletion .oh-my-zsh
1 change: 1 addition & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-net-speed'
#set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-yank'


# Other examples:
Expand Down
1 change: 1 addition & 0 deletions .tmux/plugins/tmux-yank
Submodule tmux-yank added at e306c6
2 changes: 1 addition & 1 deletion .zshenv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export EDITOR=vim
export TZ='America/Los_Angeles'
export TZ='Europe/Amsterdam'
export QT_DEVICE_PIXEL_RATIO=auto
export PYENV_ROOT="$HOME/.pyenv"
export GOPATH=~/.local/lib/go/
Expand Down

0 comments on commit 50d5b9b

Please sign in to comment.