Created
October 14, 2019 09:40
-
-
Save dustractor/51234d872332de6cb9a144f6b457debe to your computer and use it in GitHub Desktop.
This file contains 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
function! NamelessWipeout() | |
for i in range(bufnr('$'),1,-1) | |
if bufname(i) == "" | |
exe "bw ".i | |
endif | |
endfor | |
endfunction | |
com! WipeoutNameless call NamelessWipeout() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment