Created
June 5, 2017 03:19
-
-
Save John-Appleseed/8a9d4653372e661e289dc87206bd0359 to your computer and use it in GitHub Desktop.
This file contains 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
# Support: | |
# https://github.com/tmuxinator/tmuxinator | |
#--- | |
# ~/.screenrc | |
new-session | |
# Input: | |
set -g utf8 on | |
set-window-option -g xterm-keys on | |
#set -g default-terminal "screen-256color" | |
set-option -g default-terminal "xterm-256color" | |
#screen_terminfo="screen-256color" | |
# KeyMap | Mode: Interface | Work | |
# Pen and Paper | |
# Tmux Mode | |
#unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# Escape Mode | |
#set -sg escape-time 0 | |
set -g focus-events on | |
# h = display cheatsheet | |
bind h run "cat ~/.tmux_map" | |
# Mouse | |
set-option -g -q mouse on | |
#set -g mouse-utf8 on | |
#bind -n WheelUpPane copy-mode | |
#set-window-option -g exit-copy-past-bottom on | |
#bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'" | |
bind -n WheelUpPane copy-mode | |
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" | |
bind -n WheelDownPane select-pane -t= \; send-keys -M | |
#set-window-option -g mode-mouse on | |
bind-key -T root PPage if-shell -F "#{alternate_on}" "send-keys PPage" "copy-mode -e; send-keys PPage" | |
bind-key -T root NPage if-shell -F "#{alternate_on}" "send-keys NPage" "copy-mode -e; send-keys NPage" | |
unbind C-w | |
bind -n C-w send-keys C-w | |
# C-a = last-window | |
bind C-a last-window | |
# close pane - x | |
bind C-x confirm-before kill-pane | |
# reload config rc | |
bind r source-file ~/.tmux.conf | |
# split panels: = - | |
bind = split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
# --- | |
# Window Flip: ctrl ◀︎ ▶︎ | |
bind -n C-Left previous-window | |
bind -n C-Right next-window | |
#unbind C-Left | |
#unbind C-Right | |
# --- | |
bind - split-window -v | |
# --- | |
# Output: | |
# Settings: Orientation, UTF8, Color, Statusline, Title, KeyMap, Panes, Panel, Canvas, Tabs | |
set -g history-limit 50000 | |
setw -g aggressive-resize on | |
set-option -g pane-border-fg black | |
set-option -g pane-active-border-fg blue | |
#set-window-option -g window-style 'bg=#181818' | |
#set-window-option -g window-active-style 'bg=black' | |
set-window-option -g pane-active-border-style '' | |
# Title: | |
# TERMINAL EMULATOR TITLES | |
set -g set-titles on | |
set -g set-titles-string "#(tmux ls | awk -F: '{print $1}' | xargs | sed 's/\ / | /g')" | |
# --- | |
# Statusline: | |
#set -g status-utf8 on | |
set -g status on | |
#set -g status-attr none | |
#set -g window-status-activity-attr default | |
#set -g message-attr default | |
#set -g status-keys vi | |
set -g status-interval 60 | |
#set status-interval 60 | |
set -g display-time 1000 | |
set -g status-fg white | |
set -g status-bg black | |
set -g status-left-length 20 | |
set -g status-left '#[fg=#11DD11][ #h ][ #[fg=#33FF11]#($HOME/.do/App/Punch/punch time)#[fg=#11DD11] ][ #[default]' | |
set -g status-justify centre | |
set -g status-right '#[fg=#11DD11]][ #[fg=cyan]#($HOME/.do/Cron/forge.sh read)#[fg=white] %H:%M #[fg=#11DD11]]#[default]' | |
setw -g window-status-current-format '#[fg=red](#[fg=white]#I.#P#[fg=red])#[default]' | |
setw -g window-status-format '#I#F#W' | |
# --- | |
# --- | |
# Plugins: | |
#set -g @plugin 'tmux-plugins/tmux-logging' | |
#set -g @plugin 'tmux-plugins/tmux-sensible' | |
# --- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment