Last active
May 4, 2017 08:39
-
-
Save nelstrom/e7910fd07f1bd8b22499915843ad465a to your computer and use it in GitHub Desktop.
When a temporary buffer that was opened by neovim-remote is closed, automatically unlist it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if has('nvim') | |
augroup neovim | |
autocmd BufWinEnter * | |
\ if exists('b:nvr') | |
\| setlocal bufhidden=wipe | |
\| endif | |
augroup END | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My attempt to solve this question