robbyrussell/oh-my-zsh — pull request #2522 by fladi (2014-02-12 14:21:50+00:00)
Title: Preserve cursor position when prepending sudo.

This changes the default behavior of the sudo plugin to preserve the position of the cursor when the current $BUFFER is prepended with "sudo ". The original behavior can be restored by setting `sudo_preserve_cursor=0`.