fix(terminal): hide on q instead of close

This commit is contained in:
Folke Lemaitre 2024-11-21 11:05:01 +01:00
parent 7f63d4fefb
commit 30a0721d56
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -26,6 +26,7 @@ Snacks.config.style("terminal", {
},
wo = {},
keys = {
q = "hide",
gf = function(self)
local f = vim.fn.findfile(vim.fn.expand("<cfile>"), "**")
if f == "" then