Discussion:
add line number
(too old to reply)
9ido
2007-01-08 04:52:46 UTC
Permalink
i want add line number, such as

some text
dsfs
gdagfds
sdfsdf
some text

change to

some text
1dsfs
2gdagfds
3sdfsdf
some text

i wrote a function to do it,but i want know how you guys to do it?
Endrju
2007-02-02 20:05:14 UTC
Permalink
I use setnu mode and bind it to the f2 so I can toggle it. =-)
http://www.wonderworks.com/download/setnu.el
Post by 9ido
i want add line number, such as
dsfs
Post by 9ido
gdagfds
sdfsdf
some text
change to
some text
1dsfs
2gdagfds
3sdfsdf
some text
i wrote a function to do it,but i want know how you guys to do it?
Loading...