Skip to content

Instantly share code, notes, and snippets.

@beli-sk
Last active March 4, 2019 11:42
Show Gist options
  • Save beli-sk/d1e435cb716d61dfc158 to your computer and use it in GitHub Desktop.
Save beli-sk/d1e435cb716d61dfc158 to your computer and use it in GitHub Desktop.
My personal tmux config
#set -g status off
#set -g status-right "\"#{=32:pane_title}\""
setw -g mode-keys vi
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
bind-key -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel
bind-key S setw synchronize-panes
# allows using terminal scroll buffer
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# IDE-like split
bind-key F12 split-window -h -p 80 \; split-window -v -p 20
# logging
bind-key H pipe-pane -o "exec cat >>$HOME/'tmux-#I-#P-#W.log'" \; display-message 'Toggled logging to $HOME/tmux-#I-#P-#W.log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment