Saturday, September 10, 2016

Re: Show result file under my cursor

On 2016-09-10, Josef Hák wrote:
> I would like to define 'QuickFix only' shortcut to trigger 'go'
> after up and down keys to show current file. I can not find way to
> define shotcut for QuickFix window only. Do you have some advices?
> Thanks.

I didn't understand what your mapping is supposed to do, but here is
how you would define a mapping for only the quickfix window.

au BufWinEnter quickfix nnoremap <buffer> noremap <up> :echo "hello"<CR>

Regards,
Gary

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