TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the C-j map for regular navigation in Vim; it is defined like this in .vimrc:

map <C-j> <C-e>

However, C-j is redfined in the latex suite. When I try to use the described (imaps.vim) way by doing:

imap <C-somekey> <Plug>IMAP_JumpForward

in .vimrc C-j still doesn't get mapped as it does without vim-latex installed.

The vim latex suite is installed in /usr/share/vimfiles/plugin.

share|improve this question
up vote 7 down vote accepted

err..right, this works:

" redef C-j to C-g
imap <C-g> <Plug>IMAP_JumpForward
nmap <C-g> <Plug>IMAP_JumpForward
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.