{"id":13572523,"url":"https://github.com/tmux-plugins/tmux-copycat","last_synced_at":"2025-05-16T08:03:16.126Z","repository":{"id":17681601,"uuid":"20487466","full_name":"tmux-plugins/tmux-copycat","owner":"tmux-plugins","description":"A plugin that enhances tmux search","archived":false,"fork":false,"pushed_at":"2023-05-21T21:00:27.000Z","size":265,"stargazers_count":1140,"open_issues_count":55,"forks_count":60,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-16T08:02:18.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmux-plugins.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2014-06-04T14:45:19.000Z","updated_at":"2025-05-13T23:18:19.000Z","dependencies_parsed_at":"2024-04-11T21:48:54.748Z","dependency_job_id":"2ee2b543-ddd0-424c-bc45-5a652156b760","html_url":"https://github.com/tmux-plugins/tmux-copycat","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmux-plugins%2Ftmux-copycat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmux-plugins%2Ftmux-copycat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmux-plugins%2Ftmux-copycat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmux-plugins%2Ftmux-copycat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmux-plugins","download_url":"https://codeload.github.com/tmux-plugins/tmux-copycat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493381,"owners_count":22080126,"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":[],"created_at":"2024-08-01T14:01:25.865Z","updated_at":"2025-05-16T08:03:16.067Z","avatar_url":"https://github.com/tmux-plugins.png","language":"Shell","funding_links":[],"categories":["Shell","Plugins"],"sub_categories":[],"readme":"# Tmux copycat\n\n[![Build Status](https://travis-ci.org/tmux-plugins/tmux-copycat.svg?branch=master)](https://travis-ci.org/tmux-plugins/tmux-copycat)\n\n**NOTE: [tmux 3.1 adds support for native regex searches](https://raw.githubusercontent.com/tmux/tmux/3.1/CHANGES).\nThis is great news because it means a big part of 'tmux-copycat' is now\navailable natively! Use this plugin only if you need its other features.**\n\nThis plugin enables:\n\n- regex searches (native support added in tmux 3.1)\n- search result highlighting\n- predefined searches\n\nPredefined searches are plugin killer feature. It speeds the workflow and\nreduces mouse usage with Tmux.\n\nIt works even better when paired with\n[tmux yank](https://github.com/tmux-plugins/tmux-yank). Tested and working on\nLinux, OSX and Cygwin.\n\n### Screencast\n\n[![screencast screenshot](/video/screencast_img.png)](https://vimeo.com/101867689)\n\n#### Search\n\n- `prefix + /` - regex search (strings work too)\n\nExample search entries:\n\n- `foo` - searches for string `foo`\n- `[0-9]+` - regex search for numbers\n\nGrep is used for searching.\u003cbr/\u003e\nSearches are case insensitive.\u003cbr/\u003e\n\n#### Predefined searches\n\n- `prefix + ctrl-f` - simple *f*ile search\n- `prefix + ctrl-g` - jumping over *g*it status files (best used after `git status` command)\n- `prefix + alt-h` - jumping over SHA-1/SHA-256 hashes (best used after `git log` command)\n- `prefix + ctrl-u` - *u*rl search (http, ftp and git urls)\n- `prefix + ctrl-d` - number search (mnemonic d, as digit)\n- `prefix + alt-i` - *i*p address search\n\nThese start \"copycat mode\" and jump to first match.\n\n#### \"Copycat mode\" bindings\n\nThese are enabled when you search with copycat:\n\n- `n` - jumps to the next match\n- `N` - jumps to the previous match\n\nTo copy a highlighted match:\n\n- `Enter` - if you're using Tmux `vi` mode\n- `ctrl-w` or `alt-w` - if you're using Tmux `emacs` mode\n\nCopying a highlighted match will take you \"out\" of copycat mode. Paste with\n`prefix + ]` (this is Tmux default paste).\n\nCopying highlighted matches can be enhanced with\n[tmux yank](https://github.com/tmux-plugins/tmux-yank).\n\n### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)\n\nAdd plugin to the list of TPM plugins in `.tmux.conf`:\n\n    set -g @plugin 'tmux-plugins/tmux-copycat'\n\nHit `prefix + I` to fetch the plugin and source it. You should now be able to\nuse the plugin.\n\nOptional (but recommended) install `gawk` via your package manager of choice\nfor better UTF-8 character support.\n\n### Manual Installation\n\nClone the repo:\n\n    $ git clone https://github.com/tmux-plugins/tmux-copycat ~/clone/path\n\nAdd this line to the bottom of `.tmux.conf`:\n\n    run-shell ~/clone/path/copycat.tmux\n\nReload TMUX environment with: `$ tmux source-file ~/.tmux.conf`. You should now\nbe able to use the plugin.\n\nOptional (but recommended) install `gawk` via your package manager of choice\nfor better UTF-8 character support.\n\n### Installation for Tmux 2.3 and earlier\n\nDue to the changes in tmux, the latest version of this plugin doesn't support\ntmux 2.3 and earlier. It is recommended you upgrade to tmux version 2.4 or\nlater. If you must continue using older version, please follow\n[these steps for installation](docs/installation_for_tmux_2.3.md).\n\n### Limitations\n\nThis plugin has some known limitations. Please read about it\n[here](docs/limitations.md).\n\n### Docs\n\n- Most of the behavior of tmux-copycat can be customized via tmux options.\n  [Check out the full options list](docs/customizations.md).\n- To speed up the workflow you can define new bindings in `.tmux.conf` for\n  searches you use often, more info [here](docs/defining_new_stored_searches.md)\n\n### Other goodies\n\n`tmux-copycat` works great with:\n\n- [tmux-yank](https://github.com/tmux-plugins/tmux-yank) - enables copying\n  highlighted text to system clipboard\n- [tmux-open](https://github.com/tmux-plugins/tmux-open) - a plugin for quickly\n  opening a highlighted file or a url\n- [tmux-continuum](https://github.com/tmux-plugins/tmux-continuum) - automatic\n  restoring and continuous saving of tmux env\n\n### Test suite\n\nThis plugin has a pretty extensive integration test suite that runs on\n[travis](https://travis-ci.org/tmux-plugins/tmux-copycat).\n\nWhen run locally, it depends on `vagrant`. Run it with:\n\n    # within project top directory\n    $ ./run-tests\n\n### Contributions and new features\n\nBug fixes and contributions are welcome.\n\nFeel free to suggest new features, via github issues.\n\nIf you have a bigger idea you'd like to work on, please get in touch, also via\ngithub issues.\n\n### License\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmux-plugins%2Ftmux-copycat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmux-plugins%2Ftmux-copycat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmux-plugins%2Ftmux-copycat/lists"}