zsh plugins, tmux tweaks
This commit is contained in:
27
.tmux.conf
27
.tmux.conf
@@ -4,21 +4,19 @@ set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-sidebar'
|
||||
set -g @plugin 'tmux-plugins/tmux-pain-control'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tmux-logging'
|
||||
set -g @plugin 'tmux-plugins/tmux-copycat' # not needed for tmux 3.1+
|
||||
|
||||
set -g @plugin 'tmux-plugins/tmux-copycat'
|
||||
|
||||
|
||||
# https://github.com/tmux-plugins/tmux-resurrect
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect' # https://github.com/tmux-plugins/tmux-resurrect
|
||||
set -g @resurrect-capture-pane-contents 'on'
|
||||
set -g @resurrect-processes 'ssh neomutt mbsync'
|
||||
# https://github.com/tmux-plugins/tmux-continuum
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
set -g @resurrect-processes 'ssh neomutt mbsync vim'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum' # https://github.com/tmux-plugins/tmux-continuum
|
||||
|
||||
set -g @plugin 'seebi/tmux-colors-solarized'
|
||||
|
||||
# inspiration from https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6
|
||||
set -sg terminal-overrides ",*:RGB"
|
||||
|
||||
# too wild, some shortcuts like meta-tab/meta-number are nice though
|
||||
# set -g @plugin 'ek9/tmux-vim-bindings'
|
||||
|
||||
@@ -26,6 +24,10 @@ set -g @plugin 'seebi/tmux-colors-solarized'
|
||||
# set -g @colors-solarized 'light'
|
||||
set -g @colors-solarized 'dark'
|
||||
|
||||
# this causes tmux to crash
|
||||
# set-option -g mouse on
|
||||
# set -g @plugin 'jaclu/tmux-menus'
|
||||
|
||||
|
||||
# Change prefix to C-a
|
||||
# C-a hex value: 0x01
|
||||
@@ -70,9 +72,14 @@ set -g pane-base-index 1
|
||||
set -ag terminal-overrides ",xterm-256color:Tc"
|
||||
|
||||
# synchronize panes
|
||||
bind e setw synchronize-panes ; display "Sync #{?pane_synchronized,ON,OFF}"
|
||||
bind e setw synchronize-panes # ; tmux display "Sync #{?pane_synchronized,ON,OFF}"
|
||||
|
||||
|
||||
# tpm install: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
|
||||
# test for https://unix.stackexchange.com/questions/480437/can-i-ask-tmux-to-immediately-exit-copy-mode-and-paste-the-content-when-i-yank
|
||||
bind-key -T copy-mode-vi Y send-keys -X copy-pipe-and-cancel "tmux paste-buffer"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user