# 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/jMQY6R5QFAmdQj/AACgkQ64/jMQY6 R5TMfBAAg02Z5mKeGMcikISJiFM0nuYrVtIQeLKQdbM8wwY5JTWn64R6WmIXaLc9 bfJHjWYC/2m3IYkf7sNHmRI0Yu/GZ89hALa3KU22l9x9B0LONXE/E3GE3NohMnTZ yBfNzlsAJ9BlJqVWmFMhO0svJSMRIjwCF2wQW1baQNlutjaIqf4xPpoJdxO9zV14 0Z2X2ywoHCzY2Pc4ZJjMiH5q8litvuiuuyil0cHqddLvQzqOn/1jd9YK1d0RH1TH Cb3O1zsZXABRk0pbgcsGM8SYhtRpeiABBBf6LntYJIfazYje1j/pKcJW5UYbESjA gge1mjTW108F7yYAb2dOSGc53MgAio22sxrL0Wh+84W+rRhWh7ICH1MPkxUwM64b kqO4fTdGp/JLpzo3lPqUukKDxzaRSuiyqZc91nVKloZTNhuVAbULOv6hIAoLiJuh dWI8FQGdH/mqt5fPAw9xeMgXMYCua3t96Fty3tEH50VCoznxrNDvU2VzsEfM/zgs zJUDYOH+xqYpoVrs5KV4CzBbsyQz6X8Xd+qk12cedJOMMxehiUeKyecyNW05oSz6 w75gJ4qT9diystrn3bCcLcNHTCOpvIFejXjbXLyJwp5HxmkIj9f/kCeopKubwyma l3J5jT9AB5OTlTmA7NVxfZWwNgN8txn47cklnBvHjJ0IwshRbrI= =mzzL -----END PGP SIGNATURE-----