diff --git a/lua/user/utils/lualine_template.lua b/lua/user/utils/lualine_template.lua index d0b94a4..2db4a59 100644 --- a/lua/user/utils/lualine_template.lua +++ b/lua/user/utils/lualine_template.lua @@ -31,6 +31,7 @@ M.filetype = { "lspinfo", "mysql", "dbui", + "dbout", } M.rounded = function(colorscheme) diff --git a/lua/user/utils/whichkey.lua b/lua/user/utils/whichkey.lua index b1b3414..fb1da30 100644 --- a/lua/user/utils/whichkey.lua +++ b/lua/user/utils/whichkey.lua @@ -286,23 +286,14 @@ if vim.g.pcode_database then table.insert(M.mappings, { ["D"] = { name = " 󰆼 DBUI", - d = { "NvimTreeClosetabnewDBUI", "󰆼 DBUI Toggle" }, + -- d = { "NvimTreeClosetabnewDBUI", "󰆼 DBUI Open" }, + d = { "AlphaNvimTreeCloseDBUI", "󰆼 DBUI Open" }, q = { "DBUICloseBufferLineCloseOthersbd!lua require('user.utils.bufferline').bufremove()Alpha", "󰅙 DBUI Close", }, }, }) - -- table.insert( - -- M.mappings, - -- { ["D"] = { "NvimTreeClosetabnewDBUI", "󰆼 DBUI Toggle" } } - -- ) - -- table.insert(M.mappings, { - -- ["x"] = { - -- "DBUICloselua require('user.utils.bufferline').bufremove()Alpha", - -- "󰆼 DBUI Toggle", - -- }, - -- }) end M.mappings2 = {