# this file: # https://dataswamp.org/~incal/conf/.tmux.conf # # search key: # (let ((case-fold-search nil)) (re-search-forward "bind d" (point-max) t)) # prefix unbind C-b set -g prefix C-j bind C-j send-prefix # reload bind C-r source-file ~/.tmux.conf # iterate bind i select-pane -U bind k select-pane -D bind j select-pane -L bind l select-pane -R # split bind I split-window -h -c '#{pane_current_path}' bind L split-window -v -c '#{pane_current_path}' # resize bind e resize-pane -U 1 bind s resize-pane -L 1 bind f resize-pane -R 1 bind d resize-pane -D 1 # close current bind -n C-w kill-pane # colors set -g status off set -g message-style fg=black set -q message-style bg=yellow set -g pane-active-border-style fg=green set -g pane-border-style fg=blue # misc set -g default-terminal "screen" bind -n M-o run-shell ~/scripts/tmux_M-o # scroll / copy mode bind -n M-i copy-mode bind -n M-I capture-pane -J -p bind -T copy-mode i send -X scroll-up bind -T copy-mode k send -X scroll-down bind -T copy-mode I send -X page-up bind -T copy-mode K send -X page-down