Skip to content

Instantly share code, notes, and snippets.

@xolve
Created May 24, 2019 13:23
Show Gist options
  • Save xolve/a48d355c71862303cd7217ade6b015dd to your computer and use it in GitHub Desktop.
Save xolve/a48d355c71862303cd7217ade6b015dd to your computer and use it in GitHub Desktop.
setw -g mode-keys emacs
set -g mouse on
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
bind-key -n S-Left prev
bind-key -n S-Right next
set -g history-limit 100000
bind-key -n M-k send-keys C-l \; send-keys -R \; clear-history
set -g status-bg 'colour234'
set -g status-style bg=colour242,fg=white,bold,bright
set -g window-status-current-style bg=green,fg=white,bold
#set-window-option -g window-status-bg 'red'
#set-window-option -g window-status-current-bg 'green'
bind-key -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i"
bind-key -T copy-mode M-w send-keys -X copy-pipe "xclip -selection clipboard -i"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment