From beb6292ddd6867a82856f06507ddd5392de881d9 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Fri, 7 May 2021 12:02:11 -0700 Subject: [PATCH] update for osx --- .config/alacritty/alacritty.yml | 15 +++++++++------ .zprofile | 6 ------ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 25b8a7a..84fadf8 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -23,7 +23,7 @@ # available, otherwise `xterm-256color` is used. #TERM: alacritty -#window: +window: # Window dimensions (changes require restart) # # Number of lines/columns (not pixels) in the terminal. The number of columns @@ -45,9 +45,9 @@ # # 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: 0 - # y: 0 + padding: + x: 3 + y: 3 # Spread additional padding evenly around the terminal content. #dynamic_padding: false @@ -150,7 +150,7 @@ font: #style: Bold Italic # Point size - size: 15.0 + size: 18.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 @@ -170,7 +170,7 @@ font: # # 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 + use_thin_strokes: true # If `true`, bold text is drawn using the bright color variants. draw_bold_text_with_bright_colors: false @@ -821,8 +821,11 @@ key_bindings: #- { key: W, mods: Command, action: Quit } #- { key: N, mods: Command, action: SpawnNewInstance } #- { key: F, mods: Command|Control, action: ToggleFullscreen } + - { key: Return, mods: Command, action: ToggleFullscreen } #- { key: F, mods: Command, mode: ~Search, action: SearchForward } #- { key: B, mods: Command, mode: ~Search, action: SearchBackward } + # Support Alt-. + - { key: Period, mods: Command, chars: "\x1b\x2e" } #debug: # Display the time it takes to redraw each frame. diff --git a/.zprofile b/.zprofile index bf2ba75..6aac3e5 100644 --- a/.zprofile +++ b/.zprofile @@ -12,12 +12,6 @@ SunOS) UCB_PATH=/usr/sww/lang/acl:/usr/sww/lang/jdk-1.5.0/bin:/usr/openwin/bin:/usr/dt/bin:/usr/sww/opt/java/bin:/usr/sww/bin:/share/b/grading/bin:/share/b/grading/sbin:/share/b/runas/sun4u:/share/b/bin:/home/aa/projects/scheme/bin:/usr/ucb:/usr/ccs/bin:/usr/sfw/bin; export UCB_PATH PATH=$PATH:$UCB_PATH; export PATH ;; -Darwin) - MACPORTS_PATH=/opt/local/bin:/opt/local/sbin:/opt/local/usr/bin:/opt/local/usr/local/bin; export MACPORTS_PATH - PATH=$HOME/bin:$MACPORTS_PATH:$PATH; export PATH -# export DISPLAY=:0.0 - #set completion-ignore-case on - ;; esac #PATH=$HOME/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin; export PATH