{"id":16539357,"url":"https://github.com/chemzqm/vim-iterm2-start","last_synced_at":"2026-03-09T04:31:22.506Z","repository":{"id":148040114,"uuid":"48712271","full_name":"chemzqm/vim-iterm2-start","owner":"chemzqm","description":"Start async task for iterm2 in vim","archived":false,"fork":false,"pushed_at":"2016-02-20T17:38:22.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-06T05:03:46.410Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"VimL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chemzqm.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-28T21:05:35.000Z","updated_at":"2020-06-06T10:44:15.000Z","dependencies_parsed_at":"2023-05-05T15:54:54.595Z","dependency_job_id":null,"html_url":"https://github.com/chemzqm/vim-iterm2-start","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chemzqm/vim-iterm2-start","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chemzqm%2Fvim-iterm2-start","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chemzqm%2Fvim-iterm2-start/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chemzqm%2Fvim-iterm2-start/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chemzqm%2Fvim-iterm2-start/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chemzqm","download_url":"https://codeload.github.com/chemzqm/vim-iterm2-start/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chemzqm%2Fvim-iterm2-start/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30283414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-11T18:48:47.348Z","updated_at":"2026-03-09T04:31:22.478Z","avatar_url":"https://github.com/chemzqm.png","language":"VimL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vim-iterm2-start\n\nDispatch a task for iTerm2 in MacVim, used for async command line task (eg: git\npush and unite tests)\n\nIt works much like [vim-dispatch](https://github.com/tpope/vim-dispatch), the\ndifference is it's works (only) with MacVim, iTerm2 latest and fish shell, in\norder to keep it quite simple.  The reason I made this is I found changing the\ncode of vim-dispatch is quite hard, and it doesn't support iTerm2 \u003e 2.9\n\nRequirement:\n\n* MacVim 7.3+\n* iTerm2 \u003e 2.9 currently in beta test (latest lightly build is preferred)\n* fish shell (otherwise you will need change the code)\n* Knowledge of command line tools\n\n## Update\n\n* notification enabled, looks like:\n\n\u003cimg width=\"355\" alt=\"screen shot 2016-01-07 at 6 17 41 am\" src=\"https://cloud.githubusercontent.com/assets/251450/12157114/603c4ac2-b50a-11e5-82e1-f2054abf3337.png\"\u003e\n\n## Command\n\n* `ItermStart[!] [options] {command}`\n\n    Start task in current session of iTerm2, when prefix with `!`, not foucs the\n    iTerm window\n\n    * -dir=...     run command in given directory\n    * -title=...   set label for iTerm2\n    * -no-wait     disable the default prompt of `press enter to continue` on\n      command error\n\n* `ItermStartTab[!] [options] {command}`\n\n    Start task in a new tab session of iTerm2, options are the same as\n    `ItermStart` command\n\n    *NOTE:*  iTerm2 version \u003e Build 2.9.20160103-nightly is required to make\n    iTerm2 run job at background corrently\n\n## Global varialbes\n\n* `g:iterm_start_profile` is used for control the profile used by\n  `ItermStartTab`, you can crate a profile of iTerm2 called `fish` that use fish shell, and \n  config `ItermStartTab` to use fish shell by add:\n\n    let g:iterm_start_profile = 'fish'\n\n  in your `.vimrc`\n\n* `let g:iterm_start_enable=1` would enable Mac notification on command success.\n  support `growl` and `terminal-notifier`\n\n## Intergration\n\nIf you use [vim-test](https://github.com/janko-m/vim-test), you can make your\ntest run in background by adding below lines to your `.vimrc`:\n\n    function! StartTest(cmd)\n      execute 'ItermStartTab! ' . a:cmd\n    endfunction\n\n    let g:test#custom_strategies = {'start': function('StartTest')}\n    let g:test#strategy = 'start'\n\n## Send message back to MacVim\n\nYou can make use of the vim feature `clientserver` to send message back to your\nMacVim, here is a example of creating a filter program that parse output of\nmocha and fill the quickfix of MacVim\n\n    https://gist.github.com/chemzqm/fd1313206c182884efbc\n\nSo you can jump to error location directly in your MacVim.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchemzqm%2Fvim-iterm2-start","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchemzqm%2Fvim-iterm2-start","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchemzqm%2Fvim-iterm2-start/lists"}