tmux conf, and minor changes
This commit is contained in:
parent
184e72e8af
commit
1e373444d6
5 changed files with 71 additions and 5 deletions
24
.config/tmux/tmux.conf
Normal file
24
.config/tmux/tmux.conf
Normal file
|
@ -0,0 +1,24 @@
|
|||
set -g default-terminal "tmux-256color"
|
||||
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
set -g status-style 'bg=#181926 fg=#cad3f5'
|
||||
set-option -g status-position top
|
||||
set -g status-left-length 20
|
||||
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
set -g base-index 1
|
||||
|
||||
set-window-option -g mode-keys vi
|
||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||
|
||||
# vim-like pane switching
|
||||
bind -r ^ last-window
|
||||
bind -r k select-pane -U
|
||||
bind -r j select-pane -D
|
||||
bind -r h select-pane -L
|
||||
bind -r l select-pane -R
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue