tomekfranek
tomekfranek

Reputation: 7099

How to disable TAB completion for tags in Vim?

I created tags file using ctags.

Now when I`m trying to use TAB for text completion from buffers I also see all tags in my popup.

How to prevent that and not show tags in completion popup?

I`m using SuperTab, without any options specified.

Upvotes: 2

Views: 1129

Answers (1)

kev
kev

Reputation: 161664

You can try this setting:

:set cpt-=t

The default value of complete option is .,w,b,u,t,i, which means to scan:

  1. the current buffer
  2. buffers in other windows
  3. other loaded buffers
  4. unloaded buffers
  5. tags
  6. included files

Upvotes: 8

Related Questions