* correctly automatic tpm tmux plugins install - loading tpm for the existing TMUX_PLUGIN_MANAGER_PATH variable for correctly working install_plugins script
This commit is contained in:
@ -114,8 +114,8 @@ bind -T off F12 \
|
|||||||
refresh-client -S
|
refresh-client -S
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
if-shell "test ! -d ~/.tmux/plugins/tpm" \
|
||||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'; run '~/.tmux/plugins/tpm/tpm'; run '~/.tmux/plugins/tpm/bin/install_plugins'; run '~/.tmux/plugins/tpm/tpm'" \
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
"run '~/.tmux/plugins/tpm/tpm'"
|
||||||
|
|
||||||
# vim: se ft=tmux :
|
# vim: se ft=tmux :
|
||||||
|
@ -22,6 +22,7 @@ set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
|
|||||||
set -g @continuum-restore 'on'
|
set -g @continuum-restore 'on'
|
||||||
set -g @continuum-save-interval '5'
|
set -g @continuum-save-interval '5'
|
||||||
set -g @resurrect-capture-pane-contents 'on'
|
set -g @resurrect-capture-pane-contents 'on'
|
||||||
|
set -g @resurrect-processes 'su'
|
||||||
set -g @yank_selection 'primary'
|
set -g @yank_selection 'primary'
|
||||||
set -g @yank_selection_mouse 'clipboard'
|
set -g @yank_selection_mouse 'clipboard'
|
||||||
set -g @man-size '40%'
|
set -g @man-size '40%'
|
||||||
@ -102,7 +103,7 @@ bind -T root F12 \
|
|||||||
set prefix None \;\
|
set prefix None \;\
|
||||||
set key-table off \;\
|
set key-table off \;\
|
||||||
if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\
|
if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\
|
||||||
refresh-client -S \;\
|
refresh-client -S
|
||||||
|
|
||||||
bind -T off F12 \
|
bind -T off F12 \
|
||||||
set -u prefix \;\
|
set -u prefix \;\
|
||||||
@ -110,8 +111,8 @@ bind -T off F12 \
|
|||||||
refresh-client -S
|
refresh-client -S
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
if-shell "test ! -d ~/.tmux/plugins/tpm" \
|
||||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'; run '~/.tmux/plugins/tpm/tpm'; run '~/.tmux/plugins/tpm/bin/install_plugins'; run '~/.tmux/plugins/tpm/tpm'" \
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
"run '~/.tmux/plugins/tpm/tpm'"
|
||||||
|
|
||||||
# vim: se ft=tmux :
|
# vim: se ft=tmux :
|
||||||
|
@ -37,6 +37,8 @@ bind-key -T copy-mode-vi WheelDownPane send-keys -X halfpage-down
|
|||||||
bind r source-file ~/.tmux.conf
|
bind r source-file ~/.tmux.conf
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
if-shell "test ! -d ~/.tmux/plugins/tpm" \
|
||||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'; run '~/.tmux/plugins/tpm/tpm'; run '~/.tmux/plugins/tpm/bin/install_plugins'; run '~/.tmux/plugins/tpm/tpm'" \
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
"run '~/.tmux/plugins/tpm/tpm'"
|
||||||
|
|
||||||
|
# vim: se ft=tmux :
|
||||||
|
Reference in New Issue
Block a user