Yakov Lerner wrote: > On 5/19/07, Ken YANG <[EMAIL PROTECTED]> wrote: >> >> hi all, >> >> can you guide me how to display a "column line" at right margin, e.g. >> 80, as gedit and eclipse do. >> >> i find this thread in mails archive: >> >> http://tech.groups.yahoo.com/group/vim/message/33159 >> >> but the method told in this thread is useless, it has some erros when >> i start vim in gnome-terminal. >
thank you for your guides > 1. this command shall not have problems in gvim or vim: > :match Error /\%>79v/ > You probably used different command if you get errors. yes, you are right. the "match ..."method is ok, but i want a "column line" shown in all time, not just "highlight" when i input at 80 column, just like gedit and eclipse always show a vertical line at column 80 > > 2. Another method is to vsplit, and make width of left pane 80 chars, > and work in it. yes, this method can make the vertical line shown in all time :-) > > Yakov >