Tmux: updated keymaps and global settings

This commit is contained in:
pr0c3550r 2023-08-26 01:14:27 +02:00
parent 9f000eca47
commit b132bb60c4
2 changed files with 15 additions and 2 deletions

View file

@ -66,6 +66,9 @@ alias \
alias \
t="tmux" \
ta="tmux new -A -s" \
tn="tmux new-session -t"
alias \
v="$EDITOR" \
e="$EDITOR" \
z="zathura" \

View file

@ -18,6 +18,8 @@ unbind '"'
bind '\' split-window -h -c '#{pane_current_path}'
bind - split-window -v -c '#{pane_current_path}'
bind c new-window -c '#{pane_current_path}'
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
@ -34,6 +36,8 @@ bind -r p previous-window
bind X confirm kill-window
bind T confirm kill-session
bind M set -g mouse
set -g pane-border-indicators colour
set -g pane-active-border-style fg="#d8a657",bg=default
set -g pane-border-style fg="#1d2021",bg=default
@ -50,13 +54,19 @@ set -g display-panes-time 10000
set -g window-size largest
set -g renumber-windows on
set -g base-index 1
setw -g pane-base-index 1
set -g status-position bottom
set -g status-style bg="#1d2021",fg="#d4be98",bold
set -g status-keys vi
# set -g status-right '#{?client_prefix,#[fg=#000000]#[bg=#fabd2f]#[bold] PREFIX ,}'
set -g status-right '#{?client_prefix,#[fg=#000000]#[bg=#fabd2f]#[bold]  ,}'
set -g status-right '#{?client_prefix,#[fg=#000000]#[bg=#fabd2f]#[bold]  ,}'
set -wg window-status-current-style bg="#d8a657",fg="#1d2021"
set -g cursor-style blinking-underline
set -g focus-events on
set-window-option -g window-status-current-style bg="#d8a657",fg="#1d2021"
set -g visual-bell off
set -g mouse on