mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-05 11:18:26 +00:00
fix(terminal): hide on q
instead of close
This commit is contained in:
parent
7f63d4fefb
commit
30a0721d56
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ Snacks.config.style("terminal", {
|
||||||
},
|
},
|
||||||
wo = {},
|
wo = {},
|
||||||
keys = {
|
keys = {
|
||||||
|
q = "hide",
|
||||||
gf = function(self)
|
gf = function(self)
|
||||||
local f = vim.fn.findfile(vim.fn.expand("<cfile>"), "**")
|
local f = vim.fn.findfile(vim.fn.expand("<cfile>"), "**")
|
||||||
if f == "" then
|
if f == "" then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue