From 14150a59cdd21be23703b4d63c5e495841a40f79 Mon Sep 17 00:00:00 2001 From: insects Date: Mon, 14 Apr 2025 17:33:00 +0200 Subject: [PATCH] nvim: add quit keybind --- dot_config/nvim/lua/plugins/which-key.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_config/nvim/lua/plugins/which-key.lua b/dot_config/nvim/lua/plugins/which-key.lua index 63e9a04..0ccb78b 100644 --- a/dot_config/nvim/lua/plugins/which-key.lua +++ b/dot_config/nvim/lua/plugins/which-key.lua @@ -14,6 +14,7 @@ return { { "g", group = "vc" }, { "s", group = "search" }, { ",", group = "vim" }, + { "q", group = "quit" }, -- Buffer navigation { "bb", "e #", desc = "Switch to other buffer", mode = "n", proxy = "`" }, @@ -31,6 +32,9 @@ return { { "wq", "c", desc = "Close window" }, { "wO", "o", desc = "Close other windows" }, + -- Quitting + { "qq", "qa", desc = "Quit all" }, + -- Lazy { "l", "Lazy", mode = "n", desc = "Lazy" },