{"id":13683096,"url":"https://github.com/dominikduda/tmux_mode_indicator","last_synced_at":"2025-04-30T12:33:20.924Z","repository":{"id":18313999,"uuid":"83590964","full_name":"dominikduda/tmux_mode_indicator","owner":"dominikduda","description":"Tmux plugin that indicate modes you are in (normal/prefix, copy/insert)","archived":false,"fork":true,"pushed_at":"2022-10-08T01:07:19.000Z","size":63,"stargazers_count":43,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T03:07:53.912Z","etag":null,"topics":["tmux-plugins"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"tmux-plugins/tmux-example-plugin","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dominikduda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-01T19:09:45.000Z","updated_at":"2025-01-21T09:39:46.000Z","dependencies_parsed_at":"2023-01-16T21:45:35.844Z","dependency_job_id":null,"html_url":"https://github.com/dominikduda/tmux_mode_indicator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominikduda%2Ftmux_mode_indicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominikduda%2Ftmux_mode_indicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominikduda%2Ftmux_mode_indicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominikduda%2Ftmux_mode_indicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dominikduda","download_url":"https://codeload.github.com/dominikduda/tmux_mode_indicator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251701832,"owners_count":21629901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tmux-plugins"],"created_at":"2024-08-02T13:02:00.237Z","updated_at":"2025-04-30T12:33:20.685Z","avatar_url":"https://github.com/dominikduda.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/dominikduda/config_files/master/dd_logo_blue_bg.png\" width=\"300\" height=\"300\" /\u003e\n\n# tmux_mode_indicator\n\n![normal insert img](https://raw.githubusercontent.com/dominikduda/tmux_mode_indicator/master/images/normal_insert.png)\n![prefix insert img](https://raw.githubusercontent.com/dominikduda/tmux_mode_indicator/master/images/prefix_insert.png)\n![normal copy img](https://raw.githubusercontent.com/dominikduda/tmux_mode_indicator/master/images/normal_copy.png)\n![prefix copy img](https://raw.githubusercontent.com/dominikduda/tmux_mode_indicator/master/images/prefix_copy.png)\n\nPlugin indicating normal/insert/prefix/copy modes. It is also available as segment for [tmux-powerline](https://github.com/erikw/tmux-powerline).\n\n## Installation:\n### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)\n\n```\nset -g @plugin 'dominikduda/tmux_mode_indicator'\n```\nHit prefix + I to fetch the plugin and source it then add format string to `status-right` (look at [quick start](#quick-start) section for that).\n\n### Manual Installation\n\nClone the repo:\n\n    $ git clone https://github.com/dominikduda/tmux_mode_indicator ~/clone/path\n\nAdd this line to the bottom of `.tmux.conf`:\n\n    run-shell ~/clone/path/tmux_mode_indicator.tmux\n\nReload TMUX environment:\n\n    # type this in terminal\n    $ tmux source-file ~/.tmux.conf\n\nAdd format string to `status-right` (look at [quick start](#quick-start) section for that).\n\n\n## Quick start\nPut this in at the top of `.tmux.conf`:\n\n    set -g status-right \"#{tmux_mode_indicator}\"\n\nBy default powerline characters are disabled for compatibility. If u want to enable them (an make plugin look like it looks on screens at the top) put this at the top of `.tmux.conf`:\n\n    set -g @tmux_mode_indicator_left_edge_character \"\"\n    set -g @tmux_mode_indicator_separator \"✤\"\n\n## Other plugins/functions integration\n\nIf you want to display something else in the right status just add it before/after `#{tmux_mode_indicator}`:\n\n    set -g status-right '%d/%m #{tmux_mode_indicator} %H:%M:%S'\n\nIt will produce following right status (if u set powerline characters as [quick start](#quick-start) says):\n\n![example right status](https://raw.githubusercontent.com/dominikduda/tmux_mode_indicator/master/images/tmux_mode_indicator_with_date_and_hour.png)\n\nYou can make it colorful:\n\n    set -g @tmux_mode_indicator_left_edge_character \"\"\n    set -g @tmux_mode_indicator_separator \"✤\"\n    set -g @tmux_mode_indicator_background \"colour33\"\n    set -g @tmux_mode_indicator_right_edge_character \"\"\n    set -g @tmux_mode_indicator_right_edge_character_fg \"#8dc062\"\n    set -g @tmux_mode_indicator_left_edge_character_bg \"#deb863\"\n    set -g @tmux_mode_indicator_after_interpolation_bg \"#8dc062\"\n    set -g @tmux_mode_indicator_after_interpolation_fg \"#000000\"\n\n    set -g status-right \"#[bg=#626262,fg=#deb863]#[bg=#deb863,fg=#000000] %d/%m #{tmux_mode_indicator} %H:%M:%S \"\n\nIt will produce following right status:\n\n![example right status](https://raw.githubusercontent.com/dominikduda/tmux_mode_indicator/master/images/tmux_mode_indicator_with_date_and_hour_pretty.png)\n\nFor API information see [customization](#customization) section.\n\n## Potential issues solutions:\n\nPlugin is cut on the right side? Enlarge `status-right-length`\n\n    set-option -g status-right-length 300\n\nPlugin updates slowly? Set set tmux status update time (`tmux-status-interval`) to 1 second.\n\n    set -g status-interval 1\n\n## Customization\n\n##### All customizations listed below should be pasted at the top of your `.tmux.conf`\n\nNotes:\n- Some characters are tmux-special-characters and may not work.\n- Colors can be passed in tmux format (`color232`) of hex format (`#ffffff`)\n\nChange text displayed when in copy mode\n\n    set -g @tmux_mode_indicator_copy_mode_text \"INTERESTING PHRASE\"\n\nChange text displayed after pressing prefix\n\n    set -g @tmux_mode_indicator_prefix_pressed_text \"SMART WORD\"\n\nChange text displayed when in insert mode\n\n    set -g @tmux_mode_indicator_insert_mode_text \"CATCHY JOKE\"\n\nChange text displayed when in normal mode\n\n    set -g @tmux_mode_indicator_normal_mode_text \"FUNNY SAMPLE TEXT\"\n\nChange separator\n\n    set -g @tmux_mode_indicator_separator \"XD\"\n\nChange character displayed on left edge of the indicator\n\n    set -g @tmux_mode_indicator_left_edge_character \"X\"\n\nChange character displayed on right edge of the indicator (by default empty string, useful when you want to display something else after tmux_mode_indicator)\n\n    set -g @tmux_mode_indicator_right_edge_character \"X\"\n\nChange background color of tmux_mode_indicator\n\n    set -g @tmux_mode_indicator_background \"colour2\"\n\nChange background color of prefixed_pressed_text\n\n    set -g @prefixed_pressed_bg \"colour2\"\n\nChange background color of copy_mode_text\n\n    set -g @copy_mode_bg \"colour2\"\n\nChange color of text displayed when in copy mode\n\n    set -g @tmux_mode_indicator_copy_mode_fg \"#ffffff\"\n\nChange color of text displayed when prefix is pressed\n\n    set -g @tmux_mode_indicator_prefix_pressed_fg \"colour3\"\n\nChange default text color\n\n    set -g @tmux_mode_indicator_normal_fg \"#ff00ff\"\n\nChange background color of character displayed on left edge of the indicator (useful when you want to display something with specific colors after tmux_mode_indicator)\n\n    set -g @tmux_mode_indicator_left_edge_character_bg \"colour5\"\n\nChange separator color\n\n    set -g @tmux_mode_indicator_separator_fg \"colour5\"\n\nChange color of text displayed after tmux_mode_indicator (useful when you want to display something with specific colors after tmux_mode_indicator)\n\n    set -g @tmux_mode_indicator_after_interpolation_fg \"#ffff00\"\n\nChange background color of text displayed after tmux_mode_indicator (useful when you want to display something with specific colors after tmux_mode_indicator)\n\n    set -g @tmux_mode_indicator_after_interpolation_bg \"colour6\"\n\nChange background color of character displayed on right edge of the indicator (useful when you want to display something with specific colors after tmux_mode_indicator)\n\n    set -g @tmux_mode_indicator_right_edge_character_bg \"#ff0000\"\n\nChange color of character displayed on right edge of the indicator (useful when you want to display something with specific colors after tmux_mode_indicator)\n\n    set -g @tmux_mode_indicator_right_edge_character_fg \"#colour7\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominikduda%2Ftmux_mode_indicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdominikduda%2Ftmux_mode_indicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominikduda%2Ftmux_mode_indicator/lists"}