Compare commits

...

2 commits

Author SHA1 Message Date
c47 2b0d6767e5
Add keybindings for easier window cycling
Added keybindings `alt + shift + [HL]' to select previous and next
window.

Also updated the source binding, because ~/.tmux.conf got moved to
~/.config/tmux/tmux.conf
2024-03-09 22:14:13 +01:00
c47 09ed5b1801
Move ~/.tmux.conf to ~/.config/tmux/tmux.conf 2024-03-09 18:45:29 +01:00
2 changed files with 7 additions and 3 deletions

View file

@ -42,7 +42,8 @@ fi
# Tmux
if [[ ! -L ${HOME}/.tmux.conf ]]; then
if [[ ! -L ${HOME}/.config/tmux/tmux.conf ]]; then
mkdir -m 0700 ${HOME}/.config/tmux
ln -s ${WORKING_DIR}/tmux/tmux.conf .tmux.conf 2>/dev/null
fi
@ -54,7 +55,7 @@ fi
# Zsh
if [[ ! -d ${HOME}/.zsh ]]; then
mkdir ~/.zsh 2>/dev/null
mkdir -m 0700 ~/.zsh 2>/dev/null
fi
if [[ ! -L ${HOME}/.zshenv ]]; then

View file

@ -6,9 +6,12 @@ set -s escape-time 1
set -g default-terminal "tmux"
set -g status-interval 120
set -n M-H previous-window
set -n M-L next-window
setw -g mode-keys vi
bind r source ~/.tmux.conf \; display "tmux.conf reloaded"
bind r source ~/.config/tmux/tmux.conf \; display "tmux.conf reloaded"
bind -r < resize-pane -L 3
bind -r > resize-pane -R 3