Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv31134
Modified Files:
packages.vim
Log Message:
New command to extract package name from within {}.
exec "normal! /{\<CR>\"ayi}"
Old version was cutting last char under Windows.
Index: packages.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages.vim,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** packages.vim 21 Jan 2003 22:15:05 -0000 1.28
--- packages.vim 28 Feb 2003 20:21:51 -0000 1.29
***************
*** 214,218 ****
" Entering here means that the user has split the \usepackage
" across newlines. Therefore, use yank.
! exec "normal! /\[\<CR>lv/\]\<CR>h\"ay"
let options = @a
else
--- 214,218 ----
" Entering here means that the user has split the \usepackage
" across newlines. Therefore, use yank.
! exec "normal! /{\<CR>\"ayi}"
let options = @a
else
***************
*** 223,227 ****
" \usepackage{stuff,foo} into @a. Do not use matchstr() and the like
" because we can have things split across lines and such.
! exec "normal! /{\<CR>lv/}\<CR>h\"ay"
" now remove all whitespace from @a. We need to remove \n and \r
--- 223,227 ----
" \usepackage{stuff,foo} into @a. Do not use matchstr() and the like
" because we can have things split across lines and such.
! exec "normal! /{\<CR>\"ayi}"
" now remove all whitespace from @a. We need to remove \n and \r
|