yoshi314 l33t
Joined: 30 Dec 2004 Posts: 850 Location: PL
|
Posted: Wed May 03, 2006 4:33 pm Post subject: problem: vim follows single letter words with ~ |
|
|
i don't know whether it's the right place for this.
i use vim 7beta and latexsuite. this is my .vimrc
Code: | :set mouse=a
augroup MyIMAPs
au!
au VimEnter * call IMAP('--D' , '$D\left[ 0,\infty \right) $', 'tex')
au VimEnter * call IMAP('(]' , '\left[ <++> \right) $<++>', 'tex')
au VimEnter * call IMAP('[)' , '\left( <++> \right] $<++>', 'tex')
au VimEnter * call IMAP('=>' , '\RightArrow', 'tex')
au VimEnter * call IMAP('<=' , '\LeftArrow', 'tex')
au VimEnter * call IMAP('->' , '\rightarrow', 'tex')
au VimEnter * call IMAP('<-' , '\leftarrow', 'tex')
au VimEnter * call IMAP('dd' , '\downarrow', 'tex')
au VimEnter * call IMAP('uu' , '\uparrow', 'tex')
au VimEnter * call IMAP('//' , '\dfrac{<++>}{<++>}<++>', 'tex')
augroup END
| these are mostly convenient shortcuts for LaTeX.
problem is - when i type in a single letter word (like "a" , "I", etc) vim immediately follows it with ~ sign when i press spacebar.
i used vim7 and latexsuite for a week or so and i did not have this issue. this is fairly annoying. any tips?
i use vim-7.0_beta and app-vim/latexsuite-1.5.20060124 (is it newer than 1.5 ? )
edit : i tried installing latexsuite-1.5 but it did not help _________________ ~amd64
shrink your /usr/portage with squashfs+aufs |
|