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
Post a Comment