Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim extension is not working #708

Closed
codeurge opened this issue May 21, 2019 · 14 comments
Closed

Vim extension is not working #708

codeurge opened this issue May 21, 2019 · 14 comments

Comments

@codeurge
Copy link

codeurge commented May 21, 2019

  • code-server version: code-server v1.1119-vsc1.33.1
  • OS Version: DigitalOcean Ubuntu 18.04
  • Extension: VSCodeVim

Description

After installing the VSCodeVim extension, I'm unable to use vim keymappings. I tried toggling vim mode as well, to find the error command 'toggleVim' not found.

I've tried installing extension versions 1.4.0, 1.8.0, and 1.0.8 as per indicated in previous similar issues but am not able to get it to work at all. Any version of code-server in particular I should try downgrading to?

Steps to Reproduce

  1. Install code-server v1.1119-vsc1.33.1
  2. Install VSCodeVim (1.4.0)
  3. Try Vim Keybindings / Toggle Vim Mode
@deansheather
Copy link
Member

Could not reproduce with same code-server and VSCodeVim versions. I was able to navigate around the file with vim keybindings and toggle vim mode through the command palette.

@fangli
Copy link

fangli commented May 24, 2019

Try run the browser in incognito mode.
Probably some chrome plugins mess up the keybindings.

@alanpog
Copy link

alanpog commented May 29, 2019

I've got the same issue, similar setup. An additional piece of info: whenever I try to use Vim with : or / I get an "Activating Extensions" briefly loading on the bottom bar, then disappears. Also, I can't see other extensions loaded, like pretty either. Though they are all there on the extensions tab showing as Enabled (tried to disbale en re-enable, no luck).

@alanpog
Copy link

alanpog commented May 30, 2019

Used --skipsync and installed Vim extension fresh, on a new install, then it worked. It was syncing my extensions through sshcode before.

@codeurge
Copy link
Author

I wasn’t able to get this working, but am also not going to be using the project in the near future as it was part of a lost battle in discussion at work.

Thanks for the awesome work here, it’s really impressive.

@vnijs
Copy link

vnijs commented Dec 18, 2019

Any chance this could re-opened? Or should I open a new issue?

Running 2.1692-vsc1.39.2 in a docker container (Ubuntu 18.04) with VSCodeVim 1.12.2

image

image

@fwcd
Copy link

fwcd commented Jun 21, 2020

This is the issue I get when trying to launch VSCodeVim:

image

@code-asher
Copy link
Member

@fwcd Is that Firefox? The vim extension uses regular expressions Firefox doesn't support yet, so for now the only workaround is to use Chrome.

@nhooyr
Copy link
Contributor

nhooyr commented Jun 23, 2020

Let's add this to the FAQ.

@DAddYE
Copy link

DAddYE commented Jul 13, 2020

Quick question, if the issue is with Safari, why in online.microsoft.com vim works quite well? Do they use a different one?

@code-asher
Copy link
Member

We run it in the browser while they probably run it on the server. The issue we had with running it on the server is that depending on your connection it can get rather laggy because it has to communicate to the server and back for every keystroke. Perhaps we should have a way to force it to load on the server though? Or keep it on the server by default and have a way to make it run in the browser?

@DAddYE
Copy link

DAddYE commented Jul 13, 2020

We run it in the browser while they probably run it on the server. The issue we had with running it on the server is that depending on your connection it can get rather laggy because it has to communicate to the server and back for every keystroke. Perhaps we should have a way to force it to load on the server though? Or keep it on the server by default and have a way to make it run in the browser?

Yup I noticed is a little slow, but I agree that running it on the server can be a good choice if you have a good connection or better, if code-server is in your LAN.

Do you have a document or instructions to force it on the server?

Thank you!

@code-asher
Copy link
Member

Nope, unfortunately at the moment it's hard-coded so we'd need to make that customizable.

@shritesh
Copy link

This is being fixed upstream VSCodeVim/Vim#3525 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants