{"id":18625654,"url":"https://github.com/urbainvaes/vim-remembrall","last_synced_at":"2025-04-11T04:32:38.371Z","repository":{"id":93072018,"uuid":"125684161","full_name":"urbainvaes/vim-remembrall","owner":"urbainvaes","description":"For forgetful vim users","archived":false,"fork":false,"pushed_at":"2021-09-10T07:46:37.000Z","size":374,"stargazers_count":131,"open_issues_count":3,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T09:47:41.151Z","etag":null,"topics":["vim"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","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/urbainvaes.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":"2018-03-18T01:50:29.000Z","updated_at":"2024-05-31T09:43:37.000Z","dependencies_parsed_at":"2023-06-04T16:00:28.761Z","dependency_job_id":null,"html_url":"https://github.com/urbainvaes/vim-remembrall","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbainvaes%2Fvim-remembrall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbainvaes%2Fvim-remembrall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbainvaes%2Fvim-remembrall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbainvaes%2Fvim-remembrall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urbainvaes","download_url":"https://codeload.github.com/urbainvaes/vim-remembrall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345202,"owners_count":21088231,"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"],"created_at":"2024-11-07T04:35:32.122Z","updated_at":"2025-04-11T04:32:38.298Z","avatar_url":"https://github.com/urbainvaes.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remembrall\n\nThis is a small plugin that makes it easier to remember mappings.\n\n## Installation\n\nUsing [vim-plug](https://github.com/junegunn/vim-plug):\n\n```vim\nPlug 'urbainvaes/vim-remembrall'\n```\n\n## Usage\n\n![](https://raw.github.com/urbainvaes/vim-remembrall/gif/tty.gif)\n\nTo scroll down and up the list, use `\u003cc-e\u003e`, `\u003cc-y\u003e`, or (pagewise) `\u003cc-f\u003e` and `\u003cc-b\u003e`.\nAdding support for a prefix can be achieved via mappings in your `.vimrc`:\n\n```vim\n\" Show ',' normal mode mappings when ',' is pressed.\nnnoremap \u003csilent\u003e \u003cexpr\u003e , Remembrall(',')\n\n\" Show ',' normal mode mappings when the key combination ',?' is pressed,\n\" so we don't have to wait for the timeout.\nnnoremap \u003csilent\u003e \u003cexpr\u003e ,? Remembrall(',')\n\n\" Show visual mode mappings.\nvnoremap \u003csilent\u003e \u003cexpr\u003e ? Remembrall('v', '')\n```\n\nRemembrall defines a mapping for the all the prefixes in the list `g:remembrall_normal_keys`,\nwhich defaults to *c, d, g, y, ], [, \u003e, \u003c, =, \\\u003cLeader\\\u003e* and *\\\u003cLocalLeader\\\u003e*.\nA list of suffixes,\nwhich will be appended to the left-hand side in the definition of the mappings,\ncan be defined with `g:remembrall_suffixes`.\nFor example, if this list is set to `[\"?\"]`,\nthen the plugin will append the character `?` in the left-hand side of all the mappings it defines.\nThe relevant part of the plugin code should make this clear:\n```vim\nfor suffix in s:suffixes\n  for key in s:normal_keys\n    silent execute \"nnoremap \u003csilent\u003e \u003cexpr\u003e\" key.suffix \"Remembrall('\".key.\"')\"\n  endfor\nendfor\n```\n\nTo avoid the timeout between a key press and the moment Remembrall opens,\nthe argument `\u003cnowait\u003e` can be used in the definition of the corresponding mapping.\nThe following mapping, for example,\nwill force Remembrall to open directly when the default `vimtex` prefix,\n`\u003cLocalLeader\u003el`, is pressed in a `tex` buffer:\n```vim\naugroup remembrall\n    autocmd FileType tex nnoremap \u003cbuffer\u003e \u003cnowait\u003e \u003cexpr\u003e \u003cLocalLeader\u003el Remembrall(',l')\naugroup END\n```\n\n## Customization\n\n| Config                     | Default         | Description                                          |\n| ------                     | -------         | -----------                                          |\n| `g:remembrall_normal_keys` | See above       | Keys for which to enable Remembrall                  |\n| `g:remembrall_suffixes`    | [\"\"]            | List of suffixes                                     |\n| `g:remembrall_window`      | `topleft 30new` | Command for creating Remembrall window               |\n| `g:remembrall_zoom`        | `\\\u003cc-z\u003e`        | Key to toggle zoom                                   |\n| `g:remembrall_search`      | `1`             | Enable search using `/`                              |\n| `g:remembrall_auto_accept` | `1`             | Automically accept unique match                      |\n| `g:remembrall_accept`      | `\\\u003cc-m\u003e`        | Key to accept a mapping when auto-accept is disabled |\n\n## Acknowledgements\n\nSome parts of the source code were inspired by [vim-peekaboo](https://github.com/junegunn/vim-peekaboo).\nI thank Raimond Willemsen for reporting bugs and suggesting improvements.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbainvaes%2Fvim-remembrall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furbainvaes%2Fvim-remembrall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbainvaes%2Fvim-remembrall/lists"}