added Tmux Plugin Manager
This commit is contained in:
parent
f3d6cce411
commit
0abd078269
2 changed files with 21 additions and 15 deletions
1
init.sh
1
init.sh
|
@ -29,6 +29,7 @@ mkdir ~/.ssh
|
||||||
echo "Stowing Configs"
|
echo "Stowing Configs"
|
||||||
stow tmux
|
stow tmux
|
||||||
#Add Tmux themes
|
#Add Tmux themes
|
||||||
|
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||||
git clone https://github.com/wfxr/tmux-power.git "$HOME/stevset/tmux/t-theme"
|
git clone https://github.com/wfxr/tmux-power.git "$HOME/stevset/tmux/t-theme"
|
||||||
stow vim
|
stow vim
|
||||||
stow prezto
|
stow prezto
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
# -- general -------------------------------------------------------------------
|
#Tmux Plugins
|
||||||
set -g default-terminal "screen-256color" # colors!
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
set -g @plugin 'wfxr/tmux-power'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
||||||
|
set -g @plugin 'CrispyConductor/tmux-copy-toolkit'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-pain-control'
|
||||||
|
|
||||||
|
# -- general
|
||||||
set -g xterm-keys on
|
set -g xterm-keys on
|
||||||
|
|
||||||
# remap prefix to Control + a
|
# remap prefix to Control + a
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
unbind C-b
|
unbind C-b
|
||||||
bind C-a send-prefix
|
bind C-a send-prefix
|
||||||
set -sg escape-time 0
|
|
||||||
|
|
||||||
#Mouse/Scrollback Tweaks
|
#Mouse/Scrollback Tweaks
|
||||||
set -g history-limit 100000
|
|
||||||
#setw -g mode-keys vi
|
|
||||||
set-option -g mouse on
|
set-option -g mouse on
|
||||||
set-window-option -g xterm-keys on
|
set-window-option -g xterm-keys on
|
||||||
#set-option -g pane-active-border-fg yellow
|
|
||||||
|
|
||||||
#New Keybindings
|
|
||||||
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
|
|
||||||
|
|
||||||
# split panes using | and -
|
# split panes using | and -
|
||||||
bind | split-window -h
|
bind | split-window -h
|
||||||
|
@ -30,15 +30,9 @@ bind -n M-Right select-pane -R
|
||||||
bind -n M-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
# For nested tmux'es
|
|
||||||
bind a send-prefix
|
|
||||||
|
|
||||||
#Powerline Settings
|
#Powerline Settings
|
||||||
run-shell "powerline-daemon -q"
|
run-shell "powerline-daemon -q"
|
||||||
source "/usr/share/powerline/bindings/tmux/powerline.conf"
|
source "/usr/share/powerline/bindings/tmux/powerline.conf"
|
||||||
#Themes
|
|
||||||
set -g @tmux_power_theme 'default'
|
|
||||||
run-shell "$HOME/stevset/tmux/t-theme/tmux-power.tmux"
|
|
||||||
|
|
||||||
#Misc Enables
|
#Misc Enables
|
||||||
set-option -g renumber-windows on
|
set-option -g renumber-windows on
|
||||||
|
@ -63,4 +57,15 @@ bind m \
|
||||||
bind M \
|
bind M \
|
||||||
set-option -g mouse off \;\
|
set-option -g mouse off \;\
|
||||||
display 'Mouse: OFF'
|
display 'Mouse: OFF'
|
||||||
|
#plugin settings
|
||||||
|
# Prefix Highlight: 'L' for left only, 'R' for right only and 'LR' for both
|
||||||
|
set -g @tmux_power_prefix_highlight_pos 'LR'
|
||||||
|
run-shell "$HOME/.tmux/plugins/tmux-prefix-highlight/prefix_highlight.tmux"
|
||||||
|
#Themes
|
||||||
|
set -g @tmux_power_theme 'default'
|
||||||
|
run-shell "$HOME/.tmux/plugins/tmux-power/tmux-power.tmux"
|
||||||
|
#Pain Control
|
||||||
|
run-shell "$HOME/.tmux/plugins/tmux-pain-control/pain_control.tmux"
|
||||||
|
|
||||||
|
#init tmux plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue