diff options
-rw-r--r-- | .config/nvim/lua/bindings.lua | 2 | ||||
-rw-r--r-- | .config/zsh/alias.zsh | 2 |
2 files changed, 2 insertions, 2 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 }) diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 39362ad..212c99d 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -216,7 +216,7 @@ update() { git -C $HOME/.local/packs/neovim fetch --tags --all --force git -C $HOME/.local/packs/neovim checkout nightly make -C $HOME/.local/packs/neovim CMAKE_BUILD_TYPE=Release - doas -C $HOME/.local/packs/neovim make install distclean + doas make -C $HOME/.local/packs/neovim install distclean ;; mars) doas pkg update && doas pkg upgrade |