I have the following text:
#Text
My cursor is on character T
; I want to obtain
# Text
i.e., to put a space between #
and T
, without "pressing i
and then space
". Instead, I want to do so in one single command without mapping. Is there any pre-defined shortkey for this?
Thanks
diw
; I was wondering if there is, something like<space>iw
.diw
is not "a shortcut". It's "delete" applied to "inner word" text object. It's not so hard to create "prepend space" thing and to apply it to any existing text object, but (a) not everyone will find it useful, and so it's not in the core, (b) it'll be a mapping.