{"id":43736460,"url":"https://github.com/johnpmitsch/buf-jump.nvim","last_synced_at":"2026-02-05T11:02:56.911Z","repository":{"id":327438809,"uuid":"1109321567","full_name":"johnpmitsch/buf-jump.nvim","owner":"johnpmitsch","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-03T17:34:58.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-06T21:33:25.794Z","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/johnpmitsch.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-03T16:35:28.000Z","updated_at":"2025-12-05T05:05:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/johnpmitsch/buf-jump.nvim","commit_stats":null,"previous_names":["johnpmitsch/buf-jump.nvim"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/johnpmitsch/buf-jump.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpmitsch%2Fbuf-jump.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpmitsch%2Fbuf-jump.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpmitsch%2Fbuf-jump.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpmitsch%2Fbuf-jump.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnpmitsch","download_url":"https://codeload.github.com/johnpmitsch/buf-jump.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnpmitsch%2Fbuf-jump.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29120481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T10:47:47.471Z","status":"ssl_error","status_checked_at":"2026-02-05T10:45:08.119Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-02-05T11:02:56.093Z","updated_at":"2026-02-05T11:02:56.904Z","avatar_url":"https://github.com/johnpmitsch.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buf-jump.nvim\n\nA lightweight buffer history navigation plugin for Neovim. Navigate through your buffer history per-window, similar to how you navigate web browser history.\n\n## Features\n\n- **Per-window history** — Each window maintains its own independent buffer history\n- **Familiar navigation** — Jump back and forward through buffers you've visited\n- **Count support** — Use `3bjp` to jump back 3 buffers at once\n- **Clean history** — Automatically removes deleted buffers and ignores unlisted/unnamed buffers\n- **Zero dependencies** — Pure Lua, no external requirements\n\n## Requirements\n\n- Neovim ≥ 0.7.0\n\n## Installation\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003elazy.nvim\u003c/b\u003e\u003c/summary\u003e\n\n```lua\n{\n  \"johnpmitsch/buf-jump.nvim\",\n  event = \"BufWinEnter\",\n  opts = {},\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003epacker.nvim\u003c/b\u003e\u003c/summary\u003e\n\n```lua\nuse {\n  \"johnpmitsch/buf-jump.nvim\",\n  config = function()\n    require(\"buf-jump\").setup()\n  end,\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003emini.deps\u003c/b\u003e\u003c/summary\u003e\n\n```lua\nMiniDeps.add(\"johnpmitsch/buf-jump.nvim\")\nrequire(\"buf-jump\").setup()\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eManual\u003c/b\u003e\u003c/summary\u003e\n\nClone to your Neovim packages directory:\n\n```bash\ngit clone https://github.com/johnpmitsch/buf-jump.nvim \\\n  ~/.local/share/nvim/site/pack/plugins/start/buf-jump.nvim\n```\n\nThen add to your config:\n\n```lua\nrequire(\"buf-jump\").setup()\n```\n\n\u003c/details\u003e\n\n## Configuration\n\n```lua\nrequire(\"buf-jump\").setup({\n  -- Set to false to disable default keymaps\n  -- Set to a table to customize them\n  mappings = {\n    list = \"bjl\",      -- Show buffer history\n    back = \"bjp\",      -- Go to previous buffer\n    forward = \"bjn\",   -- Go to next buffer\n  },\n})\n```\n\n### Examples\n\n**Using different keymaps:**\n\n```lua\nrequire(\"buf-jump\").setup({\n  mappings = {\n    list = \"\u003cleader\u003ebl\",\n    back = \"[b\",\n    forward = \"]b\",\n  },\n})\n```\n\n**Commands only (no keymaps):**\n\n```lua\nrequire(\"buf-jump\").setup({\n  mappings = false,\n})\n```\n\n## Usage\n\n| Keymap | Command | Description |\n|--------|---------|-------------|\n| `bjl` | `:BufJumpList` | Display buffer history for current window |\n| `bjp` | `:BufJumpBack` | Jump to previous buffer in history |\n| `bjn` | `:BufJumpForward` | Jump to next buffer in history |\n\nAll navigation commands support counts:\n\n```\n3bjp      \" Jump back 3 buffers\n2bjn      \" Jump forward 2 buffers\n:5BufJumpBack\n```\n\n## API\n\nFor programmatic use or custom keymaps:\n\n```lua\nlocal bj = require(\"buf-jump\")\n\nbj.back()           -- Go back one buffer\nbj.back(3)          -- Go back 3 buffers\nbj.forward()        -- Go forward one buffer\nbj.forward(2)       -- Go forward 2 buffers\nbj.list()           -- Print buffer history\nbj.add(bufnr)       -- Manually add a buffer to history\nbj.remove(bufnr)    -- Remove a buffer from history\nbj.remove(-1)       -- Clear all history\n```\n\n## How It Works\n\nbuf-jump maintains a per-window stack of visited buffers. When you enter a buffer, it's added to the current window's history. The plugin tracks your position in this history, allowing you to move backward and forward through previously visited buffers.\n\nUnlike Neovim's built-in jumplist (`:jumps`), which tracks cursor positions across files, buf-jump focuses purely on buffer navigation—making it ideal for quickly switching between files you're actively working on.\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpmitsch%2Fbuf-jump.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnpmitsch%2Fbuf-jump.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnpmitsch%2Fbuf-jump.nvim/lists"}