From 578f32ce066907fbb7f39b00318abc5ed710c702 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Sun, 20 Feb 2022 22:11:36 +0100 Subject: Add fzf, add bqf. Add command for dbui --- after/plugin/dbui.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 after/plugin/dbui.lua (limited to 'after/plugin/dbui.lua') diff --git a/after/plugin/dbui.lua b/after/plugin/dbui.lua new file mode 100644 index 0000000..591c535 --- /dev/null +++ b/after/plugin/dbui.lua @@ -0,0 +1,11 @@ +vim.g.db_ui_show_database_icon = 1 +vim.g.db_ui_use_nerd_fonts = 1 + +-- opening it in a new tab +vim.keymap.set('n', 'db', function () + vim.cmd('tabnew') + vim.cmd("DBUI") +end, {}) + +-- just close the tab, but context related of the keybinding +vim.keymap.set('n', 'tq', ':tabclose') -- cgit v1.2.3