diff options
Diffstat (limited to 'lua/plugins/buffer_manager.lua')
| -rw-r--r-- | lua/plugins/buffer_manager.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lua/plugins/buffer_manager.lua b/lua/plugins/buffer_manager.lua new file mode 100644 index 0000000..794e178 --- /dev/null +++ b/lua/plugins/buffer_manager.lua @@ -0,0 +1,24 @@ +return { + 'j-morano/buffer_manager.nvim', + dependencies = { 'nvim-lua/plenary.nvim' }, + keys = { + { + desc = 'Buffer Manager', + '<leader>o', + function() require('buffer_manager.ui').toggle_quick_menu() end, + }, + { + desc = 'Next buffer', + ']b', + function() require('buffer_manager.ui').nav_next() end, + }, + { + desc = 'Previous buffer', + '[b', + function() require('buffer_manager.ui').nav_prev() end, + }, + }, + opts = { + width = 0.9, + }, + } |