Closed shoban closed 8 years ago
This is not an issue in itself. I don't know where to post this question.
Thanks for this awesome plugin otherwise!
You can put this in your vimrc:
au FileType cpp let b:delimitMate_matchpairs = '(:),{:},[:]'
That would affect cpp files only. If you want to set a global value for all filetypes, then put this in your vimrc:
let delimitMate_matchpairs = '(:),{:},[:]'
Thanks @Raimondi! This is the second method that I described in the issue. It would be great to have a feature where certain patterns (defined by regex?) to be ignored by the plugin.
When typing out
<<
, delimitMate adds>>
. In the following example,|
is the cursor.This can often be very annoying. I can only think of two ways of handling this:
<S-BS>
to delete the delimiter on the right.<:>
fromdelimitMate_matchpairs
.Is there a better way of ignoring/handling this?