# Owner: glow # KeyID: E65A8520F36AEE13CFE4F56BEB8FE331063A4794 # Key: https://glow.li/pgp # Verify: curl "https://glow.li/posts/tmux-text-macros/index.html.asc" | gpg -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 +++ { "date": "2018-04-23", "description": "Emojis and text macros in your terminal", "layout": "post", "oldurls": ["technology/2018/4/23/tmux-text-macros/"], "tags": [ "Technology", "Showcase", "Bash", "CLI", "Tmux", "Emoji", "Text-Art", "Video" ], "title": "Tmux-text-macros: Emojis for your Tmux" } +++ Did you ever want emojis in your terminal? Do you find yourself constantly writing the same text snippets? With Tmux-text-macros you can easily save and recall these inside Tmux. Powered by [fzf](https://github.com/junegunn/fzf) the search allows you to easily search macros by content or description. It comes with all emojis, box-drawing characters and block characters, as well as a few emoticons. Now I can use all the emojis when writing this blog. 🐦🐻 🕴💀 ## Download Repository: https://github.com/Neo-Oli/tmux-text-macros ## Requirements - - [fzf](https://github.com/junegunn/fzf) - - [fzf-tmux](https://github.com/junegunn/fzf/blob/master/bin/fzf-tmux) ## Installation 1. clone repository to `~/.tmux/plugins/` 2. add `run-shell ~/.tmux/plugins/tmux-text-macros/tmux-text-macros.tmux` to your `~/.tmux.conf` 3. run `tmux source ~/.tmux.conf` to enable the changes ## Configuration You can add your own custom macros to `~/.tmux/custom-macros`. You can use the `custom-macros` file as a template. If you want to disable all the default macros put `set -g @load-default-macros off` before loading the plugin in your `.tmux.conf` ## Usage Press `Prefix e` (normally `Ctrl+b e`) and choose a string by choosing it with the arrow keys or by entering a search string and press enter. -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE5lqFIPNq7hPP5PVr64/jMQY6R5QFAmRuqGUACgkQ64/jMQY6 R5R2lQ//e/uNrAGuumINg5MYiEifNo+do9diJ8G7pCc1lf9SqHY0923hG6TL74VI TEabDln8R8wM8j8SReY7Z/BtIO9cydzK4GYd6mDQCenbVCH6YBGtlznOZsoJRRsl Czpqd8jIjeHLuosIvKngxlz9/aZiQySYCyB7qUM5n5x6STYwAutELAI5IiJkMxfv jLTRzZSC3RgAyhCScyEA3cS0Xk8lp8MlUEoGcYtpsIM5s2P8wpShsxQy7yMnqW1S Gt60mEyhI4ZZoQkzof2xg4nKjSfxSPkkRmwPQYlnjs1l7GK5wCPYpIpzvG7Jffux 5jVGaEsLeNgm/GHMA/oG/JrVPnfQREQvbb4fSVc2Gg9lEPKrKqK7n8lnEIc8Jzv2 ZTIQA0Kng+bKRi9QXvPlXkx7aYTokdDcYM78FsimSHFeS3mYz+zyePr9Y/X4jQ8Q VIK0jAkMaksxVUB/CvLuimJbqC0GHFJU3xd074ckVfn3gYFAoAglDK+jdE2slLUx Z6Hx4I+YC6LdLxaJmuItNYruxLJksn7tOakXvH0qJieWZI6w9mihEfRuzkM9EY+g wkjY+JjySMtjxMY+wGmPdnHzQgcuP3SL7un3b6tkKAVqvNyh0cMxYNocRxy1X8MS w6Gy2rAEvxsPczUj9Wj+ouvwX/G8b/FnreEAFCpcJl0C5ObOuoE= =CWVq -----END PGP SIGNATURE-----