nix.nvim/nvim/plugin/commands.lua

10 lines
188 B
Lua
Raw Permalink Normal View History

2024-03-06 02:24:31 +01:00
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>', {})