{"id":19078938,"url":"https://github.com/tomtom/tinykeymap_vim","last_synced_at":"2025-04-30T05:23:22.937Z","repository":{"id":4453420,"uuid":"5591992","full_name":"tomtom/tinykeymap_vim","owner":"tomtom","description":"Tiny, temporary keymaps","archived":false,"fork":false,"pushed_at":"2024-02-17T11:43:03.000Z","size":133,"stargazers_count":34,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-18T20:49:52.788Z","etag":null,"topics":["vim","vim-plugin"],"latest_commit_sha":null,"homepage":"http://www.vim.org/scripts/script.php?script_id=4199","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomtom.png","metadata":{"files":{"readme":"README","changelog":"CHANGES.TXT","contributing":null,"funding":null,"license":"LICENSE.TXT","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,"zenodo":null}},"created_at":"2012-08-28T20:58:20.000Z","updated_at":"2025-03-13T06:01:25.000Z","dependencies_parsed_at":"2024-02-17T12:31:42.143Z","dependency_job_id":null,"html_url":"https://github.com/tomtom/tinykeymap_vim","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomtom%2Ftinykeymap_vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomtom%2Ftinykeymap_vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomtom%2Ftinykeymap_vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomtom%2Ftinykeymap_vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomtom","download_url":"https://codeload.github.com/tomtom/tinykeymap_vim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251646209,"owners_count":21620890,"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":["vim","vim-plugin"],"created_at":"2024-11-09T02:12:45.730Z","updated_at":"2025-04-30T05:23:22.919Z","avatar_url":"https://github.com/tomtom.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"This plugin is a 90% clone of Andy Wokula's tinymode (vimscript #2223). \nIt takes a different approach that hopefully avoids certain problems \nwithout creating new ones. tinymode actually creates maps to do its job, \ntinykeymap only creates maps for the entry sequence and uses the \n|getchar()| function to handle further input.\n\nThis plugin lets users define \"temporary keymaps\", a.k.a. tinykeymaps, \nwith the |tinykeymap#EnterMap()| function. Users can define a map to \nactivate a tinykeymap. Users can then use single key shortcuts to \ntrigger commands defined with |tinykeymap#Map()|. Pressing an undefined \nkey or \u003cEsc\u003e, deactivates the tinykeymap.\n\ntinykeymap comes with the following pre-defined tinykeymaps (see \n|g:tinykeymap#mapleader| and the related g:tinykeymap#*#map variables for how \nto customize the key binding):\n\n    buffers ... Navigate/operate on buffers\n                Enter map: \u003cLeader\u003emb\n    diff    ... Navigate/operate on |diff|s\n                Enter map: \u003cLeader\u003emd\n    filter  ... \"filter\" text in a buffer using folds\n                Enter map: \u003cLeader\u003emf\n    lines   ... Navigate/operate on lines (similar to vimscript #4140)\n                Enter map: \u003cLeader\u003eml\n    loc     ... Navigate the |location-list|\n                Enter map: \u003cLeader\u003emo\n    qfl     ... Navigate the |quickfix| list\n                Enter map: \u003cLeader\u003emq\n    tabs    ... Navigate/operate on tabs\n                Enter map: gt\n    undo    ... Navigate/operate on the undo tree (with optional support for \n                vimscript #4177)\n                Enter map: \u003cLeader\u003emu\n    windows ... Navigate/operate on windows\n                Enter map: \u003cC-W\u003e\n\nExample definition for a \"tabs\" tinykeymap (heavily based on Andy \nWokula's tabs mode for tinymode): \u003e\n\n    call tinykeymap#EnterMap('tabs', 'gt', {'name': 'Tabs mode'})\n    call tinykeymap#Map('tabs', 'n', 'tabnew') \n    call tinykeymap#Map('tabs', 't', 'norm! gt') \n    call tinykeymap#Map('tabs', 'T', 'norm! gT') \n    call tinykeymap#Map(\"tabs\", \"^\", \"tabfirst\")\n    call tinykeymap#Map(\"tabs\", \"$\", \"tablast\")\n    call tinykeymap#Map(\"tabs\", \"c\", \"tabclose\")\n\nExample use of the above tinykeymap: E.g. pressing gt3n^c2t will:\n\n    gt ... Enter tabs mode\n    3n ... create 3 new tabs,\n    ^  ... select the first one,\n    c  ... close it, and\n    2t ... move to the second tab on the right.\n\nA tinykeymap is exited (1) by pressing \u003cEsc\u003e or (2) by timeout (see \n|g:tinykeymap#timeout|).\n\nDifferences to tinymode:\n\n    - tinykeymaps and maps may have options (optional)\n    - tinykeymaps can be buffer-local\n    - dealing with [count] is easier (if a map contains \"\u003ccount\u003e\", this \n      placeholder is replaced with the current [count], i.e. a \n      previously entered number; otherwise the expression is evaluated \n      [count] times)\n    - avoid a certain misleading error message\n\nsubmode (vimscript #2467) is another package that provides similar \nfunctionality.\n\n-----------------------------------------------------------------------\nInstall~\n\nIn order to install the vba, open the vba file in VIM and type: \u003e\n\n    :so %\n\nSee :help vimball for details.\n\nOptional enhancements:\n\n    tlib (vimscript #1863) ... highlight current line in some maps\n\nBy default, tinykeymap will load all tinykeymaps in your 'runtimepath'. \nIf this is not what you want, set |g:tinykeymaps_default| in your \n|vimrc| file.\n\nAlso available via git: http://github.com/tomtom/tinykeymap_vim/\nBug tracker: https://github.com/tomtom/tinykeymap_vim/issues/\n\n\n\n\nDependencies:\n  tlib :: http://github.com/tomtom/tlib_vim\n\nLicense: GPLv3 or later\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomtom%2Ftinykeymap_vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomtom%2Ftinykeymap_vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomtom%2Ftinykeymap_vim/lists"}