diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/alacritty/alacritty.yml | 16 | ||||
| -rw-r--r-- | config/zsh/.zshrc | 2 |
2 files changed, 16 insertions, 2 deletions
diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml index 419ec21..377a898 100644 --- a/config/alacritty/alacritty.yml +++ b/config/alacritty/alacritty.yml @@ -4,14 +4,28 @@ # font font: - size: 9 + size: 12 normal: family: Fira Code + style: Regular + italic: + family: Fira Code + style: Italic + bold: + family: Fira Code + style: Bold offset: x: 0 y: 0 +key_bindings: + - { key: J, mods: Command, chars: "\e[B" } + - { key: K, mods: Command, chars: "\e[A" } + - { key: J, mods: Command|Shift, action: ScrollHalfPageDown } + - { key: K, mods: Command|Shift, action: ScrollHalfPageUp } + - { key: Return, mods: Command, action: ToggleSimpleFullScreen } + # gruvbox_dark: https://github.com/eendroroy/alacritty-theme/blob/master/schemes.yaml colors: primary: diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 5255fa7..92c55c5 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -62,7 +62,7 @@ chpwd() { content="$(find . -maxdepth 1 | wc -l)" ([ "$content" -lt 20 ] && ls -l) || echo "$(pwd) contains $content entries" - [ "$(stat -c "%U" .)" = "$USER" ] && touch . # to sort by last cd + [ "$(uname)" = 'Linux' ] && [ "$(stat -c "%U" .)" = "$USER" ] && touch . # to sort by last cd } # https://wiki.archlinux.org/title/Zsh#Shortcut_to_exit_shell_on_partial_command_line |
