The problem is caused by hasmapto() function which does not accept special keys 
in «<Key>» form. The attached patch fixes this (replaces hasmapto() with 
<unique>).
Index: vimfiles/ftplugin/latex-suite/main.vim
===================================================================
--- vimfiles/ftplugin/latex-suite/main.vim	(revision 1106)
+++ vimfiles/ftplugin/latex-suite/main.vim	(working copy)
@@ -598,9 +598,10 @@
 " Tex_MakeMap: creates a mapping from lhs to rhs if rhs is not already mapped {{{
 " Description:  
 function! Tex_MakeMap(lhs, rhs, mode, extraargs)
-	if !hasmapto(a:rhs, a:mode)
-		exec a:mode.'map '.a:extraargs.' '.a:lhs.' '.a:rhs
-	endif
+	try
+		exec a:mode.'map <unique> '.a:extraargs.' '.a:lhs.' '.a:rhs
+	catch
+	endtry
 endfunction " }}}
 " Tex_CD: cds to given directory escaping spaces if necessary {{{
 " " Description: 

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to