{"id":16758679,"url":"https://github.com/cristiand391/zj-quit","last_synced_at":"2025-03-23T15:31:09.097Z","repository":{"id":242411905,"uuid":"806867897","full_name":"cristiand391/zj-quit","owner":"cristiand391","description":"A friendly `quit` plugin for zellij","archived":false,"fork":false,"pushed_at":"2024-11-16T04:40:31.000Z","size":187,"stargazers_count":26,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T18:08:28.153Z","etag":null,"topics":["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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cristiand391.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null}},"created_at":"2024-05-28T04:13:25.000Z","updated_at":"2025-03-13T22:11:26.000Z","dependencies_parsed_at":"2024-06-07T00:22:58.414Z","dependency_job_id":null,"html_url":"https://github.com/cristiand391/zj-quit","commit_stats":null,"previous_names":["cristiand391/zj-quit"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristiand391%2Fzj-quit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristiand391%2Fzj-quit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristiand391%2Fzj-quit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristiand391%2Fzj-quit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristiand391","download_url":"https://codeload.github.com/cristiand391/zj-quit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122736,"owners_count":20564364,"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":["zellij","zellij-plugin"],"created_at":"2024-10-13T04:05:57.562Z","updated_at":"2025-03-23T15:31:08.807Z","avatar_url":"https://github.com/cristiand391.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zj-quit \n\nA [zellij](https://zellij.dev/) plugin that prompts for confirmation before killing the current session.\n\n![image](https://github.com/cristiand391/zj-quit/assets/6853656/0b2537c4-6872-402b-aa5d-f0713c46c32b)\n\nThis has been requested multiple times by users:\n* https://github.com/zellij-org/zellij/issues/467\n* https://github.com/zellij-org/zellij/issues/1229\n* https://github.com/zellij-org/zellij/issues/3147\n\nso I decided go the *zellij way* ™️ and made a plugin for this :)\n\n## Usage\n\nDownload the last release available at https://github.com/cristiand391/zj-quit/releases/ and set up an alias for it:\n```kdl\nplugins {\n  zj-quit location=\"file:/path/to/zj-quit.wasm\"\n}\n```\n\nhttps://zellij.dev/documentation/plugin-aliases\n\nYou can also configure the keybindings within the plugin:\n\n```kdl\nplugins {\n  zj-quit location=\"file:/path/to/zj-quit.wasm\" {\n    confirm_key \"q\"\n    cancel_key \"Esc\"\n  }\n}\n```\n\nKeys are referenced from: [zellij doc](https://docs.rs/zellij-tile/latest/zellij_tile/prelude/enum.Key.html)\n\nThen set a keybind to launch it in a floating window:\n\n```kdl\nkeybinds clear-defaults=true {\n  shared_except \"locked\" {\n    bind \"Ctrl q\" {\n      LaunchOrFocusPlugin \"zj-quit\" {\n        floating true\n      }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristiand391%2Fzj-quit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcristiand391%2Fzj-quit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristiand391%2Fzj-quit/lists"}