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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -