diff options
Diffstat (limited to 'lua/maps/buffer.lua')
-rw-r--r-- | lua/maps/buffer.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/maps/buffer.lua b/lua/maps/buffer.lua new file mode 100644 index 0000000..99a11f6 --- /dev/null +++ b/lua/maps/buffer.lua @@ -0,0 +1,6 @@ +-- Close the current buffer +vim.api.nvim_set_keymap( + "n", + "<leader>q", ":lua close_current_buffer()<CR>", + { silent = true, noremap = true } +) |