@[email protected] to [email protected] • 11 months ago:wq!lemmy.worldmessage-square115fedilinkarrow-up1226
arrow-up1156image:wq!lemmy.world@[email protected] to [email protected] • 11 months agomessage-square115fedilink
minus-square@[email protected]linkfedilinkEnglish2•edit-211 months agoI’m not planning on googling that 😒.
minus-square𝕯𝖎𝖕𝖘𝖍𝖎𝖙linkfedilink6•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-square@[email protected]linkfedilinkEnglish0•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𝕯𝖎𝖕𝖘𝖍𝖎𝖙linkfedilink3•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