demo.mp4
Install via TPM
Add the following to ~/.tmux.conf
set -g @plugin 'overthemil/tmux-cheat-sh'
The default key to open the popup is PREFIX
+ /
. This can be modified by adding the following line to ~/.tmux.conf
TMUX_CHEAT_SH_LAUNCH_KEY="i"
This changes the key to open the popup to PREFIX
+ i
The options that appear on the popup can be chosen by adding the following lines to ~/.tmux.conf
TMUX_CHEAT_SH_LANGUAGES="cpp|c|golang|lua|rust|typescript|javascript|nodejs|sql|zig|html|css|zsh|bash|python|tmux|gdb|radare2"
TMUX_CHEAT_SH_UTILS="mv|sed|awk|git|ps|ssh|cargo|tr|jq|docker|docker-compose"
The variables above represent the defaults that come with this plugin. Feel free to remove or add values that are relevant to you. Remember to separate each value with a |
.
- Based on this ThePrimeagen video
- The amazing plugin tmux-fzf was used as a reference