Saturday, August 13, 2011

Re: Where to map tnext tprev

On Sun, Aug 14, 2011 at 3:42 AM, Ulf Magnusson <ulfalizer@gmail.com> wrote:
> On Wed, Aug 10, 2011 at 9:34 AM, Dmitry Teslenko <dteslenko@gmail.com> wrote:
>> Hello!
>> Since long ago using  this config:
>>
>> noremap . <esc>:tnext<cr>
>> noremap , <esc>:tprevious<cr>
>>
>> Now I missing (.) dot command to repeat last action. First I've tried
>> to remap them to Ctrl+. but with no success. It seems it must be done
>> some other way than:
>>
>> noremap <C-.> <esc>:tnext<cr>
>> noremap <C-,> <esc>:tprevious<cr>
>>
>> Two questions:
>> 1) Can Ctrl+. be mapped and how?
>> 2) What's your favorite mappings for tnext/tprev?
>>
>
> I use the right and left arrow keys, since I don't use them for
> anything else (breaks the home position, but it's not something you do
> that often anyway). I've also bound <s-left> and <s-right> to :cp and
> :cn for jumping between entries in the quickfix window (mostly
> compiler errors/warnings, and search result with :Ggrep with the
> Fugitive plugin).
>
> /Ulf
>

Btw, my config is at
https://github.com/ulfalizer/Configuration-files/blob/master/.vimrc .
Has some other goodies like double-clicking a tag to jump to it, and
middle-clicking to go back.

/Ulf

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

No comments: