update tmux conf
This commit is contained in:
parent
98d793a04a
commit
dc942abd08
@ -1,22 +1,29 @@
|
||||
# Change default prefix
|
||||
# change default prefix
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
# terminal
|
||||
# emulate a color terminal emulator
|
||||
set -g default-terminal "tmux-256color"
|
||||
|
||||
# unset the annoying delay
|
||||
set -sg escape-time 0
|
||||
|
||||
# mouse settings
|
||||
# set -g mouse on
|
||||
# set -g set-clipboard on
|
||||
# set -g focus-events on
|
||||
|
||||
set -g status-bg black
|
||||
set -g status-fg white
|
||||
set -g status-justify left
|
||||
setw -g window-status-current-style "fg=white,bold"
|
||||
# appearance
|
||||
set -g status-style "bg=black fg=white,bold"
|
||||
set -g window-status-current-style "fg=yellow,bold"
|
||||
|
||||
# set -g status-bg black
|
||||
# set -g status-fg white
|
||||
|
||||
#==============#
|
||||
# Key Bindings #
|
||||
#==============#
|
||||
|
||||
bind -n M-j select-pane -D
|
||||
bind -n M-k select-pane -U
|
||||
@ -38,9 +45,9 @@ bind-key -r < swap-window -t -1
|
||||
bind-key -r > swap-window -t +1
|
||||
|
||||
# New panes start in cwd
|
||||
bind-key '"' split-window -v -c '#{pane_current_path}'
|
||||
bind-key % split-window -h -c '#{pane_current_path}'
|
||||
bind c new-window -c '#{pane_current_path}'
|
||||
bind-key '"' split-window -v -c '#{pane_current_path}'
|
||||
bind-key % split-window -h -c '#{pane_current_path}'
|
||||
bind c new-window -c '#{pane_current_path}'
|
||||
|
||||
# Source conf
|
||||
bind-key r source-file ~/.tmux.conf \; display-message "Sourced ~/.tmux.conf!"
|
||||
|
||||
1
stow/vim/.vim/.gitignore
vendored
1
stow/vim/.vim/.gitignore
vendored
@ -3,3 +3,4 @@ plugged
|
||||
.backup
|
||||
.swap
|
||||
.undo
|
||||
.netrwhist
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user