irongit

Find and execute tmux commands rather view a list with the ? key binding. A great way to memorize the keys.

tmux-fzf-keys/README.md
93 lines1.7 KBMarkdown
1# ๐Ÿ”ฅ tmux-fzf-keys
2
3A fuzzy-powered popup to **search, learn, and run any tmux keybinding**.
4Perfect for power users, beginners, and everyone in between. ๐Ÿš€
5
6![demo]./demo.gif
7
8---
9
10## ๐Ÿ’ก Why use this?
11
12Getting lost in tmux keybindings?
13Stop memorizing โ€” **start searching**. This plugin helps you:
14
15- ๐Ÿ” Quickly discover available keybindings
16- ๐Ÿง  Learn tmux tables like `prefix`, `copy-mode`, and more
17- โšก Run any binding directly from an interactive list
18- ๐Ÿงฉ Customize your workflow and explore tmux like a pro
19
20---
21
22## โš™๏ธ Features
23
24- ๐Ÿง  Fuzzy-search all `tmux list-keys` output by table
25- โŒจ๏ธ Review full commands before running
26- ๐Ÿ‘† Opens in a popup so you never leave your session
27- ๐Ÿงฉ Clean plugin structure โ€” easy to extend
28- โœ… Automatically uses popup for interactive commands
29
30---
31
32## ๐Ÿ“ฆ Prerequisites
33
34- [fzf]https://github.com/junegunn/fzf must be installed and available in your `$PATH`
35
36---
37
38## ๐Ÿ”ง Installation
39
40### Using [TPM (Tmux Plugin Manager)]https://github.com/tmux-plugins/tpm
41
42Add the following to your `.tmux.conf`:
43
44```tmux
45set -g @plugin 'huncholane/tmux-fzf-keys'
46```
47
48Then reload tmux and install plugins:
49
50```bash
51prefix + I
52```
53
54---
55
56## ๐Ÿงช Usage
57
58Hit:
59
60```text
61prefix + ?
62```
63
64This opens a popup with a fuzzy list of all current tmux keybindings.
65
66- Type to search
67- Preview the command
68- Press `Enter` to run it instantly
69
70---
71
72## ๐Ÿ›  Custom Keybinding (optional)
73
74To override the default key:
75
76```tmux
77unbind ?
78bind C-f run-shell "#{plugin_path}/scripts/get_and_run.sh"
79```
80
81---
82
83## ๐Ÿค Contributing
84
85Suggestions, feedback, and PRs welcome!
86This plugin is meant to help others explore and understand tmux.
87Open an issue or fork the repo and submit your ideas!
88
89---
90
91## ๐Ÿ“œ License
92
93MIT