On 12/11/06, dong wang <[EMAIL PROTECTED]> wrote:
I found a problem ( sorry , here i just call it problem ) when i edit
a csv file.
That is the vim don't display the last line as a seperate line when i
do " set nu"
For exmaple ,
use Notepad.exe (or some other Editor) to create a file , and do input :
abc<CR>
abc<CR>
save the file.
After that , use vim to open the file and "set nu"
Well , i found that , the vim just displays the line number as this
1 abc
2 abc
which i thought it should be :
1 abc
2 abc
3
Your reasoning is wrong. For example, if you think that
one-liner file line of text should consists of 'abc' and no \n, then
you cannot distinguish between file consisting of one empty
line vs empty file. Line of text always ends with \n,
that's how lines of text were created and happily lived ever after.
Yakov