Initial commit.
This commit is contained in:
57
.tmux.conf
Normal file
57
.tmux.conf
Normal file
@@ -0,0 +1,57 @@
|
||||
set -g default-terminal "xterm-256color"
|
||||
set -ga terminal-overrides ",*256col*:Tc"
|
||||
|
||||
set -g prefix C-s
|
||||
unbind C-b
|
||||
bind-key C-s send-prefix
|
||||
|
||||
# unbind %
|
||||
# bind | split-window -h
|
||||
#
|
||||
# unbind '"'
|
||||
# bind - split-window -v
|
||||
|
||||
unbind r
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
||||
# bindkey \^K kill-line
|
||||
# bind -n C-k clear-history
|
||||
|
||||
set -g history-limit 100000
|
||||
set -s escape-time 0
|
||||
set -g focus-events on
|
||||
set -g display-time 4000
|
||||
set -g status-interval 5
|
||||
#set -g status-keys emacs
|
||||
|
||||
setw -g mode-keys vi
|
||||
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
set-option -g renumber-windows on
|
||||
|
||||
# set -g mouse on
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-pipe "pbcopy" # pbcopy is MacOS specific
|
||||
unbind -T copy-mode-vi MouseDragEnd1Pane
|
||||
|
||||
bind-key K clear-history
|
||||
|
||||
bind-key H swap-window -t -1
|
||||
bind-key L swap-window -t +1
|
||||
bind-key -T prefix C-o select-pane -t :.+
|
||||
|
||||
bind-key h select-pane -L
|
||||
bind-key j select-pane -D
|
||||
bind-key k select-pane -U
|
||||
bind-key l select-pane -R
|
||||
|
||||
bind-key -r Up resize-pane -U 2
|
||||
bind-key -r Down resize-pane -D 2
|
||||
bind-key -r Left resize-pane -L 2
|
||||
bind-key -r Right resize-pane -R 2
|
||||
|
||||
bind -r m resize-pane -Z
|
||||
set -g message-style 'fg=#D74E42 bg=#0D1117 bold'
|
||||
Reference in New Issue
Block a user