Monday, October 6, 2014

Re: Cannot make snippet plugin working...

On Mon, 6 Oct 2014 13:38:12 -0500
Eric Christopherson <echristopherson@gmail.com> wrote:

> On Mon, Oct 06, 2014, Gevisz wrote:
> > Nevertheless, my test snippet that is just intended
> > to expand "for<C-S>" to "for test" does not work.
>
> Are you running Vim in a terminal? ^S is special in Unix terminals; by
> default it sends a signal that you'd like terminal output to stop
> temporarily (to be resumed when you press ^Q). If running in a terminal,
> you need to run
>
> stty -ixon
>
> (e.g. in your .bashrc) to make the terminal treat ^S like any other
> control-key combination.
>
> OTOH, if you're running gVim, that shouldn't be an issue in the first
> place.

I actually use gVim. Sorry for not indicating this explicitly.

However, thank you for information about ^S and ^Q in terminal.

> > The for.spt file is put in both ~/.vim/snippets/c
> > and ~/.vim/snippets/global directories. In .vimrc
> > is added
> > let snippet_use_global=1
>
> I see that the documentation does say to use that, but I think you might
> have to put g: before snippet_use_global=1.

It does not help. And I also tried a filetype-specific setup.


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment