{"id":22780085,"url":"https://github.com/babab/gim","last_synced_at":"2025-11-10T01:03:06.810Z","repository":{"id":21767092,"uuid":"25089310","full_name":"babab/gim","owner":"babab","description":"Select files to be edited in Vim or Emacs from Git repository data","archived":false,"fork":false,"pushed_at":"2023-03-22T10:22:53.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T15:52:41.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/babab.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-11T17:59:59.000Z","updated_at":"2023-05-30T17:46:52.000Z","dependencies_parsed_at":"2025-02-05T15:50:29.230Z","dependency_job_id":"14f7e4c8-1e72-43b8-8cd0-fe8dededa2d0","html_url":"https://github.com/babab/gim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babab%2Fgim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babab%2Fgim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babab%2Fgim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babab%2Fgim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babab","download_url":"https://codeload.github.com/babab/gim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246326783,"owners_count":20759439,"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-12-11T20:12:12.663Z","updated_at":"2025-11-10T01:03:06.765Z","avatar_url":"https://github.com/babab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"gim\n==============================================================================\n\ngim is a simple command line tool for quickly creating Vim or Emacs\nediting sessions by choosing files from a selection menu gathered from\nthe output of the git ``status`` or ``ls-files`` subcommands.\n\nVim mode (default)\n------------------\n\nWhen 2 files are selected it will fetch your terminal width and create a\nvertical split window when \u003e 161 characters are available. Otherwise the\nfiles will be shown in a horizontal splitted window.\n\nWhen \u003e2 files are selected, all files will be opened as vim tabs.\n\nEmacs mode (-e or --emacs)\n--------------------------\n\nIf -e or --emacs argument is given, each file will be opened in a new\nEmacs frame with emacsclient.\n\n\n.. image:: https://asciinema.org/a/e3hkjfe2pwna5timt14buxtwh.png\n   :target: https://asciinema.org/a/e3hkjfe2pwna5timt14buxtwh\n   :width: 640px\n\n\nusage\n=====\n\n::\n\n   usage: gim [options]\n\n   Select files to be edited in Vim from Git repository data\n\n   Options:\n   -h, --help      show this help information\n   -s, --staged    Do not include unstaged files\n   -u, --unstaged  Include unstaged files [default]\n   -i, --indexed   Show indexed files only (git ls-files)\n   -1, --last      Show files of last commit\n   -d, --diff      Open selected files with vimdiff\n   -e, --emacs     Open selected files with Emacs\n   --version       show version information\n\n\ninstall\n=======\n\nI have yet to write a setup.py script. Meanwhile you can just::\n\n   $ sudo make install\n\nBe sure to also install pycommand and optionally ansicolors.\n\ndependencies\n------------\n\n- Python 3.5.x (lower versions may work but are not tested a.t.m)\n- pycommand (needed) -- https://pypi.python.org/pypi/pycommand\n- ansicolors (optional) -- https://pypi.python.org/pypi/ansicolors\n\nuninstall\n=========\n\nI have yet to write a setup.py script. Meanwhile you can just::\n\n   $ sudo make uninstall\n\nlicense\n=======\n\nCopyright (c) 2013-2016 Benjamin Althues \u003cbenjamin@babab.nl\u003e\n\nPermission to use, copy, modify, and distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabab%2Fgim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabab%2Fgim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabab%2Fgim/lists"}