LunarVim.LunarVim/lua/nv-dadbod/init.lua

6 lines
481 B
Lua
Raw Normal View History

2021-03-30 22:15:38 +03:00
vim.api.nvim_set_keymap("n", "<leader>Du", ":DBUIToggle<CR>", {noremap=true, silent = true})
vim.api.nvim_set_keymap("n", "<leader>Df", ":DBUIFindBuffer<CR>", {noremap=true, silent = true})
vim.api.nvim_set_keymap("n", "<leader>Dr", ":DBUIRenameBuffer<CR>", {noremap=true, silent = true})
vim.api.nvim_set_keymap("n", "<leader>Dl", ":DBUILastQueryInfo<CR>", {noremap=true, silent = true})
vim.g.db_ui_save_location = O.db_ui_save_location
vim.g.db_ui_auto_execute_table_helpers = 1