{"id":20162596,"url":"https://github.com/zdharma-continuum/zsh-tig-plugin","last_synced_at":"2025-08-01T03:04:49.586Z","repository":{"id":103427572,"uuid":"424509745","full_name":"zdharma-continuum/zsh-tig-plugin","owner":"zdharma-continuum","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-16T05:39:23.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T00:09:22.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zdharma-continuum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-04T07:39:05.000Z","updated_at":"2021-11-19T14:13:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc2c9c29-6507-459a-a5e3-af0e638e0d8e","html_url":"https://github.com/zdharma-continuum/zsh-tig-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zdharma-continuum/zsh-tig-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzsh-tig-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzsh-tig-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzsh-tig-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzsh-tig-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zdharma-continuum","download_url":"https://codeload.github.com/zdharma-continuum/zsh-tig-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdharma-continuum%2Fzsh-tig-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268162340,"owners_count":24205700,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-14T00:25:52.657Z","updated_at":"2025-08-01T03:04:49.565Z","avatar_url":"https://github.com/zdharma-continuum.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [zsh-tig-plugin](#zsh-tig-plugin)\n  - [The Added Bindings](#the-added-bindings)\n    - [—— Make Bindings ——](#-make-bindings-)\n      - [xmf – eXecute MakeFile](#xmf--execute-makefile)\n      - [xamf – eXecute `all` MakeFile](#xamf--execute-all-makefile)\n      - [xcmf – eXecute `clean` MakeFile](#xcmf--execute-clean-makefile)\n    - [—— Copy Bindings ——](#-copy-bindings-)\n      - [xcp - eXecute CoPy](#xcp---execute-copy)\n      - [xfcp - eXecute File CoPy](#xfcp---execute-file-copy)\n    - [—— Editor Bindings ——](#-editor-bindings-)\n      - [xed - eXecute EDitor](#xed---execute-editor)\n      - [xled - eXecute List EDitor](#xled---execute-list-editor)\n    - [—— Midnight Commander Bindings ——](#-midnight-commander-bindings-)\n      - [xmc – eXecute Midnight Commander](#xmc--execute-midnight-commander)\n      - [xhmc – eXecute Home Midnight Commander](#xhmc--execute-home-midnight-commander)\n  - [Installation](#installation)\n    - [Zplugin](#zplugin)\n    - [Antigen](#antigen)\n    - [Oh-My-Zsh](#oh-my-zsh)\n    - [Zgen](#zgen)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n# zsh-tig-plugin\n\nA plugin for Zsh that automatically adds a few advanced bindings and also provides a Zsh-rewritten function and/or\nscript `tig-pick` (i.e.: the code is agnostic and can be run either as a script or as a function; it defaults to\nfunction), originally shipped with tig as `sh`-script in the `contrib/` subdirectory.\n\n## The Added Bindings\n\n### —— Make Bindings ——\n\n#### xmf – eXecute MakeFile\n\nRetrieves the list of targets for `Makefile` in the current directory and runs `fzf` or `fzy` on the list and then, when\na target gets selected, executes `make` on that target.\n\n#### xamf – eXecute `all` MakeFile\n\nRuns `make all`\n\n#### xcmf – eXecute `clean` MakeFile\n\nRuns `make clean`\n\n### —— Copy Bindings ——\n\n#### xcp - eXecute CoPy\n\nCopies the SHA of currently active (highlighted) commit into the clipboard. Supports OS X's `pbcopy` and Linux/other's\n`xsel` and `xclip`.\n\n#### xfcp - eXecute File CoPy\n\nCopies the contents of currently active (highlighted) file into the clipboard. Supports OS X's `pbcopy` and\nLinux/other's `xsel` and `xclip`.\n\n### —— Editor Bindings ——\n\n#### xed - eXecute EDitor\n\nExecutes an editor on selected file. It's either `$VISUAL`, then `$EDITOR` and then `vim`.\n\n#### xled - eXecute List EDitor\n\nRuns fuzzy-finder (either `fzf` or `fzy`) on the list of the files in the repository and after selecting one it then\nexecutes an editor like in `xed`.\n\n### —— Midnight Commander Bindings ——\n\n#### xmc – eXecute Midnight Commander\n\nExecutes `mc` with the left pane set to the repository and the right pane to `$ZSH_TIG_MC_DIR`. If the variable isn't\nset it uses `$HOME` instead.\n\n#### xhmc – eXecute Home Midnight Commander\n\nExecutes `mc` with the left pane set to the repository and the right pane to the home directory.\n\n## Installation\n\n### Zplugin\n\nAdd `zplugin load MenkeTechnologies/zsh-tig-plugin` to your `.zshrc` file. Zplugin will clone the plugin the next time\nyou start zsh. To update issue `zplugin update MenkeTechnologies/zsh-tig-plugin`.\n\n```zsh\nzplugin load MenkeTechnologies/zsh-tig-plugin\n```\n\nOr with use of the Turbo mode:\n\n```zsh\nzplugin wait lucid for MenkeTechnologies/zsh-tig-plugin\n```\n\n### Antigen\n\nAdd `antigen bundle zdharma/zsh-tig-plugin` to your `.zshrc` file. Antigen will handle cloning the plugin for you\nautomatically the next time you start zsh.\n\n```zsh\nantigen bundle MenkeTechnologies/zsh-tig-plugin\n```\n\n### Oh-My-Zsh\n\n1. `cd ~/.oh-my-zsh/custom/plugins`\n1. `git clone git@github.com:MenkeTechnologies/zsh-tig-plugin.git`\n1. Add `zsh-tig-plugin` to your plugin list\n\n### Zgen / Zgenom\n\nAdd `zgen load MenkeTechnologies/zsh-tig-plugin` to your .zshrc file in the same place you're doing your other\n`zgen load` calls in.\n\n\u003c!-- vim:set ft=markdown tw=80 fo+=a1n autoindent: --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdharma-continuum%2Fzsh-tig-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzdharma-continuum%2Fzsh-tig-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdharma-continuum%2Fzsh-tig-plugin/lists"}