Add vim B(uf)H(idden)K(eep) command
This commit is contained in:
parent
5d10b4ecec
commit
ac3e0d50e2
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@ vim.api.nvim_create_user_command("BHD", function()
|
|||
vim.bo.bufhidden = "delete"
|
||||
end, {})
|
||||
|
||||
vim.api.nvim_create_user_command("BHK", function()
|
||||
vim.bo.bufhidden = nil
|
||||
end, {})
|
||||
|
||||
vim.g.ephemeral_buffers = false
|
||||
|
||||
vim.api.nvim_create_autocmd("BufAdd", {
|
||||
|
|
Loading…
Reference in a new issue