On 24/06/09 17:32, Benct Philip Jonsson wrote:
>
> How can I get vim to highlight matching angle brackets< >
> the same way it highlights matching ( ) [ ] { } ?
>
> /BP
for all buffers: in your vimrc
set matchpairs+=<:>
for all files of a given filetype (e.g. html): in (on Linux)
~/.vim/after/ftplugin/html.vim
setlocal matchpairs+=<:>
(replace html in the filename by whatever filetype you want to apply it
to. Create the file and/or directories if they don't yet exist.)
for the current buffer: at the keyoard
:setl mps+=<:>
see :help 'matchpairs'
Best regards,
Tony.
--
Ah, but the choice of dreams to live,
there's the rub.
For all dreams are not equal,
some exit to nightmare
most end with the dreamer
But at least one must be lived ... and died.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---