From 7da11777fe00f270b48bbc5d4673ab3b4e42f7f5 Mon Sep 17 00:00:00 2001 From: fiplox Date: Thu, 19 Jan 2023 17:06:29 +0100 Subject: [PATCH] add buffer manager --- lua/plugins/buffer_manager.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lua/plugins/buffer_manager.lua diff --git a/lua/plugins/buffer_manager.lua b/lua/plugins/buffer_manager.lua new file mode 100644 index 0000000..d956cb4 --- /dev/null +++ b/lua/plugins/buffer_manager.lua @@ -0,0 +1,26 @@ +local M = { + 'j-morano/buffer_manager.nvim', +} + +function M.config() + require('buffer_manager').setup { + -- line_keys = '', -- deactivate line keybindings + select_menu_item_commands = { + edit = { + key = '', + command = 'edit', + }, + v = { + key = '', + command = 'vsplit', + }, + h = { + key = '', + command = 'split', + }, + }, + width = 0.8, + } +end + +return M