[Vim-latex-cvs] SF.net SVN: vim-latex:[1109] trunk/vimfiles/ftplugin/latex-suite
Brought to you by:
srinathava,
tmaas
From: <tm...@us...> - 2010-10-07 20:19:29
|
Revision: 1109 http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1109&view=rev Author: tmaas Date: 2010-10-07 20:19:23 +0000 (Thu, 07 Oct 2010) Log Message: ----------- fix setting mapleader to space Patch by Mika Fischer <mik...@zo...> Modified Paths: -------------- trunk/vimfiles/ftplugin/latex-suite/compiler.vim trunk/vimfiles/ftplugin/latex-suite/folding.vim trunk/vimfiles/ftplugin/latex-suite/main.vim Modified: trunk/vimfiles/ftplugin/latex-suite/compiler.vim =================================================================== --- trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2010-10-02 16:55:39 UTC (rev 1108) +++ trunk/vimfiles/ftplugin/latex-suite/compiler.vim 2010-10-07 20:19:23 UTC (rev 1109) @@ -842,7 +842,7 @@ if exists('b:Tex_doneCompilerMaps') return endif - let s:ml = exists('g:mapleader') ? g:mapleader : "\\" + let s:ml = '<Leader>' nnoremap <buffer> <Plug>Tex_Compile :call Tex_RunLaTeX()<cr> vnoremap <buffer> <Plug>Tex_Compile :call Tex_PartCompile()<cr> Modified: trunk/vimfiles/ftplugin/latex-suite/folding.vim =================================================================== --- trunk/vimfiles/ftplugin/latex-suite/folding.vim 2010-10-02 16:55:39 UTC (rev 1108) +++ trunk/vimfiles/ftplugin/latex-suite/folding.vim 2010-10-07 20:19:23 UTC (rev 1109) @@ -30,7 +30,7 @@ call MakeTexFolds(0) endif - let s:ml = exists('g:mapleader') ? g:mapleader : "\\" + let s:ml = '<Leader>' call Tex_MakeMap(s:ml."rf", "<Plug>Tex_RefreshFolds", 'n', '<silent> <buffer>') Modified: trunk/vimfiles/ftplugin/latex-suite/main.vim =================================================================== --- trunk/vimfiles/ftplugin/latex-suite/main.vim 2010-10-02 16:55:39 UTC (rev 1108) +++ trunk/vimfiles/ftplugin/latex-suite/main.vim 2010-10-07 20:19:23 UTC (rev 1109) @@ -41,7 +41,7 @@ " ============================================================================== " {{{ " calculate the mapleader character. -let s:ml = exists('g:mapleader') ? g:mapleader : '\' +let s:ml = '<Leader>' if !exists('s:doneMappings') let s:doneMappings = 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |