aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/user/keys.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/user/keys.lua b/lua/user/keys.lua
index 9999138..e918594 100644
--- a/lua/user/keys.lua
+++ b/lua/user/keys.lua
@@ -37,6 +37,9 @@ map('n', 'q', function()
elseif
vim.o.buftype == 'quickfix' then
return ":close<CR>"
+ elseif
+ vim.o.buftype == 'help' then
+ return ":close<CR>"
else
return "q"
end