mirror of
https://github.com/gyoder/dots.git
synced 2026-02-27 17:03:45 +00:00
added sesh
This commit is contained in:
parent
7748e0113f
commit
2c4d466453
1 changed files with 15 additions and 0 deletions
|
|
@ -36,6 +36,21 @@ bind -n M-7 select-window -t 7
|
||||||
bind -n M-8 select-window -t 8
|
bind -n M-8 select-window -t 8
|
||||||
bind -n M-9 select-window -t 9
|
bind -n M-9 select-window -t 9
|
||||||
|
|
||||||
|
bind-key "T" run-shell "sesh connect \"$(
|
||||||
|
sesh list --icons | fzf-tmux -p 80%,70% \
|
||||||
|
--no-sort --ansi --border-label ' sesh ' --prompt '⚡ ' \
|
||||||
|
--header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
|
||||||
|
--bind 'tab:down,btab:up' \
|
||||||
|
--bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list --icons)' \
|
||||||
|
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t --icons)' \
|
||||||
|
--bind 'ctrl-g:change-prompt(⚙️ )+reload(sesh list -c --icons)' \
|
||||||
|
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z --icons)' \
|
||||||
|
--bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
|
||||||
|
--bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(⚡ )+reload(sesh list --icons)' \
|
||||||
|
--preview-window 'right:55%' \
|
||||||
|
--preview 'sesh preview {}'
|
||||||
|
)\""
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue