[Cialug] repeat w/ sudo

Chris Freeman cwfreeman at gmail.com
Tue Mar 2 13:17:04 CST 2010


I tend to use vi keybindings (because Vim is better than Emacs :-)

So, I type '<esc>k0isudo<enter>'. I could use <esc>kIsudo<enter> to
save a keystroke.

Neither of which are as short or elegant as sudo !!, but they're in my
muscle memory from years of Vim use and !! isn't.


More information about the Cialug mailing list