Matej Cepl wrote:
> Unfortunately, it breaks quickfix; after pressing <CR> in the
> quickfix window,
I don't use the mapping you mentioned, but I have another for
Enter and it too interfered with pressing Enter in a quickfix
window.
My cure was to create file ftplugin/qf.vim containing the
following single line:
nnoremap <buffer> <CR> <CR>
That sets up a no-remap, normal mode mapping for the quickfix
window. It maps Enter to generate <CR> which overrides the
general mapping.
If you're not sure where ftplugin is (your version, not the Vim
version), ask and someone will explain.
John
--
--
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/groups/opt_out.
Tuesday, September 10, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment