hello i'm having problems with these lines in my vimrc. i modified
them twice and i always encounter new cases where it does not work. so
i'm trying here too.

the idea is to highlight those columns with more than 80 characters. i
started with:

hi rightMargin term=Bold ctermfg=Blue ctermbg=White guibg=Blue guifg=White
match rightMargin
match rightMargin /.\%>80v/

but then it wouldn't work with tabe, and i have been told that match
was window local so i changed it to:

hi rightMargin term=Bold ctermfg=Blue ctermbg=White guibg=Blue guifg=White
autocmd BufRead,BufNew * match rightMargin /.\%>80v/

and today it did not work with tabnew (a command i did not know
about). and i have been told to use:

hi rightMargin term=Bold ctermfg=Blue ctermbg=White guibg=Blue guifg=White
au VimEnter,WinEnter * match rightMargin /.\%>80v/

now it does not work at all.

i will appreciate any help in solving this issue.
thanks

-- 
paul victor noagbodji

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to