diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 06fbe28..aa8808c 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -67,7 +67,8 @@ vim.keymap.set('o', 'N', "'nN'[v:searchforward]", { expr = true, desc = 'Prev Se vim.keymap.set('n', '', 'bprevious', { desc = 'Prev Buffer' }) vim.keymap.set('n', '', 'bnext', { desc = 'Next Buffer' }) vim.keymap.set('n', 'bb', 'e #', { desc = 'Switch to Other Buffer' }) -vim.keymap.set('n', 'bD', ':bd', { desc = 'Delete Buffer and Window' }) +vim.keymap.set('n', 'bd', ':bd', { desc = 'Delete Buffer and Window' }) +vim.keymap.set('n', 'bo', '%bd|e#|bd#', { desc = 'Delete Other Buffers' }) -- Tabs vim.keymap.set('n', 'l', 'tablast', { desc = 'Last Tab' }) diff --git a/lua/options.lua b/lua/options.lua index ac0b9ed..47d998e 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -33,6 +33,9 @@ vim.opt.undofile = true vim.opt.ignorecase = true vim.opt.smartcase = true +-- Ignore case of cmdline (":e ju" results in ":e Justfile", for example) +vim.opt.wildignorecase = true + -- Keep signcolumn on by default vim.opt.signcolumn = 'yes' diff --git a/lua/plugins/mini.lua b/lua/plugins/mini.lua index fe7ec4a..d68ba0b 100644 --- a/lua/plugins/mini.lua +++ b/lua/plugins/mini.lua @@ -25,6 +25,9 @@ return { -- Collection of various small independent plugins/modules -- Pair brackets, quotes, etc. require('mini.pairs').setup() + -- Animate common Neovim actions + require('mini.animate').setup() + -- Simple startup screen require('mini.starter').setup()