feat(tmux): compile tmux sessionizer and remove tpm
This commit is contained in:
parent
e37c74db15
commit
4040342a3c
|
@ -3,7 +3,10 @@
|
||||||
if [[ $# -eq 1 ]]; then
|
if [[ $# -eq 1 ]]; then
|
||||||
selected=$1
|
selected=$1
|
||||||
else
|
else
|
||||||
selected=$(find -L $GGROOT -mindepth 1 -maxdepth 5 -type d -name .git -prune | xargs -n 1 dirname | fzf --cycle --multi --bind 'tab:toggle-up,btab:toggle-down')
|
if ! [[ -f "$GGROOT/compiled" ]]; then
|
||||||
|
find -L $GGROOT -mindepth 1 -maxdepth 5 -type d -name .git -prune | xargs -n 1 dirname > "$GGROOT/compiled"
|
||||||
|
fi
|
||||||
|
selected=$(cat "$GGROOT/compiled" | fzf)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $selected ]]; then
|
if [[ -z $selected ]]; then
|
||||||
|
|
|
@ -32,5 +32,3 @@ bind-key -r g run-shell "tmux neww ~/.config/tmux/tmux-sessionizer $XDG_CONFIG_H
|
||||||
bind-key -r T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/Desktop/temp"
|
bind-key -r T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/Desktop/temp"
|
||||||
bind-key -r R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~"
|
bind-key -r R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~"
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
||||||
run '~/.config/tmux/plugins/tpm/tpm'
|
|
||||||
|
|
Loading…
Reference in New Issue