mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-03 05:54:39 +02:00
feat(edgy): added <leader>ue
to quickly jump to an edgy window
This commit is contained in:
parent
00339b7b56
commit
0731f08ee4
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,10 @@ return {
|
||||||
{
|
{
|
||||||
"folke/edgy.nvim",
|
"folke/edgy.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
keys = {
|
||||||
|
-- stylua: ignore
|
||||||
|
{ "<leader>ue", function() require("edgy").select() end, desc = "Edgy Select Window" },
|
||||||
|
},
|
||||||
opts = {
|
opts = {
|
||||||
bottom = {
|
bottom = {
|
||||||
{ ft = "toggleterm", size = { height = 0.4 } },
|
{ ft = "toggleterm", size = { height = 0.4 } },
|
||||||
|
@ -19,7 +23,7 @@ return {
|
||||||
{
|
{
|
||||||
ft = "help",
|
ft = "help",
|
||||||
size = { height = 20 },
|
size = { height = 20 },
|
||||||
-- only show help buffers
|
-- don't open help files in edgy that we're editing
|
||||||
filter = function(buf)
|
filter = function(buf)
|
||||||
return vim.bo[buf].buftype == "help"
|
return vim.bo[buf].buftype == "help"
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue