Switch automatically between normal and insert mode in vim -
i new vim , have installed oh-my-vim , learnt these keybindings googling:
jump forward word - w
jump forward word - b
jump end of sentence -
close current file without exiting - bd
undo u
execute shell command ! (bang)
of these typing shift + in normal mode allows me jump end of sentence , goes insert mode start typing after it. tried out shift + w , shift + b , shows similar behaviour of going insert mode start typing after use keybinding.
what equivalents these keybindings not using letter?
jump start of sentence - 0
redo ctrl + r
jump previous line - ``
hope clear in describing. thanks!
it's not entirely clear asking. shift+w
, shift+b
not automatically enter insert mode, instead go , forth on words (vs words).
if want enter insert mode, hit i
. hit wi
insert after word.
you mention 0
, goes beginning of line. can hit i
(shift+i) insert @ beginning of line. note inserts after initial whitespace on line, same hitting ^i
. if want insert @ beginning of line, you'll need use 0i
.
Comments
Post a Comment