{"id":22914460,"url":"https://github.com/hernancerm/zsh-trampoline","last_synced_at":"2026-04-28T18:05:16.165Z","repository":{"id":258801475,"uuid":"708275273","full_name":"hernancerm/zsh-trampoline","owner":"hernancerm","description":"Jump to the places that matter to you","archived":false,"fork":false,"pushed_at":"2025-03-23T20:50:10.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T21:31:34.732Z","etag":null,"topics":["cd","navigation","zsh","zsh-plugin"],"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/hernancerm.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":"2023-10-22T03:51:51.000Z","updated_at":"2025-03-23T20:50:14.000Z","dependencies_parsed_at":"2025-02-14T06:30:22.005Z","dependency_job_id":"457436b3-328a-4d03-88da-b2a6a89eb127","html_url":"https://github.com/hernancerm/zsh-trampoline","commit_stats":null,"previous_names":["hernancerm/zsh-trampoline"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernancerm%2Fzsh-trampoline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernancerm%2Fzsh-trampoline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernancerm%2Fzsh-trampoline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hernancerm%2Fzsh-trampoline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hernancerm","download_url":"https://codeload.github.com/hernancerm/zsh-trampoline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635950,"owners_count":20809331,"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":["cd","navigation","zsh","zsh-plugin"],"created_at":"2024-12-14T05:15:08.652Z","updated_at":"2026-04-28T18:05:16.160Z","avatar_url":"https://github.com/hernancerm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zsh-trampoline\n\nZsh + [fzf](https://github.com/junegunn/fzf) for filesystem navigation.\n\n## What is this?\n\nThis is a Zsh plugin to efficiently `cd` to commonly visited dirs, and also open in\n`$EDITOR` commonly visited files. The plugin displays all your configured dirs and files\nin fzf always in the same order.\n\n## How do I use this?\n\nBefore using zsh-trampoline, you need to create a [configuration\nfile](#configuration-file). After that, while in a Zsh prompt, press \u003ckbd\u003ectrl+t\u003c/kbd\u003e to\nstart fzf with dirs and files to \"jump\" to: `cd` or open with `$EDITOR`. This list is\ntaken from your config file. Press \u003ckbd\u003eenter\u003c/kbd\u003e to jump to your selection.\n\n## Installation\n\n### Without a plugin manager\n\n1. Install [fzf](https://github.com/junegunn/fzf) version \u003e= 0.45.\n\n2. Clone the zsh-trampoline Git repository by executing the below command:\n\n    ```text\n    git clone 'https://github.com/hernancerm/zsh-trampoline.git' \\\n      \"${HOME}/.zsh-trampoline/zsh-trampoline\"\n    ```\n\n3. Place the below snippet at the end of your file `~/.zshrc`:\n\n    ```text\n    source \"${HOME}/.zsh-trampoline/zsh-trampoline/trampoline.plugin.zsh\"\n    zt_setup_widget\n    ```\n\n4. Start a new shell.\n\n### With a plugin manager\n\nIf you feel comfortable with shell scripting and plan to install other Zsh plugins, like\n[zsh-vi-mode](https://github.com/jeffreytse/zsh-vi-mode), I recommend you use a shell\nplugin manager like [Sheldon](https://github.com/rossmacarthur/sheldon) for the\ninstallation. Comparing this approach to the plugin-manager-less approach, the plugin\nmanager would be in charge of doing the git clone (step 2) and sourcing the plugin on\nstartup (line beginning with `source` from the snippet of step 3), you still need to call\n`zt_setup_widget`.\n\n## Configuration file\n\nzsh-trampoline supports two config files:\n\n1. `~/.zt`\n2. `~/.zt.local` (used for local config, should not be committed to source control.)\n\nThe configs are merged in order, no overrides. I recommend using the first config file for\ncommon dirs/files in your setup, while the second config file for sensitive or\nmachine-specific dirs/files. Both files share the same syntax.\n\nExample contents of the config file:\n\n```text\n~/dev/work\n~/dev/temp:0\n~/dev/Some Dir With Spaces:0\n~/dev/Another Dir With Spaces\n${HISTFILE}\n$HOME/foo/\n```\n\nExplanation of the config file's syntax:\n\n- Each line has the absolute path of one directory or one file.\n- By default, directories are expanded to their level-1 sub-dirs.\n- Directories may be suffixed with `:0` to list the dir itself instead of its level-1\n  sub-dirs.\n- Paths containing a colon (`:`) character are not supported.\n- The tilde (`~`) character is expanded to the user home directory.\n- Environment variables are supported.\n\n## Integration with other Zsh plugins\n\n- [jeffreytse/zsh-vi-mode](https://github.com/jeffreytse/zsh-vi-mode) (ZVM).\n\n    \u003ckbd\u003ectrl+t\u003c/kbd\u003e is set up inside the ZVM function below. Do not call\n    `zt_setup_widget` when integrating with ZVM. Use:\n\n    ```text\n    function zvm_after_init {\n      zt_zvm_setup_widget\n    }\n    source \"${HOME}/.zsh-trampoline/zsh-trampoline/trampoline.plugin.zsh\"\n    ```\n\n## Optional configuration\n\nParameter: `ZT_KEYBIND_START`:\n\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eAllowed values\u003c/th\u003e\u003cth\u003eDefault value\u003c/th\u003e\u003cth\u003eDescription\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\u003ca href=\"https://github.com/rothgar/mastering-zsh/blob/master/docs/helpers/bindkey.md\"\u003e\nKey binding\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003e^t\u003c/code\u003e (\u003ckbd\u003ectrl+t\u003c/kbd\u003e)\u003c/td\u003e\n\u003ctd\u003e\nKey binding to list dirs \u0026 files in fzf.\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Functions\n\n- `zt_version`\n- `zt_get_items`\n- `zt_setup_widget`\n- `zt_zvm_setup_widget`\n\n## Similar projects\n\n- \u003chttps://github.com/ajeetdsouza/zoxide\u003e\n- \u003chttps://github.com/wting/autojump\u003e\n- \u003chttps://github.com/agkozak/zsh-z\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhernancerm%2Fzsh-trampoline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhernancerm%2Fzsh-trampoline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhernancerm%2Fzsh-trampoline/lists"}