{"id":29483586,"url":"https://github.com/sharph/zellij-nvim-nav-plugin","last_synced_at":"2025-07-15T04:02:17.874Z","repository":{"id":303139900,"uuid":"1014521992","full_name":"sharph/zellij-nvim-nav-plugin","owner":"sharph","description":"A plugin for zellij to run alongside zellij-nav.nvim","archived":false,"fork":false,"pushed_at":"2025-07-09T11:38:30.000Z","size":31,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T09:49:52.085Z","etag":null,"topics":["neovim","zellij","zellij-plugin"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/sharph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["sharph"],"buy_me_a_coffee":"sharp"}},"created_at":"2025-07-05T22:23:04.000Z","updated_at":"2025-07-12T13:29:54.000Z","dependencies_parsed_at":"2025-07-05T23:38:14.855Z","dependency_job_id":null,"html_url":"https://github.com/sharph/zellij-nvim-nav-plugin","commit_stats":null,"previous_names":["sharph/zellij-nvim-nav-plugin"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sharph/zellij-nvim-nav-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharph%2Fzellij-nvim-nav-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharph%2Fzellij-nvim-nav-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharph%2Fzellij-nvim-nav-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharph%2Fzellij-nvim-nav-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharph","download_url":"https://codeload.github.com/sharph/zellij-nvim-nav-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharph%2Fzellij-nvim-nav-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265401019,"owners_count":23758930,"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":["neovim","zellij","zellij-plugin"],"created_at":"2025-07-15T04:00:46.838Z","updated_at":"2025-07-15T04:02:17.855Z","avatar_url":"https://github.com/sharph.png","language":"Rust","funding_links":["https://github.com/sponsors/sharph","https://buymeacoffee.com/sharp"],"categories":[],"sub_categories":[],"readme":"# zellij-nvim-nav-plugin\n\nThis Zellij plugin is intended to be used in conjunction with\n[zellij-nav.nvim](https://github.com/swaits/zellij-nav.nvim) as an\nalternative to [zellij-autolock](https://github.com/fresh2dev/zellij-autolock)\n(which served as a valuable reference during the development of this plugin).\n\nThe theory of operation is simple: Ctrl-{hjkl} (or whatever keys you want to\nuse) are bound to the \"`MessagePlugin`\" action, which send messages which this\nplugin listens for. If the currently selected pane is running neovim or vim,\nthe plugin sends a specified key code to the pane, otherwise it moves focus\nin the specified direction.\n\nThe plugin supports both single-byte and multi-byte key sequences. Single-byte\nsequences are used for control key combinations (e.g., Ctrl+h = 8), while\nmulti-byte sequences are used for Alt key combinations (e.g., Alt+h = ESC h = 27,104).\nThe payload field accepts comma-separated byte values. You can refer to [ASCII\ntable](https://www.asciitable.com/) to find the byte values for the keys you\nwant to use.\n\n## Example Configuration\n\n```plain\nplugins {\n    ...\n    nvim-nav location=\"file:/home/youruser/some_dir/zellij-nvim-nav-plugin.wasm\"\n}\n```\n\n```plain\nload_plugins {\n    nvim-nav\n}\n```\n \n```plain\n    shared_except \"scroll\" {\n        bind \"Alt left\" { MoveFocusOrTab \"left\"; }\n        bind \"Alt down\" { MoveFocus \"down\"; }\n        bind \"Alt up\" { MoveFocus \"up\"; }\n        bind \"Alt right\" { MoveFocusOrTab \"right\"; }\n\n        // Single-byte payloads for Ctrl key combinations\n        bind \"Ctrl h\" { MessagePlugin { name \"nvim_nav_left\"; payload \"8\"; }; }\n        bind \"Ctrl j\" { MessagePlugin { name \"nvim_nav_down\"; payload \"10\"; }; }\n        bind \"Ctrl k\" { MessagePlugin { name \"nvim_nav_up\"; payload \"11\"; }; }\n        bind \"Ctrl l\" { MessagePlugin { name \"nvim_nav_right\"; payload \"12\"; }; }\n\n        // Use the _tab variants to navigate between panes and switch tabs when at the edge\n        bind \"Ctrl h\" { MessagePlugin { name \"nvim_nav_left_tab\"; payload \"8\"; }; }\n        bind \"Ctrl l\" { MessagePlugin { name \"nvim_nav_right_tab\"; payload \"12\"; }; }\n\n        // Multi-byte payloads for Alt key combinations (ESC + key)\n        bind \"Alt h\" { MessagePlugin { name \"nvim_nav_left\"; payload \"27,104\"; }; }\n        bind \"Alt j\" { MessagePlugin { name \"nvim_nav_down\"; payload \"27,106\"; }; }\n        bind \"Alt k\" { MessagePlugin { name \"nvim_nav_up\"; payload \"27,107\"; }; }\n        bind \"Alt l\" { MessagePlugin { name \"nvim_nav_right\"; payload \"27,108\"; }; }\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharph%2Fzellij-nvim-nav-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharph%2Fzellij-nvim-nav-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharph%2Fzellij-nvim-nav-plugin/lists"}