vi/vim repeat :bw with one keystroke? -


i manually processing large number of files , use vim *.txt open batch of files , :bw close file , move next 1 in buffer. works, have way repeat :bw 1 keystroke, same way can use . repeat last command. (if use ., repeats command had done before :bw, dd.)

if don't use ex command in meantime can use @: repeat last ex command.

anyway, recommend quick mapping like:

nnoremap <key> :bwipeout<cr> 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -