Skip to content

Commit 1e2c604

Browse files
committed
fix(plugin): remove edgy.nvim to keep window size when open quickfix
1 parent c5295f7 commit 1e2c604

File tree

4 files changed

+6
-96
lines changed

4 files changed

+6
-96
lines changed

lua/keymap/completion.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ function M.lsp(buf)
2121
-- LSP-related keymaps, ONLY effective in buffers with LSP(s) attached
2222
["n|<leader>li"] = map_cr("LspInfo"):with_silent():with_buffer(buf):with_desc("lsp: Info"),
2323
["n|<leader>lr"] = map_cr("LspRestart"):with_silent():with_buffer(buf):with_nowait():with_desc("lsp: Restart"),
24-
["n|go"] = map_callback(function()
25-
require("edgy").toggle("right")
26-
end)
24+
["n|go"] = map_cr("Trouble symbols toggle win.position=right")
2725
:with_silent()
2826
:with_buffer(buf)
2927
:with_desc("lsp: Toggle outline"),
28+
["n|gto"] = map_cr("Telescope lsp_document_symbols")
29+
:with_silent()
30+
:with_buffer(buf)
31+
:with_desc("lsp: Toggle outline in Telescope"),
3032
["n|g["] = map_cr("Lspsaga diagnostic_jump_prev")
3133
:with_silent()
3234
:with_buffer(buf)

lua/keymap/tool.lua

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,13 @@ local mappings = {
3131
:with_noremap()
3232
:with_expr(),
3333

34-
-- Plugin: edgy
35-
["n|<C-n>"] = map_callback(function()
36-
require("edgy").toggle("left")
37-
end)
38-
:with_noremap()
39-
:with_silent()
40-
:with_desc("filetree: Toggle"),
41-
4234
-- Plugin: vim-fugitive
4335
["n|gps"] = map_cr("G push"):with_noremap():with_silent():with_desc("git: Push"),
4436
["n|gpl"] = map_cr("G pull"):with_noremap():with_silent():with_desc("git: Pull"),
4537
["n|<leader>gG"] = map_cu("Git"):with_noremap():with_silent():with_desc("git: Open git-fugitive"),
4638

4739
-- Plugin: nvim-tree
40+
["n|<C-n>"] = map_cu("NvimTreeToggle"):with_noremap():with_silent():with_desc("filetree: Toggle"),
4841
["n|<leader>nf"] = map_cr("NvimTreeFindFile"):with_noremap():with_silent():with_desc("filetree: Find file"),
4942
["n|<leader>nr"] = map_cr("NvimTreeRefresh"):with_noremap():with_silent():with_desc("filetree: Refresh"),
5043

lua/modules/configs/ui/edgy.lua

Lines changed: 0 additions & 81 deletions
This file was deleted.

lua/modules/plugins/ui.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,5 @@ ui["dstein64/nvim-scrollview"] = {
7676
event = { "BufReadPost", "BufAdd", "BufNewFile" },
7777
config = require("ui.scrollview"),
7878
}
79-
ui["folke/edgy.nvim"] = {
80-
event = "VeryLazy",
81-
config = require("ui.edgy"),
82-
}
8379

8480
return ui

0 commit comments

Comments
 (0)