[Vim-latex-cvs] vimfiles/plugin imaps.vim,1.24,1.25
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-01-08 23:50:16
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv6548 Modified Files: imaps.vim Log Message: - always use the blackhole register to do yanks/substitutions etc, otherwise the user's unnamed register gets eaten up. Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** imaps.vim 7 Jan 2003 20:53:38 -0000 1.24 --- imaps.vim 8 Jan 2003 23:50:12 -0000 1.25 *************** *** 328,332 **** " Old trick: insert and delete a character to get the same behavior at " start, middle, or end of line and on empty lines. ! let text = initial . "X\<C-\>\<C-N>:call IMAP_Mark('set')\<CR>s" let text = text . template . final let text = text . "\<C-\>\<C-N>:call IMAP_Mark('go')\<CR>" --- 328,332 ---- " Old trick: insert and delete a character to get the same behavior at " start, middle, or end of line and on empty lines. ! let text = initial . "X\<C-\>\<C-N>:call IMAP_Mark('set')\<CR>\"_s" let text = text . template . final let text = text . "\<C-\>\<C-N>:call IMAP_Mark('go')\<CR>" |