simply, want opposite of a in vi — a puts in insert mode , brings end of current line, i'm looking go insert mode @ start of current line.
so, there equivalent to:
0 in 1 keystroke?
i'm sure must have been asked before, search (here or google) returns results more complicated tasks.
it feels should possible in such powerful tool, can't find on cheatsheets, etc. vi.
there not seem such default alternative.
except 0i type gi.
if per se want have in 1 keystroke, can define map
:map x gi x being character of choice.
because mapping kill default behavior of key, should aware non-portable solution. define in .vimrc have map in place default.
Comments
Post a Comment