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

Question: Any plans to port this to VSC? #1063

Open
compostbrain opened this issue Apr 23, 2018 · 22 comments
Open

Question: Any plans to port this to VSC? #1063

compostbrain opened this issue Apr 23, 2018 · 22 comments
Labels

Comments

@compostbrain
Copy link

I would like to have this available in Visual Studio Code. There is a Vim emulation extension but it seems to be missing some features I enjoy in this package.

@t9md
Copy link
Owner

t9md commented Apr 24, 2018

Currently no. But I think if you think vmp is better tha VsCodeVim, putting that impression to them might lead them to do more research on vmp. Which is very honor to me as one vim-plugin author among tons of similar projects.

@t9md t9md added the Q&A label Apr 24, 2018
@admosity
Copy link

This has been the best vim implementation I have ever used. I believe this particular vim implementation should be abstracted so that it can be consumed on any JS based editor. I keep atom around for the sheer power and productivity. Thanks @t9md for this gift!

image

@t9md
Copy link
Owner

t9md commented Apr 27, 2018

Thanks, and what you've suggested is just jordan suggested long before.

#182

Theoretically it's possible, and what vmp shines is each operator/motion is very declaratively defined which might make editor-agnostic abstraction easy.
But still vmp greatly depends on Atom's super granular APIs.
And I myself am happy with Atom. Feeling nor particular motivation to move to VsCode.
If I forced to use VSCode, then I might consider to implement it on top of VSCode or collaborate with already existing VSCodeVim.

@calebmeyer
Copy link

The problem with VS Code (and unfortunately with VS Code Vim) is that there's not enough information in the public API to enable a fully compatible (or even as good as atom's) vim extension. See microsoft/vscode#22276 (comment) for more details on this. Because of the architecture of VS Code, extensions cannot know some of the things the core does.

I agree it would be cool if vim-mode-plus were editor agnostic, but I don't think VS Code will (soon, or maybe ever) support all the API needed to do it.

@cquiroz
Copy link

cquiroz commented May 27, 2018

This is a very good discussion. For me, it would be better to use vscode as scala integration is better. But, vmp is so good that it keeps me firmly in Atom

Thanks @t9md for the best vim emulation I've used

@bennypowers
Copy link
Contributor

VMP is a beast. I'm totally hooked. Thank you @t9md for producing this excellent software.

With Facebook shutting down nuclide and Atom-IDE, and with VSCode growing in popularity, I'm worried that a day might come in the future when atom is no longer relevant, and I'll have to give up on c o i p, etc., which have become integral to my workflow.

I hope work on abstracting the core of VMP will succeed so that many more users can enjoy these features.

@t9md
Copy link
Owner

t9md commented Dec 20, 2018

Oh, I didn’t know FB shut down nuclide.
Surprised, and sad.
For me, I’m really looking forward to see xray editor become generally available.
Hopefully vmp works on top of xray with slight modifications.
In case that will not happen and Atom is also decided to shut down, then I think I can create vmp for VSCode!!

@calebmeyer
Copy link

Yeah, I'd switch to xray in a heartbeat if it's as fast as what's out there make it seem. It would be the best of atom and sublime text.

I don't think atom will be shut down any time soon, per the community manager, Lee: https://discuss.atom.io/t/the-microsoft-intervention/55744

If it does get shut down, I hope VS Code will be able to support all the cool features of VMP that aren't in vscodevim

  • additional text objects like inner entire (y i e is 100% my most used shortcut, so much nicer than ggVGy and leaves your cursor in place)
  • Flash on changes made is so nice
  • Occurrences are awesome too

@deepsweet
Copy link

Lack of subword movements in VSCode is so critical for me, as well as occurrences. But I personally have no choice because I work a lot with TypeScript recently and VSCode works just flawlessly with it.

Would love to see VMP ported to VSCode ❤️

@admosity
Copy link

admosity commented Jan 2, 2019

It's unfortunate that atom-ide is no longer being supported by Facebook. That said I've found a combination that gives me close to a VSCode type experience with TypeScript. Hope this helps out!

Install the following plugins:

atom-ide
ide-typescript
atom-typescript
language-typescript
intentions

Hover:
image

Using ctrl+space:
image

Using vim-mode-plus gd (goto definition):
image

Adding the following keyboard shortcut gives the cmd-. quick suggestions/imports from VSCode (mainly because I am so used to using ctrl-n and ctrl-p to navigate the options):

'atom-text-editor:not([mini])':
  'cmd-.': 'diagnostics:show-actions-at-position',

image

EDIT: Looks like I had these configured as well. Using gh I can get typescript hover functionality.

'atom-text-editor.vim-mode-plus.normal-mode':

  ###
  TYPESCRIPT
  ###
  'g h': 'typescript:show-tooltip'
  'g d': 'typescript:go-to-declaration'

@Spirarel
Copy link

Spirarel commented Aug 28, 2019

For me, I’m really looking forward to see xray editor become generally available.
Hopefully vmp works on top of xray with slight modifications.
In case that will not happen and Atom is also decided to shut down, then I think I can create vmp for VSCode!!

@t9md, Github has decided not to move forward on x-ray in any capacity 😞

@mauricecruz
Copy link

I'm still using Atom ... but I fear that they're going to shut it down in the near future. Development has slowed significantly in the last half of the year.

image

@t9md
Copy link
Owner

t9md commented Oct 31, 2019

Is that Atom's activity?

@Spirarel
Copy link

https://github.com/atom/atom/graphs/commit-activity

@mauricecruz
Copy link

Yes @t9md. Thanks for posting the link @Spirarel.

@kerwin6182828
Copy link

xray

so love you

@bennypowers
Copy link
Contributor

Note for anyone coming here from Google, if you have atom-ide-ui and atom-ide-typescript, but not atom-typescript installed, you can bind g d to hyperclick word under cursor with:

'atom-text-editor.vim-mode-plus.normal-mode':
  'g d':      'hyperclick:confirm-cursor'
  'g h':      'datatip:toggle'

@bennypowers
Copy link
Contributor

this might be of interest to the discussion

https://theia-ide.org/

@bennypowers
Copy link
Contributor

Also of interest is https://github.com/asvetliakov/vscode-neovim which bypasses type bindings

@keevan
Copy link

keevan commented Jun 8, 2022

For what it's worth, github announced the sunsetting of Atom: https://github.blog/2022-06-08-sunsetting-atom/

@t9md
Copy link
Owner

t9md commented Jun 8, 2022

@keevan Thank you for sharing this. It is sad. very sad.

@saadq
Copy link

saadq commented Jun 15, 2022

@keevan Thank you for sharing this. It is sad. very sad.

Indeed. Thanks so much for creating this plugin though, it was by far the best Vim integration I've used in any editor/IDE by far. Atom + vim-mode-plus will be missed.

The bright side is that some Atom devs are working on a new editor called Zed (https://zed.dev). Hoping that will be a good successor

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

No branches or pull requests