add flybyf plugin and bind to <l>bl
This commit is contained in:
parent
8e0d4d0a2a
commit
53df3a65ac
13
init.lua
13
init.lua
|
@ -779,8 +779,8 @@ require('lazy').setup({
|
||||||
require('lualine').setup()
|
require('lualine').setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
-- Nvimtree (File Explorer)
|
|
||||||
{
|
{ -- Nvimtree (File Explorer)
|
||||||
'nvim-tree/nvim-tree.lua',
|
'nvim-tree/nvim-tree.lua',
|
||||||
lazy = true,
|
lazy = true,
|
||||||
dependencies = {
|
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
|
{ -- Highlight, edit, and navigate code
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
|
@ -826,7 +834,6 @@ require('lazy').setup({
|
||||||
require 'plugins.neo-tree',
|
require 'plugins.neo-tree',
|
||||||
require 'plugins.gitsigns', -- adds gitsigns recommend keymaps
|
require 'plugins.gitsigns', -- adds gitsigns recommend keymaps
|
||||||
require 'plugins.codeium',
|
require 'plugins.codeium',
|
||||||
require 'plugins.terraform',
|
|
||||||
|
|
||||||
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
-- 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.
|
-- 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', '<Tab>', ':bn!<Enter>', { desc = 'Go to next buffer' }),
|
||||||
map('n', '<S-Tab>', ':bp!<Enter>', { desc = 'Go to previous 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>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
|
-- terraform
|
||||||
map('n', '<leader>ti', ':!terraform init -no-color<CR>', { desc = 'terraform init' }),
|
map('n', '<leader>ti', ':!terraform init -no-color<CR>', { desc = 'terraform init' }),
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
return {}
|
Loading…
Reference in New Issue