Skip to content

Commit

Permalink
fix setting mapleader to space
Browse files Browse the repository at this point in the history
Patch by Mika Fischer <mika.fischer@zoopnet.de>
  • Loading branch information
tmaas committed Oct 7, 2010
1 parent a9a9cdd commit 909ff21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vimfiles/ftplugin/latex-suite/compiler.vim
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion vimfiles/ftplugin/latex-suite/folding.vim
Expand Up @@ -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>')

Expand Down
2 changes: 1 addition & 1 deletion vimfiles/ftplugin/latex-suite/main.vim
Expand Up @@ -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
Expand Down

0 comments on commit 909ff21

Please sign in to comment.