As per other questions, most of us know that if we want to enter paste mode we can toggle :set paste and :set nopaste.
And for auto-indenting we can :set autoindent.
However, I was thinking today, I only ever paste when I am at the beginning of a line and otherwise always want auto-indenting. I can set up hot keys to toggle the two quickly, but is there some way perhaps to tell vim in settings to be in paste mode when at the beginning of a line and to otherwise be in auto-indent mode to avoid the need to manually toggle?
"*p,"+p. – romainl Jun 21 '15 at 08:24