summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-03-01 15:54:19 +0100
committerJoe <rbo@gmx.us>2024-03-01 15:54:19 +0100
commit76fa8f05b0f699f183d07c0d89b616fa6f1d61cb (patch)
tree865b14f4976fd2ff7ae930751246825b5ab560ce /.config/nvim/lua
parentup (diff)
downloaddotfiles-bsd-76fa8f05b0f699f183d07c0d89b616fa6f1d61cb.tar.gz
dotfiles-bsd-76fa8f05b0f699f183d07c0d89b616fa6f1d61cb.tar.bz2
dotfiles-bsd-76fa8f05b0f699f183d07c0d89b616fa6f1d61cb.tar.xz
dotfiles-bsd-76fa8f05b0f699f183d07c0d89b616fa6f1d61cb.tar.zst
dotfiles-bsd-76fa8f05b0f699f183d07c0d89b616fa6f1d61cb.zip
up
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/bindings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/bindings.lua b/.config/nvim/lua/bindings.lua
index f4ed9ef..0d059a5 100644
--- a/.config/nvim/lua/bindings.lua
+++ b/.config/nvim/lua/bindings.lua
@@ -39,7 +39,7 @@ vim.keymap.set('n', '<M-3>', function() harpoon:list():select(3) end)
vim.keymap.set('n', '<M-4>', function() harpoon:list():select(4) end)
-- normal
-vim.keymap.set('n', '<leader>d', ':bd<CR>', { noremap = true, silent = true })
+vim.keymap.set('n', '<leader>d', ':bn|:bd#<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<leader>D', '"-ddk:put = strftime(\' * %a %b %d %T %Y\')<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<leader>k', ':w<CR>:bp<CR>:bd #<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<leader>u', vim.cmd.UndotreeToggle, { noremap = true, silent = true })