ascii - Why does vi show the ends of lines as $? -
i using vi on mac, , when i've run :set list
, $
(dollar sign) character displayed @ end of each line. confusion $
not ascii value newline. why $
represent end of line?
$
chosen default value display represent line, because $
command move cursor end of line, chosen because $
represents end of line anchor in regular expression. there's nothing magical it, , can use character want setting listchars
. :help listchars
details.
Comments
Post a Comment