Compare commits

...

2 Commits

Author SHA1 Message Date
joshuayuen99 5112050af6
shell: move GPG_TTY initialization to .zshrc 2023-11-04 16:22:33 -04:00
joshuayuen99 629ede5b5a
tmux: fix control-arrow keys 2023-11-04 16:09:23 -04:00
2 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,6 @@ export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export GPG_TTY=$(tty)
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export PATH="$PATH:$HOME/.local/bin"

View File

@ -65,15 +65,22 @@ setw -g clock-mode-colour cyan
set -g message-style bg=brightblack,fg=cyan
set -g message-command-style bg=brightblack,fg=cyan
# Fix colors
set-option -as terminal-overrides ",xterm*:Tc"
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
# Terminal
set-option -g default-terminal "xterm-256color"
# Fix colors
set-option -as terminal-overrides ",xterm*:Tc"
# Add control-arrow keys support
set -s extended-keys on
set -as terminal-features "xterm*:extkeys"
# Set vi-mode
set-window-option -g mode-keys vi
# Copy-paste keybindings