Skullgrid@lemmy.world to Programmer Humor@programming.dev · edit-210 days agowhy hard exit editor? Nano say at bottom.files.catbox.moeimagemessage-square186linkfedilinkarrow-up11file-text
arrow-up11imagewhy hard exit editor? Nano say at bottom.files.catbox.moeSkullgrid@lemmy.world to Programmer Humor@programming.dev · edit-210 days agomessage-square186linkfedilinkfile-text
minus-squarebisby@lemmy.worldlinkfedilinkarrow-up0·8 days agoMoves the current line up 2 lines. It’s “2” because the syntax is actually “move to after -2”. So if you are on line 20, it will move you to after line 18… Aka line 19
:m-2What does that do?
Moves the current line up 2 lines.
It’s “2” because the syntax is actually “move to after -2”. So if you are on line 20, it will move you to after line 18… Aka line 19