1

By default <c-x><c-o> opens all citations/references in vimtex, then pressing tab goes over all citations/references backwards. How do I set plugins that make tab go forward? I tried but couldn't find.

This is what :verbose imap <tab> says

s  <Tab>       * <Esc>:call UltiSnips#ExpandSnippet()<CR>
    Last set from ~/.vim/plugged/ultisnips/autoload/UltiSnips/map_keys.vim line 62
guntbert
  • 1,245
  • 1
  • 13
  • 27
mahbubweb
  • 602
  • 5
  • 11
  • 1
    That's quite possibly not a Vimtex feature but an integration with another autocomplete plug-in... What does :verbose imap <Tab> show you? Please [edit] the question to include that information. Any relevant snippet from your vimrc that might be useful too. Thanks! – filbranden Sep 09 '20 at 10:36
  • @filbranden Added that info. – mahbubweb Sep 09 '20 at 15:06
  • 1
    Turns out the behaviour is from supertab. Got it now. Thanks! – mahbubweb Sep 09 '20 at 15:29
  • If you found the answer for your question, please post a self-answer. Thanks! (BTW, some plug-ins allow you to configure the direction in which they go through the list, it's possible that Supertab also allows that.) – filbranden Sep 09 '20 at 17:08

1 Answers1

1

After suggestion from a comment I checked if this behaviour was from the autocomplete plugin supertab that I've installed, and sure enough it was. So to change the direction I added the following to my .vimrc which makes <Tab> go forward:

let g:SuperTabDefaultCompletionType = "<c-n>"
mahbubweb
  • 602
  • 5
  • 11