• 𝕯𝖎𝖕𝖘𝖍𝖎𝖙
      link
      5
      edit-2
      1 year ago

      result: Very intuitive like vim.

      1. gg - top of the file
      2. /un - find “un” place cursor at u
      3. 2x - remove 2 characters
      4. ?- - search backwards for the character -
      5. d/like - delete everything up until the characters like

      See, intuitive!

      • @[email protected]
        link
        fedilink
        English
        0
        edit-2
        1 year ago

        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.