Update of /cvsroot/vim-latex/vimfiles/plugin
In directory sc8-pr-cvs1:/tmp/cvs-serv8851
Modified Files:
imaps.vim
Log Message:
. Remove mappings for jumping back. The user can still choose to use this
functionality by uncommenting lines in the texrc (that modification coming
soon).
Index: imaps.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** imaps.vim 31 Dec 2002 09:21:01 -0000 1.16
--- imaps.vim 31 Dec 2002 19:20:02 -0000 1.17
***************
*** 8,12 ****
" while preserving filetype indentation.
"
! " Last Change: Tue Dec 31 01:00 AM 2002 PST
"
" Documentation: {{{
--- 8,12 ----
" while preserving filetype indentation.
"
! " Last Change: Tue Dec 31 10:00 AM 2002 PST
"
" Documentation: {{{
***************
*** 437,465 ****
" Default maps for IMAP_Jumpfunc {{{
" map only if there is no mapping already. allows for user customization.
if !hasmapto('<Plug>IMAP_JumpForward', 'i')
imap <C-J> <Plug>IMAP_JumpForward
endif
- if !hasmapto('<Plug>IMAP_JumpBack', 'i')
- imap <S-C-J> <Plug>IMAP_JumpBack
- endif
if !hasmapto('<Plug>IMAP_JumpForward', 'n')
nmap <C-J> <Plug>IMAP_JumpForward
endif
- if !hasmapto('<Plug>IMAP_JumpBack', 'n')
- nmap <S-C-J> <Plug>IMAP_JumpBack
- endif
if exists('g:Imap_StickyPlaceHolders') && g:Imap_StickyPlaceHolders
if !hasmapto('<Plug>IMAP_JumpForward', 'v')
vmap <C-J> <Plug>IMAP_JumpForward
endif
- if !hasmapto('<Plug>IMAP_JumpBack', 'v')
- vmap <S-C-J> <Plug>IMAP_JumpBack
- endif
else
if !hasmapto('<Plug>IMAP_DeleteAndJumpForward', 'v')
vmap <C-J> <Plug>IMAP_DeleteAndJumpForward
- endif
- if !hasmapto('<Plug>IMAP_DeleteAndJumpBack', 'v')
- vmap <S-C-J> <Plug>IMAP_DeleteAndJumpBack
endif
endif
--- 437,456 ----
" Default maps for IMAP_Jumpfunc {{{
" map only if there is no mapping already. allows for user customization.
+ " NOTE: Default mappings for jumping to the previous placeholder are not
+ " provided. It is assumed that if the user will create such mappings
+ " hself if e so desires.
if !hasmapto('<Plug>IMAP_JumpForward', 'i')
imap <C-J> <Plug>IMAP_JumpForward
endif
if !hasmapto('<Plug>IMAP_JumpForward', 'n')
nmap <C-J> <Plug>IMAP_JumpForward
endif
if exists('g:Imap_StickyPlaceHolders') && g:Imap_StickyPlaceHolders
if !hasmapto('<Plug>IMAP_JumpForward', 'v')
vmap <C-J> <Plug>IMAP_JumpForward
endif
else
if !hasmapto('<Plug>IMAP_DeleteAndJumpForward', 'v')
vmap <C-J> <Plug>IMAP_DeleteAndJumpForward
endif
endif
|