Questions tagged [supertab]

34 questions
107
votes
2 answers

How can I insert a real tab character in Vim?

When I have my vimrc here: set tabstop=2 set shiftwidth=2 set softtabstop=2 set expandtab set smarttab And I have supertab plugin installed. Whenever I am in insert mode I press tab, it shows the auto completion, but sometimes I would like to…
Samnang
  • 5,536
  • 6
  • 35
  • 47
11
votes
1 answer

Why does SuperTab output self when I press ?

The Setup In my .vimrc I have the following lines: " .vimrc let g:virtualenv_directory="/Users/Kit/Development/virtualenv" Then in ~/.vim/ftplugin/python/virtualenv.vim I have these: py << EOF import os.path import sys import vim if 'VIRTUAL_ENV'…
Kit
  • 30,365
  • 39
  • 105
  • 149
10
votes
2 answers

How to select SuperTab completion suggestion without creating new line?

When I hit Enter on SuperTab's popup suggestion, it automatically creates a new line at the end of the inserted keyword. Is it possible to select an option in the SuperTab popup without creating a new line? More specifically, is there a way for me…
Marco
  • 4,345
  • 6
  • 43
  • 77
9
votes
2 answers

How can I use the Tab key to indent in vim with SuperTab enabled?

I've just enabled SuperTab in vim, and if I try to indent a blank line, SuperTab is attempting to insert strings. What I'd like, I guess, would be to have SuperTab offer completions only if there is non-whitespace to the left of the cursor. I don't…
Zack
  • 365
  • 1
  • 7
8
votes
5 answers

Vim running slow with LaTeX files

I'm using Vim with a bunch of plugins (pathogen, ctags, snipmate, supertab, ...), and everything works fine for all kinds of file extensions. However, when I'm try to edit .tex files it presents two problems which seem related. First, Vim starts to…
Jonatas Eduardo
  • 655
  • 2
  • 9
  • 17
6
votes
1 answer

Vim langmap breaks plugin (bépo)

I am using a bépo keymap (http://bepo.fr) and seeking the perfect vim mapping. So far I used a long list of noremap, but for many binding (for exemple, the motion aw or Ctrl+r), the first keystroke is well remaped but not the others, I reckon it's…
Dettorer
  • 1,247
  • 1
  • 8
  • 26
5
votes
1 answer

Vim supertab and jedi-vim

Posting as a follow up to How to check if SuperTab and jedi-vim is activated? and have done what Ingo Karkat proposed. Now I wonder what is broken and how I fix it. Here is the output: :verbose imap i SuperTabForward …
JDW
  • 175
  • 3
  • 12
5
votes
1 answer

How to check if SuperTab and jedi-vim is activated?

As the title states, how do I check if a plugin is loaded? When I hit tab (for SuperTab) all I get is the ordinary character "tab" inserted in my file and when I hit ctrl-space I just get thrown out of insert-mode (same behavior as hitting ESC)
JDW
  • 175
  • 3
  • 12
3
votes
2 answers

vim supertab, toward a best way to insert a tab

I really like the supertab plugin. Reaching is a bit too long and mapping it to tab gives me a better workflow. However, sometime I just want to insert a regular tab and for this I need to insert a space first, i.e. foobar.…
nowox
  • 25,978
  • 39
  • 143
  • 293
3
votes
1 answer

Linux VIM : Omnicppcomplete + supertab use bash color theme

I use vim with omnicppcomplete and supertab for programming. The dropdown window, which shows possible completions is like pink. How can i change the color for example to my personal bash color theme?
Ubuntix
  • 324
  • 4
  • 15
2
votes
1 answer

Error: Template parse errors: 'super-tab-button' is not a known element in ionic 3

i tried using super tab in angular ionic 3, but i get error, i already declare supertab, but it is not work ERROR Error: Uncaught (in promise): Error: Template parse errors: 'super-tab-button' is not a known element: 1. If 'super-tab-button' is an…
Mustika Farma
  • 435
  • 3
  • 10
2
votes
0 answers

Vim Supertab: Pressing tab after dot doesn't complete

Supertab works correctly in most cases. I am writing a simple line of java Integer.toHexString. This has appeared in other parts of the file. If I press tab after In, it gives me Integer correctly. If I press tab after to (another line), it gives me…
pspencil
  • 295
  • 1
  • 10
1
vote
1 answer

Change omnicomplete on the fly using supertab

I use the supertab plugin in vim. These are my default settings (in _vimrc) let g:SuperTabDefaultCompletionType = '' -->(dictionary) let g:SuperTabRetainCompletionDuration = "completion" let g:SuperTabLongestEnhanced = 1 let…
Reman
  • 7,931
  • 11
  • 55
  • 97
1
vote
1 answer

ionic 4 Super-tabs iOS tab changing issue

I am using super-tab in home page of my ionic app. The problem is whenever i navigate from any tab to another child page and return back the first tab content showing. But tab indicator showing correct tab. The problem is only with iOS devices. It…
danial
  • 75
  • 9
1
vote
0 answers

Supertab shall not be used on my abbreviation settings

I have installed Supertab in vim. Now I face the circumstance that my abbreviations does not work as normal. Which would be: I write the abbreviation atn and it expands to @todo-next. Now I have to hit Tab and Enter, so that the expandation works.…
jerik
  • 5,714
  • 8
  • 41
  • 80
1
2 3