3

When used locally on arch I can easily use tab for auto completion in vim when e.g. filling in a path with deoplete. If I SSH to this computer from my laptop then tab still works for completion. But if I SSH from this computer to an Ubuntu 18.04 (or any version I think) machine then when I type tab it simply inserts a tab. What is causing this issue and how can I fix it so I can use tab over SSH when connected to an Ubuntu server?

All machines I mentioned are also running the exact same vimrc and are all using neovim.

10
  • Do the users also have the same ~/.config/nvim/init.vim file?
    – Kusalananda
    Sep 9, 2019 at 12:15
  • @Kusalananda Yes, they're all the same.
    – Levi H
    Sep 9, 2019 at 12:22
  • Did you need to install any additional plugins or software to use auto completions? If so, have you installed it on the remote machine? Sep 9, 2019 at 14:38
  • @JohnLeuenhagen yes all of the plugins needed are installed on the remote machine. The vim installations are identical
    – Levi H
    Sep 9, 2019 at 16:09
  • 1
    In that case, you should update your question to include enough information to demonstrate the problem - such as the exact neovim version, and the contents of your config file(s) - and remove the bits about SSH.
    – JigglyNaga
    Sep 17, 2019 at 9:28

1 Answer 1

0

I sometime have this kind of behaviour when I have "exotic" TERM variable environment. Can you try to ssh, then export TERM=xterm, and then try again the tab in neovim ?

(I would have added this as a comment but don't have enough internet points yet)

1
  • That makes no difference. If you're getting problems with exotic TERMs you may want to add the terminfo file, you can generate it for your terminal via "infocmp > myterm.terminfo", then import it with "tic -s -x myterm.terminfo"
    – Levi H
    Sep 20, 2019 at 9:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .