Saturday, May 2, 2015

Re: reverting keymaps for location-list buffer

works like a charm - impressively easy solution =)

thank you very much and have a nice weekend,
best,
Stephan

On 2 May 2015 at 09:56, John Beckett <johnb.beckett@gmail.com> wrote:
Stephan Sahm wrote:
> is the vimfiles folder maybe wrong?
> must it be somewhere under .vim/ maybe?

Sorry, my confusion. For a Unix-based system, create file
(you may have to create the directory first):

~/.vim/ftplugin/qf.vim

containing the single line:

nnoremap <buffer> <CR> <CR>

The above should make pressing Enter work as expected in
quickfix and local-list buffers. With the cursor in one of those
windows, enter the following command to see what mapping is in
effect, and where it was set. You only care about the "n" line
which is the mapping for normal mode.

:verbose map <CR>

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/d/optout.

--
--
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.

No comments:

Post a Comment