{"id":26716946,"url":"https://github.com/eth-p/nvim-clone-buffer","last_synced_at":"2025-03-27T15:48:23.598Z","repository":{"id":284090991,"uuid":"953784199","full_name":"eth-p/nvim-clone-buffer","owner":"eth-p","description":"A small neovim plugin for creating a scratch copy of the current buffer.","archived":false,"fork":false,"pushed_at":"2025-03-24T05:06:10.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T05:31:00.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/eth-p.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":"2025-03-24T04:25:59.000Z","updated_at":"2025-03-24T05:06:12.000Z","dependencies_parsed_at":"2025-03-24T05:31:02.790Z","dependency_job_id":"0ce14170-3d21-4db0-af3a-5a925c31e51d","html_url":"https://github.com/eth-p/nvim-clone-buffer","commit_stats":null,"previous_names":["eth-p/nvim-clone-buffer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fnvim-clone-buffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fnvim-clone-buffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fnvim-clone-buffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fnvim-clone-buffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eth-p","download_url":"https://codeload.github.com/eth-p/nvim-clone-buffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245875088,"owners_count":20686891,"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":"2025-03-27T15:48:23.161Z","updated_at":"2025-03-27T15:48:23.591Z","avatar_url":"https://github.com/eth-p.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nvim-clone-buffer\nA small neovim plugin for creating a scratch copy of the current buffer.\n\n## Installation\n\n**With Lazy.nvim:**\n\n```lua\n{\n    \"eth-p/nvim-clone-buffer\",\n    opts = {\n        -- ...\n    }\n}\n```\n\n## Usage\n\nThis plugin registers two user commands:\n\n\n### `:CloneBuffer`\n\nCreates a copy of the current buffer and switches the current window to it.\n\n### `:CloneBufferInBackground`\n\nCreates a copy of the current buffer and leaves it in the background.\n\n## Configuration\n\n\u003e[!tip]\n\u003e **enabled**: If set to `false`, the plugin's user commands will not be registered.\n\u003e\n\u003e Type: `boolean`  \n\u003e Default: `true`\n\n\u003e[!tip]\n\u003e **suppress_autocmd**: If set to `true`, autocmds will not run while creating the cloned buffer.\n\u003e\n\u003e Type: `boolean`  \n\u003e Default: `true`\n\n\u003e[!tip]\n\u003e **cloned_options**: The buffer-local options that will be cloned.\n\u003e If an option is set to false, it will be skipped.\n\u003e\n\u003e Type: `map\u003cstring, boolean\u003e`  \n\u003e Default:\n\u003e\n\u003e ```lua\n\u003e {\n\u003e     filetype = true,\n\u003e     syntax = true,\n\u003e\n\u003e     shiftwidth = true,\n\u003e     expandtab = true,\n\u003e     tabstop = true,\n\u003e }\n\u003e ```\n\n\u003e[!tip]\n\u003e **cloned_vars**: The buffer-local variables that will be cloned.\n\u003e If the variable is set to false, it will be skipped.\n\u003e\n\u003e Type: `map\u003cstring, boolean\u003e`  \n\u003e Default:\n\u003e\n\u003e ```lua\n\u003e {}\n\u003e ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth-p%2Fnvim-clone-buffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feth-p%2Fnvim-clone-buffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth-p%2Fnvim-clone-buffer/lists"}