nixos-config/home-manager/neovim/commands.lua

2 lines
62 B
Lua

vim.api.nvim_create_user_command("BufOnly", "%bd|e#|bd#", {})