Skip to content

Instantly share code, notes, and snippets.

@dustractor
Created October 14, 2019 09:40
Show Gist options
  • Save dustractor/51234d872332de6cb9a144f6b457debe to your computer and use it in GitHub Desktop.
Save dustractor/51234d872332de6cb9a144f6b457debe to your computer and use it in GitHub Desktop.
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