Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim delete visual selection and switch to insert mode

I often find myself doing a visual selection, then hitting d or x to delete and switching to Insert mode with i.

Is there a single keystroke that will delete the current visual selection and put me in Insert mode?

like image 221
ljs.dev Avatar asked Apr 14 '26 19:04

ljs.dev


1 Answers

Use c or s to change the text and remain in insert mode

like image 122
Christian Brabandt Avatar answered Apr 17 '26 01:04

Christian Brabandt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!