diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-10-15 20:56:41 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-10-15 20:56:41 -0400 |
| commit | eefbd029b55b2782b0d7b11b4989ce0ca9b256cd (patch) | |
| tree | 535511fd3154342117d67171e28a312bd30c7f87 /tmux.conf | |
| parent | 5840f413825e053b645a338d71c1916a06094335 (diff) | |
| download | dotfiles-eefbd029b55b2782b0d7b11b4989ce0ca9b256cd.tar.gz dotfiles-eefbd029b55b2782b0d7b11b4989ce0ca9b256cd.tar.xz | |
Massive organization of my dotfiles
Diffstat (limited to 'tmux.conf')
| -rw-r--r-- | tmux.conf | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/tmux.conf b/tmux.conf deleted file mode 100644 index d1b3dc0..0000000 --- a/tmux.conf +++ /dev/null @@ -1,91 +0,0 @@ - -# *OLD* way to set styles -# set -g status-bg green -# set -g status-fg black -# set-window-option -g window-status-current-bg black -# set-window-option -g window-status-current-fg green - -# New way: -set -g status-style "fg=green,bg=black" -set-window-option -g window-status-current-style "bg=green,fg=black" -set -g status-right "#[fg=black,bg=green] #(whoami)@#h|m:#(sh $HOME/.tmux_helper.sh memory)|l:#(sh $HOME/.tmux_helper.sh load)|#(sh $HOME/.tmux_helper.sh s_uptime)" - - -# Pretty nifty little option to mirror input for all panes -bind M-s setw synchronize-panes - -# Allow the hotkeys to be switched using M-x to C-x, M-b to C-b, and so forth -bind M-x set prefix C-x -bind M-b set prefix C-b -bind M-a set prefix C-a - -# set -g mode-mouse on -setw -g mode-keys vi -# setw -g aggressive-resize on - -# This has previously not given me any issues other than 'set termguicolors' in -# vim -# set -g default-terminal "screen-256color" - -# This seems to fix that problem, it may cause other issues but I'm going to -# keep an eye on it -set-option -g default-terminal "xterm-256color" -set-option -ga terminal-overrides ",xterm*:Tc" - - -# Don't let command rename our windows -set-option -g allow-rename off - -# Press v to "visually" and y to "yank" the text -# Press `c-b ]` to paste -# If you ever want to look up a keybind use `c-b ?` -bind-key -T copy-mode-vi v send-keys -X begin-selection -bind-key -T copy-mode-vi y send-keys -X copy-selection - -# This one is also useful if you don't want to do what is listed above -# bind p paste-buffer - -# Rather large histroy buffer so I don't lose shit -set-option -g history-limit 16000 - -# Fix for certian applications such as Nvim -set -sg escape-time 0 - -# Select panes with vim like bindings -bind-key M-k select-pane -U -bind-key M-j select-pane -D -bind-key M-h select-pane -L -bind-key M-l select-pane -R - - -# Reload configuration -bind-key r source ~/.tmux.conf -# Respawn the pane ( Useful with certain -bind-key M-r respawn-pane - - -# Change the status line a little bit, most are close to defaults -set -g status-left-length 16 -set -g status-left "[#S] " -set -g status-right "#[fg=green,bg=black] #(whoami)@#h|m:#(sh $HOME/.tmux_helper.sh memory)|l:#(sh $HOME/.tmux_helper.sh load)|#(sh $HOME/.tmux_helper.sh uptime)" - -set -g status-right-length 40 -set -g window-status-format "#I:#W#F" - -set -g set-titles on -set -g set-titles-string "tmux: #{session_name} [#I]#{window_name} -- #T" - - -# If you still want to select text out of the terminal as you normally would -# You should hold the shift key ( Linux ) Option/Alt works in iTerm2 on MacOS -# Does not seem to work with the native terminal. -set -g mouse on - -# Old mouse method -# set-option -g mode-mouse on -# set-option -g mouse-resize-pane on -# set-option -g mouse-select-pane on -# set-option -g mouse-select-window on - -# If you want any local configuration -source ~/.tmux.conf.local |
