1 2 3 4 5 6
-- Close the current buffer vim.api.nvim_set_keymap( "n", "<leader>q", ":lua close_current_buffer()<CR>", { silent = true, noremap = true } )