Tmux: updated keymaps and global settings
This commit is contained in:
parent
9f000eca47
commit
b132bb60c4
2 changed files with 15 additions and 2 deletions
|
@ -66,6 +66,9 @@ alias \
|
||||||
alias \
|
alias \
|
||||||
t="tmux" \
|
t="tmux" \
|
||||||
ta="tmux new -A -s" \
|
ta="tmux new -A -s" \
|
||||||
|
tn="tmux new-session -t"
|
||||||
|
|
||||||
|
alias \
|
||||||
v="$EDITOR" \
|
v="$EDITOR" \
|
||||||
e="$EDITOR" \
|
e="$EDITOR" \
|
||||||
z="zathura" \
|
z="zathura" \
|
||||||
|
|
|
@ -18,6 +18,8 @@ unbind '"'
|
||||||
bind '\' split-window -h -c '#{pane_current_path}'
|
bind '\' split-window -h -c '#{pane_current_path}'
|
||||||
bind - split-window -v -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 h select-pane -L
|
||||||
bind -r j select-pane -D
|
bind -r j select-pane -D
|
||||||
bind -r k select-pane -U
|
bind -r k select-pane -U
|
||||||
|
@ -34,6 +36,8 @@ bind -r p previous-window
|
||||||
bind X confirm kill-window
|
bind X confirm kill-window
|
||||||
bind T confirm kill-session
|
bind T confirm kill-session
|
||||||
|
|
||||||
|
bind M set -g mouse
|
||||||
|
|
||||||
set -g pane-border-indicators colour
|
set -g pane-border-indicators colour
|
||||||
set -g pane-active-border-style fg="#d8a657",bg=default
|
set -g pane-active-border-style fg="#d8a657",bg=default
|
||||||
set -g pane-border-style fg="#1d2021",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 window-size largest
|
||||||
set -g renumber-windows on
|
set -g renumber-windows on
|
||||||
|
|
||||||
|
set -g base-index 1
|
||||||
|
setw -g pane-base-index 1
|
||||||
|
|
||||||
set -g status-position bottom
|
set -g status-position bottom
|
||||||
set -g status-style bg="#1d2021",fg="#d4be98",bold
|
set -g status-style bg="#1d2021",fg="#d4be98",bold
|
||||||
set -g status-keys vi
|
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] 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 cursor-style blinking-underline
|
||||||
|
|
||||||
set -g focus-events on
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue