Waffelson@lemmy.world to linuxmemes@lemmy.world · 11 months ago:wq!lemmy.worldimagemessage-square114fedilinkarrow-up1219arrow-down170
arrow-up1149arrow-down1image:wq!lemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 11 months agomessage-square114fedilink
minus-square𝕯𝖎𝖕𝖘𝖍𝖎𝖙@lemmy.worldlinkfedilinkarrow-up3arrow-down2·edit-211 months agogg/un2x?-d/like FTFY
minus-square0x4E4F@sh.itjust.workslinkfedilinkEnglisharrow-up2·edit-211 months agoI’m not planning on googling that 😒.
minus-square𝕯𝖎𝖕𝖘𝖍𝖎𝖙@lemmy.worldlinkfedilinkarrow-up7arrow-down2·edit-211 months 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-211 months 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·11 months 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