Take the 2-minute tour ×
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.

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

1 Answer

up vote 6 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
add comment

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.