{"id":21517589,"url":"https://github.com/tek/uracil","last_synced_at":"2026-05-17T09:49:51.237Z","repository":{"id":45845295,"uuid":"190261479","full_name":"tek/uracil","owner":"tek","description":"neovim yank and paste manager","archived":false,"fork":false,"pushed_at":"2024-02-07T17:58:00.000Z","size":202,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T16:36:17.637Z","etag":null,"topics":["haskell","history","neovim","nvim-hs","paste","ribosome","yank"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","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/tek.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-06-04T18:53:34.000Z","updated_at":"2022-05-12T13:02:12.000Z","dependencies_parsed_at":"2023-11-26T00:19:42.873Z","dependency_job_id":"678aa5f7-fdff-4e73-a775-e89ed98ac71b","html_url":"https://github.com/tek/uracil","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tek/uracil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tek%2Furacil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tek%2Furacil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tek%2Furacil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tek%2Furacil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tek","download_url":"https://codeload.github.com/tek/uracil/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tek%2Furacil/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013976,"owners_count":26085429,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["haskell","history","neovim","nvim-hs","paste","ribosome","yank"],"created_at":"2024-11-24T00:43:10.652Z","updated_at":"2025-10-13T06:39:13.933Z","avatar_url":"https://github.com/tek.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Intro\n\n**Uracil** is a [Neovim] plugin written in [Haskell] with the plugin framework [Ribosome].\n\nIt provides comfortable access to registers for yanking and pasting.\nThe plugin consumes yank autocmd event data and provides several lists of snippets to the user.\n\n# Install\n\nThe plugin can be loaded by specifying the repo to a package manager like any other, for example by cloning it in a\nsubdirectory of `'packpath'` or using one of the many plugin managers.\n\n```vim\nPlug 'tek/uracil'\n```\n\nSince the plugin is written in Haskell, its executable has to be fetched or built on the first start.\n\n* If the [Nix package manager](https://nixos.org/learn.html) is available, the plugin will be fetched from the Nix cache\n  (or built if the current commit isn't in the cache)\n* Otherwise it will be downloaded from Github's releases.\n* If the variable `g:uracil_fetch_bin` is set to `1`, Nix is ignored and the binary is downloaded from Github\n  regardless.\n\n# Recommended Mappings\n\n```vim\nnnoremap p \u003ccmd\u003eUraPaste\u003ccr\u003e\nxnoremap p \u003ccmd\u003eUraPaste\u003ccr\u003e\nnnoremap P \u003ccmd\u003eUraPpaste\u003ccr\u003e\nxnoremap P \u003ccmd\u003eUraPpaste\u003ccr\u003e\n```\n\n# Settings\n\n## `g:uracil_paste_timeout_millis`\n\nThe time in milliseconds after which the current [paste](#urapaste) is terminated.\nIf unset, `g:uracil_paste_timeout` is used.\n\n## `g:uracil_paste_timeout`\n\nThe time in seconds after which the current [paste](#urapaste) is terminated.\nDefault is `1`.\nDeprecated in favor of `g:uracil_paste_timeout_millis`.\n\n## `g:uracil_skip_yank`\n\nSome commands from other plugins might use the unnamed register to store\ntemporary data, causing the next paste to contain that data.\nSetting this variable to `1` before running that command, for example from\nwithing a wrapper function for a mapping, will cause that yank to be ignored.\nAfter the yank, the variable will be reset to `0`.\n\n# Commands\n\n## Operator Filters\n\nSome commands have alternative forms that take an argument that is used to\nfilter the yanks by which operator was used for the triggering commands.\n\nFor example, to start a paste session only for deleted and changed text:\n\n```vim\nUraPasteFor dc\n```\n\nPossible operators are `d`, `c`, `y` and `x`.\n`x` is technically not an operator but `d` with the register type `character`,\nbut for convenience it is converted for the check.\n\n## `UraYankMenu`\n\nDisplays an interactive scratch buffer with the current yank history.\nSeveral actions can be performed through mappings:\n\n* `p` insert the yank after the cursor position. Whether the paste is line-wise\n  or character-wise depends on how it was yanked.\n* `P` insert the yank before the cursor position.\n* `y` load the yank into to `\"` register.\n\n### `UraYankMenuFor`\n\nSame as `UraYankMenu`, but takes one argument that specifies the\n[operator filter][#operator-filters].\n\n## `UraPaste`\n\nPaste the most recently yanked text, basically like the regular `p` or using\n`p` in the yank menu.\n\nRepeatedly calling this function cycles through the yank history, each time\ncalling `undo` and pasting the next entry. A floating window containing the\nyank history is displayed at the cursor.\n\nAfter the time configured by [`g:uracil_paste_timeout`](#guracil-paste-timeout)\nhas passed or the cursor was moved, the window is hidden and the currently\npasted entry is reset, so that a subsequent paste starts from the top.\nThe pasted history entry will be moved to the beginning of the list.\n\n**Note** that in order for this to work properly in visual mode, you will have\nto use the `\u003ccmd\u003e` pseudokey in the mapping:\n\n```vim\nxnoremap p \u003ccmd\u003eUraPaste\u003ccr\u003e\n```\n\nUsing `:` here would start command line mode, which would interfere with the\nvisual mode detection in the plugin.\n\n### `UraPasteFor`\n\nSame as `UraPaste`, but takes one argument that specifies the\n[operator filter][#operator-filters].\n\n## `UraPpaste`\n\nIdentical to [`UraPaste`](#urapaste), but uses `P`.\n\n### `UraPpasteFor`\n\nSame as `UraPpaste`, but takes one argument that specifies the\n[operator filter][#operator-filters].\n\n## `UraDiag`\n\nDisplays various information about the current state in a scratch buffer:\n\n* yank history\n* errors\n\n[Neovim]: https://github.com/neovim/neovim\n[Haskell]: https://www.haskell.org\n[Ribosome]: https://github.com/tek/ribosome\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftek%2Furacil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftek%2Furacil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftek%2Furacil/lists"}