Skip to content

Commit

Permalink
docs: add preview to fzf example (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
danitrap committed Dec 16, 2024
1 parent a86da2e commit 4b57b32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ In order to integrate with tmux, you can add a binding to your tmux config (`tmu

```sh
bind-key "T" run-shell "sesh connect \"$(
sesh list --icons | fzf-tmux -p 55%,60% \
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' \
Expand All @@ -121,6 +121,8 @@ bind-key "T" run-shell "sesh connect \"$(
--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 {}'
)\""
```

Expand Down

0 comments on commit 4b57b32

Please sign in to comment.