This works well.
Thanks!

On Thu, Feb 9, 2012 at 1:37 PM, Ted Pavlic <t...@tedpavlic.com> wrote:
> I think there are multiple ways to skin that cat. Just because it's the
> easiest for me to present here without doing much research, try putting
> this in your .vimrc:
>
> if &filetype != 'tex'
>   imap <M-C-J> <Plug>IMAP_JumpForward
>   nmap <M-C-J> <Plug>IMAP_JumpForward
>   vmap <M-C-J> <Plug>IMAP_JumpForward
>   vmap <M-C-J> <Plug>IMAP_DeleteAndJumpForward
> endif
>
> Best --
> Ted
>
> On 02/08/2012 12:51 PM, jorge rodrigues wrote:
>> When I am in a c file I type
>> :verbose imap <c-j>
>> and get:
>> i  <NL>          <Plug>IMAP_JumpForward
>>         Last set from ~/.vim/bundle/vlatex/plugin/imaps.vim
>>
>> I would like to use <c-j> with this mapping in latex files, but leave
>> it for other mappings with other file types.
>> I tried mapping it to something else in my vimrc but it still shows
>> the above mapping.
>>
>> Regards,
>>
>> Jorge
>>
>> On Tue, Feb 7, 2012 at 8:46 PM, Gary Johnson <garyj...@spocom.com> wrote:
>>> On 2012-02-07, jorge rodrigues wrote:
>>>> Would it be possible to have the mappings that are defined in
>>>> imaps.vim defined only for latex files?
>>>> Are they useful for other file types?
>>>
>>> As far as I can tell, the mappings aren't defined in imaps.vim; the
>>> LaTeX mappings are defined in various files in the latex-suite.  The
>>> imaps.vim file simply defines the functions used to create the
>>> mappings.
>>>
>>> So, the IMAP mappings defined for LaTeX files are already used only
>>> for LaTeX files.  I doubt that the LaTeX mappings would be useful
>>> for any other file type, but the IMAP mapping mechanism would be
>>> useful for creating mappings tailored to other file types.
>>>
>>> Regards,
>>> Gary
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Keep Your Developer Skills Current with LearnDevNow!
>>> The most comprehensive online learning library for Microsoft developers
>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>> http://p.sf.net/sfu/learndevnow-d2d
>>> _______________________________________________
>>> Vim-latex-devel mailing list
>>> Vim-latex-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> Vim-latex-devel mailing list
>> Vim-latex-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
> --
> Ted Pavlic <t...@tedpavlic.com>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to