For my workflow I would like to toggle startify on/off on demand.
I can sort of get this with the following:
let g:startify_disable_at_vimenter = 1
augroup rcstartify
autocmd User Startified nmap <buffer> <F12> q
augroup END
nnoremap <F12> <cmd>Startify<CR>
It works as I would like it, except if I have a blank (No Name) buffer. In that case, by design Startify quits Vim.
Would it be possible to support a way to close/clean-up the Startify buffer but not quit Vim? Binding that to a key once I'm in a startify buffer will provide the workflow above.
If there is interest in supporting this option, but no time to implement this, I can submit a PR?
Hi,
For my workflow I would like to toggle startify on/off on demand.
I can sort of get this with the following:
It works as I would like it, except if I have a blank (No Name) buffer. In that case, by design Startify quits Vim.
Would it be possible to support a way to close/clean-up the Startify buffer but not quit Vim? Binding that to a key once I'm in a startify buffer will provide the workflow above.
If there is interest in supporting this option, but no time to implement this, I can submit a PR?
Basically, just one line needs to be changed in https://github.com/mhinz/vim-startify/blob/81e36c352a8deea54df5ec1e2f4348685569bed2/autoload/startify.vim#L1007-L1017. For e.g.: