aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2023-03-16 13:47:34 -0600
committerCody Hiar <cody@hiar.ca>2023-03-16 13:47:34 -0600
commite44d6a78b429f7406e003fa601836877b67eef04 (patch)
tree729004c835bcdc447461c1c6b662527349364e17
parent57bd07fb898b5208e250028ed72993b0f92171fd (diff)
Add vim buffkill
-rw-r--r--flake.nix1
-rw-r--r--init.lua3
2 files changed, 4 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index ba90717..4a99de2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -91,6 +91,7 @@
LanguageTool-nvim
camelcasemotion
vim-table-mode
+ vim-bufkill
];
};
};
diff --git a/init.lua b/init.lua
index 3a26701..353a737 100644
--- a/init.lua
+++ b/init.lua
@@ -397,3 +397,6 @@ vim.g.camelcasemotion_key = ','
vim.cmd([[
let g:oscyank_term = 'default'
]])
+
+-- vim-bufkill
+vim.api.nvim_set_keymap('n', '<leader>bd', '<cmd>BD<cr>', { noremap = true })