da_cow (she/her)@feddit.org to linuxmemes@lemmy.world · 23 hours agoI Am starting to actually get somewhat comfortable using emacsfeddit.orgimagemessage-square75fedilinkarrow-up1410arrow-down16
arrow-up1404arrow-down1imageI Am starting to actually get somewhat comfortable using emacsfeddit.orgda_cow (she/her)@feddit.org to linuxmemes@lemmy.world · 23 hours agomessage-square75fedilink
minus-squareStitch0815@feddit.orglinkfedilinkarrow-up1·4 hours agoMy most used commands are also just the classics cw - delete the next word amd enter insert mode dd - delete line gg - go to first line G - go to last line :s/searchphrase/replacephrase - search and replace And a couple of visual mode commands do cut and paste blocks or comment out blocks of code
minus-squareGiveOver@feddit.uklinkfedilinkarrow-up2·3 hours agoTo build on cw: ciw works when the cursor is anywhere in the word ci( to delete everything between brackets and enter insert mode. Also ci" ciW or whatever
My most used commands are also just the classics
cw - delete the next word amd enter insert mode
dd - delete line
gg - go to first line
G - go to last line
:s/searchphrase/replacephrase - search and replace
And a couple of visual mode commands do cut and paste blocks or comment out blocks of code
To build on cw:
ciw works when the cursor is anywhere in the word
ci( to delete everything between brackets and enter insert mode. Also ci" ciW or whatever