brennier / quicktex

A vim plugin for writing Latex quickly.
http://brennier.com/projects
MIT License
116 stars 17 forks source link

quicktex doesn't trigger #9

Open mayl opened 7 years ago

mayl commented 7 years ago

I installed quicktex with vundle, but I can't get the expansion to trigger in a .tex file.

So far, I have tried both with and without the README.md dictionaries in my .vimrc. Tried with and without manually setting g:quicktex_trigger and g:quicktex_usedefault enabled and disabled. Have tried uninstalling all other plugins to eliminate quicktex conflicting with something else.

So I'm stumped. What am I doing wrong?

brennier commented 7 years ago

Okay, delete all the dictionaries and settings that you've set so far and try setting the trigger to tab instead (let g:quicktex_trigger = "\t"). You can test if works by using any of the keywords found in the README dictionary. If that doesn't work, then this is quite strange.

Glamhoth commented 7 years ago

Same here, it just doesn't trigger, even with tab.

edit: Tried on clean vim, nothing changed.

brennier commented 7 years ago

That is very strange. Could you let me know the output of vim --version?

Glamhoth commented 7 years ago

vim.txt

It's from my windows machine at work, but it doesn't seem to work either.

xxzozaxx commented 7 years ago

me too

xxzozaxx commented 7 years ago

my vim is the last version

Glamhoth commented 7 years ago

Here's vim on Arch Linux (hardened kernel 4.13.9.a-1)

vim_linux.txt

xxzozaxx commented 7 years ago

let g:quicktex_trigger = "\t"

its work , thanks @brennier @Glamhoth : try to set the variable

brennier commented 7 years ago

I do know that some plugins tend to "override" the mappings of QuickTex. The plugin auto-pairs is definitely an offender. I also know that QuickTex requires Vim 7.8 or above (for dictionary support). Other than that, I'm not entirely sure what the problem could be.