Waffelson@lemmy.world to linuxmemes@lemmy.world · 1 year ago:wq!lemmy.worldimagemessage-square116fedilinkarrow-up1223arrow-down174
arrow-up1149arrow-down1image:wq!lemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 1 year agomessage-square116fedilink
minus-square0x4E4F@sh.itjust.workslinkfedilinkEnglisharrow-up2·edit-21 year agoI’m not planning on googling that 😒.
minus-square𝕯𝖎𝖕𝖘𝖍𝖎𝖙@lemmy.worldlinkfedilinkarrow-up7arrow-down2·edit-21 year agoresult: Very intuitive like vim. gg - top of the file /un - find “un” place cursor at u 2x - remove 2 characters ?- - search backwards for the character - d/like - delete everything up until the characters like See, intuitive!
minus-square0x4E4F@sh.itjust.workslinkfedilinkEnglisharrow-up5arrow-down5·edit-21 year agoI don’t do that much search and replace in any terminal based text editor to actually use that on a regular basis. If I need edits like that, I use a GUI text editor.
minus-square𝕯𝖎𝖕𝖘𝖍𝖎𝖙@lemmy.worldlinkfedilinkarrow-up3arrow-down1·1 year agoSure, I just hate moving from mouse to keyboard every few seconds as I code.
gg/un2x?-d/like
FTFY
I’m not planning on googling that 😒.
result: Very intuitive like vim.
gg
- top of the file/un
- find “un” place cursor at u2x
- remove 2 characters?-
- search backwards for the character-
d/like
- delete everything up until the characterslike
See, intuitive!
I don’t do that much search and replace in any terminal based text editor to actually use that on a regular basis. If I need edits like that, I use a GUI text editor.
Sure, I just hate moving from mouse to keyboard every few seconds as I code.
deleted by creator