Skip to content

Commit 1279a3d

Browse files
committed
fix: remove edgy.nvim to keep window size when open term or sidebar.
1 parent 9b06748 commit 1279a3d

4 files changed

Lines changed: 6 additions & 90 deletions

File tree

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 & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ require("keymap.helpers")
99
local mappings = {
1010
plugins = {
1111
-- Plugin: edgy
12-
["n|<C-n>"] = map_callback(function()
13-
require("edgy").toggle("left")
14-
end)
15-
:with_noremap()
16-
:with_silent()
17-
:with_desc("filetree: Toggle"),
12+
["n|<C-n>"] = map_cu("NvimTreeToggle"):with_noremap():with_silent():with_desc("filetree: Toggle"),
1813

1914
-- Plugin: vim-fugitive
2015
["n|gps"] = map_cr("G push"):with_noremap():with_silent():with_desc("git: Push"),

lua/modules/configs/ui/edgy.lua

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

lua/modules/plugins/ui.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ ui["akinsho/bufferline.nvim"] = {
1010
event = { "BufReadPre", "BufAdd", "BufNewFile" },
1111
config = require("ui.bufferline"),
1212
}
13-
ui["folke/edgy.nvim"] = {
14-
lazy = true,
15-
event = { "BufReadPre", "BufAdd", "BufNewFile" },
16-
config = require("ui.edgy"),
17-
}
1813
ui["Jint-lzxy/nvim"] = {
1914
lazy = false,
2015
branch = "refactor/syntax-highlighting",

0 commit comments

Comments
 (0)