feat(nvim): add keybindings for dadbod

This commit is contained in:
Price Hiller 2023-11-07 20:58:23 -06:00
parent 703294fe46
commit e513f035f8
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -13,11 +13,17 @@ return {
}, },
}, },
cmd = { cmd = {
"DB",
"DBUI", "DBUI",
"DBUIToggle", "DBUIToggle",
"DBUIAddConnection", "DBUIAddConnection",
"DBUIFindBuffer", "DBUIFindBuffer",
}, },
keys = {
{ "<leader>aa", "<cmd>DBUIToggle<CR>", desc = "Dadbod: Toggle UI" },
{ "<leader>ac", "<cmd>DBUIAddConnection<CR>", desc = "Dadbod: Add Connection" },
{ "<leader>ab", "<cmd>DBUIFindBuffer<CR>", desc = "Dadbod: Find Buffer" },
},
init = function() init = function()
vim.g.db_ui_use_nerd_fonts = 1 vim.g.db_ui_use_nerd_fonts = 1
end, end,