[Vim-latex-cvs] vimfiles/ftplugin/latex-suite compiler.vim,1.53,1.54
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-11-30 09:49:54
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv11883 Modified Files: compiler.vim Log Message: New: Provide <Plug> mappings for the various compiler maps so the user can remap to other keys if they feel like it. Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** compiler.vim 30 Nov 2003 03:41:46 -0000 1.53 --- compiler.vim 30 Nov 2003 09:49:51 -0000 1.54 *************** *** 736,744 **** return endif ! nnoremap <buffer> <Leader>ll :call Tex_RunLaTeX()<cr> ! vnoremap <buffer> <Leader>ll :call Tex_PartCompile()<cr> ! nnoremap <buffer> <Leader>lv :call Tex_ViewLaTeX()<cr> ! nnoremap <buffer> <Leader>ls :call Tex_ForwardSearchLaTeX()<cr> endfunction " }}} --- 736,750 ---- return endif ! let s:ml = exists('g:mapleader') ? g:mapleader : "\\" ! ! nnoremap <buffer> <Plug>Tex_Compile :call Tex_RunLaTeX()<cr> ! vnoremap <buffer> <Plug>Tex_Compile :call Tex_PartCompile()<cr> ! nnoremap <buffer> <Plug>Tex_View :call Tex_ViewLaTeX()<cr> ! nnoremap <buffer> <Plug>Tex_ForwardSearch :call Tex_ForwardSearchLaTeX()<cr> + call Tex_MakeMap(s:ml."ll", "<Plug>Tex_Compile", 'n', '<buffer>') + call Tex_MakeMap(s:ml."ll", "<Plug>Tex_Compile", 'v', '<buffer>') + call Tex_MakeMap(s:ml."lv", "<Plug>Tex_View", 'n', '<buffer>') + call Tex_MakeMap(s:ml."ls", "<Plug>Tex_ForwardSearch", 'ls', '<buffer>') endfunction " }}} |