feat(nvim): add keybindings for dadbod
This commit is contained in:
parent
703294fe46
commit
e513f035f8
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user