Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#64 Ability to use line breaks with substitute command

open-fixed
Editing (36)
6
2010-12-19
2010-05-14
Anonymous
No

Would like to be able to use line breaks when replacing text using the substitute command:
i.e., :s/something,/something,\r/

This works in Vim, although it would be nice to have the next line indented as if you hit the Enter key.

I'm on NB 6.8, Windows XP

Discussion

  • Ernie Rael

    Ernie Rael - 2010-12-19

    Implemented to allow '\r' in the replacement text. '\n' is also allowed and maps to newline (not NULL char into doc).

    Checked into repository, avail next release.

     
  • Ernie Rael

    Ernie Rael - 2010-12-19
    • labels: --> Editing
    • priority: 5 --> 6
    • assigned_to: nobody --> err
    • status: open --> open-fixed
     

Log in to post a comment.