I've been trying to debug `matchit.vim` to find out why it's not
working. It turns out I am using `mapclear` in one of my vim config
files[1]. I call this every time I load a file[2]. If you look at the
`std.vim` file you can see that I load various macro files depending on
the extension. The maps are cleared so that previously loaded macros
are cleared and only the relevant ones are loaded.
Is there an elegant way that I can get matchit.vim while still working
with my existing development environment?
Once I commented out the `mapclear` statement it worked fine without any
additional configuration. I just need to be able to clear my macros
without screwing up `matchit.vim`.
[1]
https://bitbucket.org/srasku/xmt/src/39b2365d7f6853378f49cd168b99b6eb3636743b/xmt_edit/proto/vim/ctrl-X.vim?fileviewer=file-view-default#ctrl-X.vim-29
[2]
https://bitbucket.org/srasku/xmt/src/39b2365d7f6853378f49cd168b99b6eb3636743b/xmt_edit/proto/vim/std.vim#std.vim-35
--
Stephen Rasku
Linux Developer
Wurldtech Security Technologies
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thursday, December 17, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment