{"id":15735705,"url":"https://github.com/simonrw/vim-tslime-input","last_synced_at":"2026-02-06T11:03:36.232Z","repository":{"id":9460569,"uuid":"11342382","full_name":"simonrw/vim-tslime-input","owner":"simonrw","description":"Repeat commands for tslime","archived":false,"fork":false,"pushed_at":"2013-07-15T18:06:44.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-12T03:51:26.364Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonrw.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}},"created_at":"2013-07-11T13:19:28.000Z","updated_at":"2013-10-07T03:25:57.000Z","dependencies_parsed_at":"2022-09-02T12:44:26.621Z","dependency_job_id":null,"html_url":"https://github.com/simonrw/vim-tslime-input","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/simonrw/vim-tslime-input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrw%2Fvim-tslime-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrw%2Fvim-tslime-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrw%2Fvim-tslime-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrw%2Fvim-tslime-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonrw","download_url":"https://codeload.github.com/simonrw/vim-tslime-input/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrw%2Fvim-tslime-input/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29158565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T07:18:23.844Z","status":"ssl_error","status_checked_at":"2026-02-06T07:13:32.659Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-04T01:14:45.943Z","updated_at":"2026-02-06T11:03:36.195Z","avatar_url":"https://github.com/simonrw.png","language":"VimL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tslime-input.vim\n\nThis plugin is a simple convenience wrapper around tslime to enable repeat\ncommands to be run from vim.\n\nI tried vimux for running commands in a tmux window, but I like the way tslime prompts for user input on commands. I also liked the way you could repeat commands with vimux. I've created this plugin to merge the two functionalities I liked from both plugins, and now my workflow is very simple.\n\n## Example\n\nI have the two important functions mapped to `\u003cleader\u003ea` for running the command, and `\u003cleader\u003eR` for resetting the behaviour. I usually have a narrow pane open to the right of my vim window for running things. I can quickly set this up by running\n\n* `\u003cleader\u003ea`\n* inputting my command and watching my tests run, or my main script to run\n* calling `\u003cleader\u003ea` as many times as I want to run the same command again\n* should I need a new command, I run `\u003cleader\u003eR` `\u003cleader\u003ea` and input my new command.\n\n## Commands\n\nThree functions are made available:\n\n`TslimeAskForCommand`\n\nThis function prompts for user input the first time it's run, and on subsequent\nruns it repeats the last command. \n\nThe command autocompletes any previous commands run.\n\n`TslimeResetLastCommand`\n\nThis resets the previously last run command if set. This also calls `TslimeResetTslimeSettings`.\n\n`TslimeResetTslimeSettings`\n\nThis function resets the internal tslime settings variable, which contains the tmux session/window/pane to use.\n\n## Key mappings\n\nThe user is responsible for setting their own keyboard mappings, but an example\ncan be\n\n``` vim\nnmap \u003cleader\u003ea :call TslimeAskForCommand()\u003cCR\u003e\nnmap \u003cleader\u003eR :call TslimeResetLastCommand()\u003cCR\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrw%2Fvim-tslime-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonrw%2Fvim-tslime-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrw%2Fvim-tslime-input/lists"}