Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Tab autocomplete for path not working with vim -p

Open pzoomin opened this issue 2 years ago • 1 comments

Discord username (optional)

No response

Describe the bug

Expected:

vim -p pathbeginning... <tab> should present autocomplete suggestions

Actual

vim -p pathbeginning... shows some possibilities greyed out, but on hitting <tab> suggests cli flags rather than paths.

To Reproduce

Assuming vim is installed on system,

vim beginningofpath... <tab> and you will see it work correctly

vim -p beginningofpath... <tab> and you will see not work as expected.

Expected behaviour

Using the -p flag for the vim command should allow path completion just as omitting the -p flag does. Eg vim pathstart andvim -p pathstart ` should behave the same.

Screenshots

Correct:

Screen Shot 2022-09-09 at 4 28 00 PM

Incorrect: (note that I typed sr then , but Warp changed it to sr- on hitting <tab>

Screen Shot 2022-09-09 at 4 28 14 PM

Operating System

MacOS

OS Version

12.5.1

Shell Version

zsh 5.8.1 (x86_64-apple-darwin21.0)

Warp Version

v0.2022.09.07.14.56.stable_00

Additional context

Noticed possible similar issues already filed:

  • https://github.com/warpdotdev/Warp/issues/1022
  • https://github.com/warpdotdev/Warp/issues/1403

Does this block you from using Warp daily?

No

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

No response

pzoomin avatar Sep 09 '22 20:09 pzoomin

Hi @pzoomin , I'm Danny, Support Engineer at Warp. Thanks for bringing this to our attention. I was able to repro this bug. We will post any updates here.

dannyneira avatar Sep 13 '22 21:09 dannyneira

Hey @pzoomin, quick question, are you using the experimental "Completions as you type" feature when seeing this bug?

szgupta avatar Sep 26 '22 01:09 szgupta

No, I don't believe so, but attaching a screenshot of my settings:

Screen Shot 2022-09-26 at 10 03 19 AM

pzoomin avatar Sep 26 '22 14:09 pzoomin

Thanks, that's helpful! And just to confirm, can you repro this problem on the latest version of Warp (v0.2022.09.20.08.08.stable_01)? We had some command entry bug fixes go in recently and I can't repro this on the latest version, so I'm curious if we might have fixed this in the process 🤔

szgupta avatar Sep 26 '22 22:09 szgupta

Just tried, looks like it is indeed working correctly now!

version: v0.2022.09.20.08.08.stable_01

pzoomin avatar Sep 27 '22 01:09 pzoomin

Awesome! Thanks for confirming and for your patience with this issue! :) I'll close this out for now, but feel free to re-open if you find it still doesn't work as expected

szgupta avatar Sep 27 '22 14:09 szgupta

Does not work for scp either in the current version

xandervr avatar Dec 28 '22 09:12 xandervr

Path autocompletion works for me with vim, vim -p but fails with LunarVim (a neovim IDE layer).

juanlopez4691 avatar Feb 15 '23 09:02 juanlopez4691