Quick tip sudo !! will repeat the previous command with sudo in front of it. Post navigation Vim clear whole file (clear/delete all lines in vim/vi) Tmux arrow key navigation