Lemmy 4.5
Latest version:
4.5.200
See all
Developer:
Software Online Limited
A Vi-like programmers text editor that highlights many languages including; c, c++, html, prolog, lisp, pascal, cobol, etc. It allows opening/saving of files across ftp. Fully supports all Windows gui enhancements.
Comments (7)
for a line of:
a b c
(tab character is in-between letters)
a command of:
s/ /\n/g
yields:
anbnc
However
for the line:
a b c
(tab character is in-between letters)
a command of:
s/ /^v^m/g
(the ^v doesn't appear as Cliff pointed out)
yields:
a
b
c
which is what I want! Cliff is correct.
Thank you!!
:g/\//s//\NL/g
(with NL hitting the return)
That would change all '/' into new lines.
Useful after a:
$ find . -type f -a -print > filelist.lxt
Anyone?
New line should just be \n.
So, your command should read:
:g/\//s//\n/g
The CTRL-V isn't visible, but tells the editor to accept the next character as a character, not to interpret it. The final command will look like:
:g/\/s//^M/g
Thank you thank you thank you!
for a line of:
a b c
(tab character is in-between letters)
a command of:
s/ /\n/g
yields:
anbnc
However
for the line:
a b c
(tab character is in-between letters)
a command of:
s/ /^v^m/g
(the ^v doesn't appear as Cliff pointed out)
yields:
a
b
c
which is what I want! Cliff is correct.
Thank you!!