From 9f7113dcc79f1da2e3aabb55d68ee274480f9278 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 7 Aug 2021 08:04:55 +0900 Subject: Update .tmux.conf --- .tmux.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '.tmux.conf') diff --git a/.tmux.conf b/.tmux.conf index aeecc7c..02ee1c6 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -13,6 +13,7 @@ set-option -g base-index 1 set-option -g pane-base-index 1 set-option -g default-shell /usr/local/bin/zsh +set-option -g history-limit 10000 # TERMINAL FEATURES {{{2 set-option -g default-terminal screen-256color @@ -23,8 +24,10 @@ set-option -ga terminal-overrides ',*:Setulc=\e[58::2::%p1%{65536}%/%d::%p1%{256 # APPEARANCE {{{2 set-option -g status-justify left set-option -g status-left ' [#S][#h] ' +set-option -g status-left-length 20 set-option -g status-position top set-option -g status-right '%F (%a) %R ' +set-option -g status-right-length 25 set-option -g pane-border-lines double @@ -37,6 +40,7 @@ unbind-key -a -T prefix set-option -g status-keys emacs set-option -g prefix C-t +bind-key : command-prompt bind-key ';' command-prompt bind-key ? list-keys bind-key t new-window @@ -53,3 +57,12 @@ 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 = select-layout tiled + +set-option -g mode-keys vi +bind-key V copy-mode +bind-key -T copy-mode-vi V send-keys -X select-line +bind-key -T copy-mode-vi Escape send-keys -X clear-selection +bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy" + +bind-key s set-option synchronized-panes -- cgit v1.2.3-70-g09d2