nvim.nix/nvim/plugin/commands.lua
2024-03-06 02:24:31 +01:00

9 lines
188 B
Lua

if vim.g.did_load_commands_plugin then
return
end
vim.g.did_load_commands_plugin = true
local api = vim.api
-- delete current buffer
api.nvim_create_user_command('Q', 'bd % <CR>', {})