Created
February 8, 2019 11:23
-
-
Save typelogic/0bb999e1b99deb0428305595ed2cb7de to your computer and use it in GitHub Desktop.
.tmux.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set-environment -g CHERE_INVOKING 1 | |
set -g display-panes-time 5000 | |
set-window-option -g mode-keys vi | |
bind-key -T copy-mode-vi 'v' send -X begin-selection | |
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel | |
set -g status-bg black | |
set -g status-fg white | |
set -g default-terminal "xterm-256color" | |
bind-key u run "tmux capture-pane \; tmux save-buffer ~/tmuxdb/captures/\"$(date +'%Y%m%dT%H%M%S')\"" \; display 'captured' | |
#bind-key a run "~/bin/tsave.sh" \; display 'saving buffers ...' | |
bind r source-file ~/.tmux.conf \; display 'reloaded' | |
#set -g visual-activity on | |
#bind-key C run "~/tmuxdb/clearbuffers.sh" \; display 'All buffers cleared' | |
bind-key R command-prompt -I '-b ' 'setb %1' | |
bind-key S command-prompt -I '-s ' 'new-session %1' | |
bind-key k command-prompt -I '-t ' 'kill-session %1' | |
bind-key A kill-session -C | |
bind-key - choose-buffer "delete-buffer -b '%%'" | |
set-option -g status-left-length 255 | |
set -g status-left '#[fg=green,bg=black,bold]#S #[fg=white,bg=colour19,bold][#{pane_current_path}]' | |
set -g status-right '#[fg=white,bg=colour19,bold] %a %d/%b #[fg=green,bg=colour8,bold] %H:%M ' | |
bind-key c new-window -c "#{pane_current_path}" | |
bind-key % split-window -h -c "#{pane_current_path}" | |
bind-key '"' split-window -v -c "#{pane_current_path}" | |
# activity window | |
setw -g monitor-activity on | |
setw -g window-status-activity-bg white | |
setw -g window-status-activity-fg red | |
set-option -g -s status-interval 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment