[Vim-latex-cvs] SF.net SVN: vim-latex:[1101] trunk/vimfiles
Brought to you by:
srinathava,
tmaas
|
From: <tm...@us...> - 2010-01-28 23:31:04
|
Revision: 1101
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1101&view=rev
Author: tmaas
Date: 2010-01-28 23:30:56 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
Fix <M-i> or <ALT-I> mapping and documentation
- The <M-i> mapping was not defined, because it was checked for the existence
of the key sequence of <Plug>Tex_InsertItem, but the defined key sequence is
<Plug>Tex_InsertItemOnThisLine
- Update documenation to mention the actual key sequence
Modified Paths:
--------------
trunk/vimfiles/doc/latex-suite.txt
trunk/vimfiles/doc/latex-suite.xml
trunk/vimfiles/ftplugin/latex-suite/envmacros.vim
Modified: trunk/vimfiles/doc/latex-suite.txt
===================================================================
--- trunk/vimfiles/doc/latex-suite.txt 2010-01-28 15:25:31 UTC (rev 1100)
+++ trunk/vimfiles/doc/latex-suite.txt 2010-01-28 23:30:56 UTC (rev 1101)
@@ -2338,12 +2338,12 @@
*Plug_Tex_MathBF* *ls_a_en*
*Plug_Tex_MathCal* *ls_a_eo*
*Plug_Tex_LeftRight* *ls_a_ep*
- *Plug_Tex_InsertItem* *ls_a_eq*
-Plug Mapping Default Key~
-<Plug>Tex_MathBF <Alt-B>
-<Plug>Tex_MathCal <Alt-C>
-<Plug>Tex_LeftRight <Alt-L>
-<Plug>Tex_InsertItem <Alt-I>
+ *Plug_Tex_InsertItemOnThisLine* *ls_a_eq*
+Plug Mapping Default Key~
+<Plug>Tex_MathBF <Alt-B>
+<Plug>Tex_MathCal <Alt-C>
+<Plug>Tex_LeftRight <Alt-L>
+<Plug>Tex_InsertItemOnThisLine <Alt-I>
--------------------------------------------------------------------------------
Latex Suite Commands *ls_10_2* *ls_a_cy*
Modified: trunk/vimfiles/doc/latex-suite.xml
===================================================================
--- trunk/vimfiles/doc/latex-suite.xml 2010-01-28 15:25:31 UTC (rev 1100)
+++ trunk/vimfiles/doc/latex-suite.xml 2010-01-28 23:30:56 UTC (rev 1101)
@@ -2974,7 +2974,7 @@
<anchor id="Plug_Tex_MathBF" />
<anchor id="Plug_Tex_MathCal" />
<anchor id="Plug_Tex_LeftRight" />
- <anchor id="Plug_Tex_InsertItem" />
+ <anchor id="Plug_Tex_InsertItemOnThisLine" />
<informaltable frame="all">
<tgroup cols="2">
<thead>
@@ -2997,7 +2997,7 @@
<entry><literal><Alt-L></literal></entry>
</row>
<row>
- <entry><literal><Plug>Tex_InsertItem</literal></entry>
+ <entry><literal><Plug>Tex_InsertItemOnThisLine</literal></entry>
<entry><literal><Alt-I></literal></entry>
</row>
</tbody>
Modified: trunk/vimfiles/ftplugin/latex-suite/envmacros.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/envmacros.vim 2010-01-28 15:25:31 UTC (rev 1100)
+++ trunk/vimfiles/ftplugin/latex-suite/envmacros.vim 2010-01-28 23:30:56 UTC (rev 1101)
@@ -946,7 +946,7 @@
inoremap <script> <silent> <Plug>Tex_InsertItemOnNextLine <ESC>o<C-R>=Tex_InsertItem()<CR>
function! Tex_SetItemMaps()
- if !hasmapto("<Plug>Tex_InsertItem", "i")
+ if !hasmapto("<Plug>Tex_InsertItemOnThisLine", "i")
imap <buffer> <M-i> <Plug>Tex_InsertItemOnThisLine
endif
if !hasmapto("<Plug>Tex_InsertItemOnNextLine", "i")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|