Skip to content
Browse files

fix setting mapleader to space

Patch by Mika Fischer <mika.fischer@zoopnet.de>
  • Loading branch information...
1 parent a9a9cdd commit 909ff218a30b1d33139854db68f041fc932c380d tmaas committed Oct 7, 2010
View
2 vimfiles/ftplugin/latex-suite/compiler.vim
@@ -842,7 +842,7 @@ function! <SID>Tex_SetCompilerMaps()
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>
View
2 vimfiles/ftplugin/latex-suite/folding.vim
@@ -30,7 +30,7 @@ function! Tex_SetFoldOptions()
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>')
View
2 vimfiles/ftplugin/latex-suite/main.vim
@@ -41,7 +41,7 @@ imap <silent> <script> <C-o><plug> <Nop>
" ==============================================================================
" {{{
" calculate the mapleader character.
-let s:ml = exists('g:mapleader') ? g:mapleader : '\'
+let s:ml = '<Leader>'
if !exists('s:doneMappings')
let s:doneMappings = 1

0 comments on commit 909ff21

Please sign in to comment.
Something went wrong with that request. Please try again.