diff --git a/lua/base/editor.lua b/lua/base/editor.lua index d3d893a..3150b5f 100644 --- a/lua/base/editor.lua +++ b/lua/base/editor.lua @@ -92,8 +92,8 @@ return { "folke/edgy.nvim", event = "VeryLazy", opts = { - bottom = { - { ft = "qf", title = "QuickFix" }, + left = { + { ft = "hydra_hint", title = "Hydra", size = { height = 0.5 }, pinned = false }, }, }, }, diff --git a/lua/pde/typescript.lua b/lua/pde/typescript.lua index c4f2c23..2ad6fce 100644 --- a/lua/pde/typescript.lua +++ b/lua/pde/typescript.lua @@ -23,6 +23,8 @@ return { if client.name == "tsserver" then vim.keymap.set("n", "lo", "TSToolsOrganizeImports", { buffer = bufnr, desc = "Organize Imports" }) vim.keymap.set("n", "lO", "TSToolsSortImports", { buffer = bufnr, desc = "Sort Imports" }) + vim.keymap.set("n", "lu", "TSToolsRemoveUnused", { buffer = bufnr, desc = "Removed Unused" }) + vim.keymap.set("n", "lz", "TSToolsGoToSourceDefinition", { buffer = bufnr, desc = "Go To Source Definition" }) vim.keymap.set("n", "lR", "TSToolsRemoveUnusedImports", { buffer = bufnr, desc = "Removed Unused Imports" }) vim.keymap.set("n", "lF", "TSToolsFixAll", { buffer = bufnr, desc = "Fix All" }) vim.keymap.set("n", "lA", "TSToolsAddMissingImports", { buffer = bufnr, desc = "Add Missing Imports" })