add flybyf plugin and bind to <l>bl

pull/1300/head
km 5 months ago
parent 8e0d4d0a2a
commit 53df3a65ac

@ -779,8 +779,8 @@ require('lazy').setup({
require('lualine').setup()
end,
},
-- Nvimtree (File Explorer)
{
{ -- Nvimtree (File Explorer)
'nvim-tree/nvim-tree.lua',
lazy = true,
dependencies = {
@ -788,6 +788,14 @@ require('lazy').setup({
},
},
{ -- FlyBuf (Buffer list in a float)
'glepnir/flybuf.nvim',
cmd = 'FlyBuf',
config = function()
require('flybuf').setup {}
end,
},
{ -- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
@ -826,7 +834,6 @@ require('lazy').setup({
require 'plugins.neo-tree',
require 'plugins.gitsigns', -- adds gitsigns recommend keymaps
require 'plugins.codeium',
require 'plugins.terraform',
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- This is the easiest way to modularize your config.

@ -36,6 +36,7 @@ return {
map('n', '<Tab>', ':bn!<Enter>', { desc = 'Go to next buffer' }),
map('n', '<S-Tab>', ':bp!<Enter>', { desc = 'Go to previous buffer' }),
map('n', '<leader>bd', ':bd<Enter>', { desc = 'close the current buffer' }),
map('n', '<leader>bl', ':FlyBuf<Enter>', { desc = 'open up a list of all buffers in a float' }),
-- terraform
map('n', '<leader>ti', ':!terraform init -no-color<CR>', { desc = 'terraform init' }),

Loading…
Cancel
Save