> Hello,
>
> I'd like to map vim's command for ctags' jump to definition <C-\> to a
> new key, though I'm having some trouble with it. Before that vim shall
> split the window.
>
> I tried the following:
>
> map <F5> :sp <CR> <C-\>,
> map <F5> :sp <CR> <C-<Char-125>>
>
> but both of them don't seem to work. If I write :<C-<Char-125>> the
> correct string is formed, though this command doesn't make any sense, of
> course.
>
> Can someone tell me where the problem is? Thanks.
You want <F5> to open the tag under the cursor in the new window?
This should do that:
:nnoremap <F5> <C-w><C-]>
~Matt
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment