Browse Source

Preserve layout when deleting buffers

master
Josh Wolfe 1 week ago
parent
commit
1989c9d85d
  1. 2
      neovim/.config/nvim/lua/mappings.lua
  2. 2
      neovim/.config/nvim/lua/plugins.lua

2
neovim/.config/nvim/lua/mappings.lua

@ -12,7 +12,7 @@ require('legendary').bind_keymaps({ @@ -12,7 +12,7 @@ require('legendary').bind_keymaps({
{ 'k', 'gk' },
-- Buffer navigation keybinds
{ '<leader>k', ':bwipeout<cr>' },
{ '<leader>k', function() require('bufdelete').bufwipeout(0) end },
{ '<leader>b', alt_buf_with_fallback },
{ '<C-^>', alt_buf_with_fallback },

2
neovim/.config/nvim/lua/plugins.lua

@ -6,6 +6,7 @@ use 'nvim-lua/plenary.nvim' @@ -6,6 +6,7 @@ use 'nvim-lua/plenary.nvim'
use {
'B4mbus/oxocarbon-lua.nvim',
config = function()
vim.g.oxocarbon_lua_disable_italic = true
vim.cmd('colorscheme oxocarbon-lua')
end
}
@ -27,6 +28,7 @@ use 'nelstrom/vim-visual-star-search' @@ -27,6 +28,7 @@ use 'nelstrom/vim-visual-star-search'
use 'tommcdo/vim-lion'
use 'lambdalisue/suda.vim'
use 'sbdchd/neoformat'
use 'famiu/bufdelete.nvim'
use {
'ggandor/leap.nvim',

Loading…
Cancel
Save