Last active
April 11, 2022 15:01
-
-
Save alexanderflink/5258413dfe4c5c1af1011ad17ac00ed3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window: | |
# Background opacity | |
# | |
# Window opacity as a floating point number from `0.0` to `1.0`. | |
# The value `0.0` is completely transparent and `1.0` is opaque. | |
opacity: 0.9 | |
# Window dimensions (changes require restart) | |
# | |
# Number of lines/columns (not pixels) in the terminal. The number of columns | |
# must be at least `2`, while using a value of `0` for columns and lines will | |
# fall back to the window manager's recommended size. | |
dimensions: | |
columns: 500 | |
lines: 40 | |
# Window position (changes require restart) | |
# | |
# Specified in number of pixels. | |
# If the position is not set, the window manager will handle the placement. | |
position: | |
x: 0 | |
y: 0 | |
# Startup Mode (changes require restart) | |
# | |
# Values for `startup_mode`: | |
# - Windowed | |
# - Maximized | |
# - Fullscreen | |
# | |
# Values for `startup_mode` (macOS only): | |
# - SimpleFullscreen | |
startup_mode: Maximized | |
# Window padding (changes require restart) | |
# | |
# Blank space added around the window in pixels. This padding is scaled | |
# by DPI and the specified value is always added at both opposing sides. | |
padding: | |
x: 10 | |
y: 10 | |
# Spread additional padding evenly around the terminal content. | |
#dynamic_padding: false | |
# Window decorations | |
# | |
# Values for `decorations`: | |
# - full: Borders and title bar | |
# - none: Neither borders nor title bar | |
# | |
# Values for `decorations` (macOS only): | |
# - transparent: Title bar, transparent background and title bar buttons | |
# - buttonless: Title bar, transparent background and no title bar buttons | |
decorations: none | |
font: | |
size: 12.0 | |
use_thin_strokes: true | |
key_bindings: | |
# Toggle fullscreen | |
- { key: Return, mods: Command, action: ToggleSimpleFullscreen } | |
# tmux shortcuts | |
# Create a new tmux window | |
- { key: T, mods: Command, chars: "\x02\x63" } | |
# Rename the current tmux window | |
- { key: R, mods: Command, chars: "\x02\x2c" } | |
# Select window 1-9 | |
- { key: Key1, mods: Command, chars: "\x02\x30" } | |
- { key: Key2, mods: Command, chars: "\x02\x31" } | |
- { key: Key3, mods: Command, chars: "\x02\x32" } | |
- { key: Key4, mods: Command, chars: "\x02\x33" } | |
- { key: Key5, mods: Command, chars: "\x02\x34" } | |
- { key: Key6, mods: Command, chars: "\x02\x35" } | |
- { key: Key7, mods: Command, chars: "\x02\x36" } | |
- { key: Key8, mods: Command, chars: "\x02\x37" } | |
- { key: Key9, mods: Command, chars: "\x02\x38" } | |
# Select a new tmux session for the attached client interactively | |
- { key: K, mods: Command, chars: "\x02\x73" } | |
# Change to the previous tmux window | |
- { key: Left, mods: Command, chars: "\x02\x1b\x5b\x44" } | |
- { key: Right, mods: Command, chars: "\x02\x1b\x5b\x43" } | |
# Split the current pane into two, left and right | |
- { key: D, mods: Command, chars: "\x02\x25" } | |
# Kill the current tmux pane (and window if last pane) | |
- { key: W, mods: Command, chars: "\x02\x78" } | |
# Break the current tmux pane out of the tmux window | |
- { key: T, mods: Command|Shift, chars: "\x02\x21" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment