Compare commits

..

No commits in common. "5d10b4ececa5990cf01157aaab983bcfd1c10054" and "b6f22a465b7d2d6d0de3c460dd6893784fdde45e" have entirely different histories.

2 changed files with 3 additions and 13 deletions

View file

@ -1,13 +0,0 @@
vim.api.nvim_create_user_command("BHD", function()
vim.bo.bufhidden = "delete"
end, {})
vim.g.ephemeral_buffers = false
vim.api.nvim_create_autocmd("BufAdd", {
callback = function(args)
if vim.g.ephemeral_buffers then
vim.bo[args.buf].bufhidden = "delete"
end
end
})

3
vimrc
View file

@ -1,3 +1,6 @@
" vim: set bufhidden=delete noexpandtab tabstop=3 :miv "
"!!! makes use of marker '
" Set up the runtime path
set runtimepath=$VIMRUNTIME,$HOME/.config/nvim,$HOME/.vim
let &rtp=&rtp.','.expand('<sfile>:p:h').'/vim'