Access cheatsheets easily in a popup in tmux!
curltmuxfzfbash
Put this in your configuration file,
set -g @plugin 'kenos1/tmux-cht-sh'- Clone the repository
git clone https://github.com/kenos1/tmux-cht-sh ~/clone/path- Put this line in your config
run-shell ~/clone/path/tmux-cht-sh.tmux- Restart
tmux
To invoke the cheatsheet use the keybind prefix–S
# cht-sh default options
set -g @cht-sh-win-height '80%'
set -g @cht-sh-win-width '80%'
set -g @cht-sh-key 'S'-
@cht-sh-key
Description: Trigger key for the cht searching withprefix-
Default:S
Values: A char -
@cht-sh-win-width
Description: A operation window width
Default:80%
Values: A number or percent string -
@cht-sh-win-height
Description: A operation window height
Default:80%
Values: A number or percent string
Change the pager by changing your PAGER environment variable. This means adding this to your shell config:
# Bash/ZSH example using less
export PAGER="less"
