tmux config
unknown
plain_text
5 days ago
2.3 kB
4
Indexable
# == CUSTOM KEYMAPS(leader, ..) == unbind C-Space set -g prefix C-Space bind C-Space send-prefix # == UTILITY == set -g mode-mouse on set -g mouse-resize-pane on set -g mouse-select-pane on set -g mouse-select-window on set-option -g history-limit 6144 bind C-r source-file ~/.tmux.conf \; display "RELOADED CONFIG FILE" # == TABBING == bind "\`" switch-client -t'{marked}' set -g renumber-windows on # == WINDOWS == set-option -g allow-rename off bind v split-window -h -c "$PWD" bind h split-window -v -c "$PWD" bind -r "<" swap-window -d -t -1 bind -r ">" swap-window -d -t +1 bind c new-window -c "$PWD" bind Space last-window bind j choose-window 'join-pane -v -s "%%"' bind J choose-window 'join-pane -h -s "%%"' bind k choose-window 'join-pane -t "%%"' bind K choose-window 'break-pane' # == MISCELLANIOUS == # this is the single most useful command bind-key N split-window -v "vim $PYGASO/todo.txt" # == STATUS BAR == set-option -g status on set -g status-utf8 on set -g status-interval 5 set -g status-justify centre set -g monitor-activity on # set -g visual-activity on # default window set-option -g status-bg colour235 #base02 set-option -g status-fg yellow #yellow set-option -g status-attr dim # current window set-window-option -g window-status-current-fg brightwhite set-window-option -g window-status-current-bg colour236 set-window-option -g window-status-current-attr bright # hostname + IP addr set -g status-left-length 85 set -g status-left "#[fg=colour198]: #h : #[fg=brightblue]#(curl icanhazip.com) #(ifconfig en0 | grep 'inet ' | awk '{print \"en0 \" $2}') #(ifconfig en1 | grep 'inet ' | awk '{print \"en1 \" $2}') #(ifconfig en3 | grep 'inet ' | awk '{print \"en3 \" $2}') #(ifconfig tun0 | grep 'inet ' | awk '{print \"vpn \" $2}') " # session name, window/pane number, date & time set -g status-right-length 200 set -g status-right "#[fg=blue]#S #I:#P #[fg=yellow]: %d %b %Y #[fg=green]: %l:%M %p : #(date -u | awk '{print $4}') :" set -g status-right "#[fg=blue]#(tmux-cpu --no-color)" # == THEMES == set -g pane-border-fg default set -g pane-active-border-fg blue set -g pane-active-border-bg default set -g default-terminal "screen-256color"
Editor is loading...
Leave a Comment