When there are tabs in a file, you cannot see where they are. To make them
visible: >
:set list
Now every Tab is displayed as ^I. And a $ is displayed at the end of each line, so that you can spot trailing spaces that would otherwise go unnoticed.
A disadvantage is that this looks ugly when there are many Tabs in a file.
If you have a color terminal, or are using the GUI, Vim can show the spaces and tabs as highlighted characters. Use the 'listchars' option: >
:set listchars=tab:>-,trail:-
Now every tab will be displayed as ">---" and trailing white space as "-".
Looks a lot better, doesn't it?
[code:1]: set list[/code:1]위와 같이하면
: set list
위와 같이하면 탭은 ^I로 파일끝은 $로 표시가 된다고 합니다. \r의 경우에는 ^M으로 표시됩니다.http://cespc1.kumoh.ac.kr/~sylot/etc/vi.html
참조해 보세요.
------------------------------
좋은 하루 되세요.
너무너무 감사합니다.[quote]VIEWING TABS
너무너무 감사합니다.
Debian Spirit !!!
댓글 달기