feat: add :BufOnly command to nvim

This commit is contained in:
mandlm 2023-05-11 08:21:13 +02:00
parent f6bbb1f35a
commit 0d59a43a45
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
vim.api.nvim_create_user_command("BufOnly", "%bd|e#|bd#", {})

View File

@ -162,6 +162,7 @@ in
${builtins.readFile ./keymaps.lua }
${builtins.readFile ./options.lua }
${builtins.readFile ./commands.lua }
${builtins.readFile ./treesitter.lua }
${builtins.readFile ./lspconfig.lua }
${builtins.readFile ./toggleterm.lua }