CSCI15a: Editor line numbers
CSCI15a: Editor line numbers
-
In vi, if you want to see the line number of the file,
you can either:
- type
:set number
while in a vi session
OR
-
edit your .exrc file to contain
set number
notice no colon here
OR
-
You can simply go into command mode and type the number line you want to go to.
-
So far all I can find in Emacs is
-
ESC-x goto-line n RETURN
OR
ESC-g n RETURN
to go to line number n in the file
-
For pico when you are in the file using pico if you type
-
CRL-c
it reports the current cursor position (line number) under the text
-
In WinSCP3 the menu bar on top has an icon of a document with some yellow on it. Click on it an it asks what line number you want to go to.