works in gvim but not in vim

Asked by Christoph

ultisnips works with gvim, but not with vim on the console. I made shure
vim does support python, and :UltiSnipsEdit works. I use pathogen for installing
plugins. I even tried to remove all plugins but UltiSnips. But tab still only advances my
cursor to the right when using vim.
I even tried different terminals. No luck either.
Do you have any hints where to look ?

Question information

Language:
English Edit question
Status:
Solved
For:
UltiSnips Edit question
Assignee:
No assignee Edit question
Solved by:
Christoph
Solved:
Last query:
Last reply:
Revision history for this message
SirVer (sirver) said :
#1

>ultisnips works with gvim, but not with vim on the console. I made shure
>vim does support python, and :UltiSnipsEdit works. I use pathogen for installing
>plugins. I even tried to remove all plugins but UltiSnips. But tab still only advances my cursor to the right when using vim.
Uhh. That is really strange. I doubt it has something to do with
UltiSnips tough. Are you sure that you are using the same vim version?
Are you sure that you do not have some important configuration in gvimrc
instead of vimrc? You can start Vim with -V, maybe this gives some
information. Also make sure to read :help --startuptime and :help
slow-start. It gives you the possibility to trace which files are
sourced. You can compare the vim start with the gvim start.

Good luck!

Revision history for this message
Christoph (k-c4-a) said :
#2

problem solved. It was the "set paste" in my .vimrc.
Thanks for the effort helping my and this great plugin.

Revision history for this message
FvD (frans-southshield) said :
#3

@Christoph - can you expand a little on how the "set paste" in your .vimrc was causing a problem? I have exactly the same issues after installing UltiSnip (works in gvim, but not in vim). I do not have any "set paste" in my .vimrc though ... And I am as mistified as you once were on why it will work in one but not in the other.

Revision history for this message
Christoph (k-c4-a) said :
#4

just Try ":set nopaste" in vim and see if UlitSnips works then.
Maybe you have a ":set paste" in /etcvimrc or somewhere else ?