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

Epic: Vim as an explicit IDE preference #9323

Open
loujaybee opened this issue Apr 14, 2022 · 17 comments
Open

Epic: Vim as an explicit IDE preference #9323

loujaybee opened this issue Apr 14, 2022 · 17 comments
Labels
aspect: growth Issues relating to product growth initiatives component: dashboard editor: vim gitpod for gitpod For tagging issues that will improve Gitpod for internal Gitpod use. meta: never-stale This issue can never become stale team: team-experience type: epic

Comments

@loujaybee
Copy link
Member

loujaybee commented Apr 14, 2022

We currently have access to workspaces via SSH, however adding Vim would make it a first-class citizen as part of the Gitpod experience. Alongside this we should consider what we can do to ensure things like dotfiles are also setup, and that workspaces potentially already load with vim + other similar tools such as tmux. This would support experiments such as #6707 where vim configuration can be presented to the user as part of onboarding.

Relates to:

@gtsiolis
Copy link
Contributor

gtsiolis commented May 30, 2022

@loujaybee I haven't researched this in depth about this yet, but here are some early designs on what I had in mind for #7713 (comment). Cc @josepjaume

Editors 🅰️ Editors 🅱️ Workspace Start
Editors Editors StartDropdown

@loujaybee loujaybee changed the title Vim as an explicit IDE preference Edit: Vim as an explicit IDE preference Jun 1, 2022
@loujaybee loujaybee changed the title Edit: Vim as an explicit IDE preference Epic: Vim as an explicit IDE preference Jun 6, 2022
@josepjaume
Copy link

I love this @gtsiolis! I would personally go for the first option for consistency with the rest of the IDE options :). Can't wait to be able to use this!

@fcsonline
Copy link

The first option looks great! And when the workspace starts, the user would be able to choose an application to open the ssh links instead Vscode.

@loujaybee
Copy link
Member Author

@fcsonline - what application(s) are you opening for your local terminal, currently? Do you open just one, or multiple applications (like your terminal) on desktop? Having this option certainly removes some friction for command-line users, but I'm also curious about what other desktop applications you're configuring outside of the IDE / editor itself.

@fcsonline
Copy link

Right now none, but this would let me to associate a script to open a Terminal and enter to the Gitpod automatically. It would awesome.

@axonasif
Copy link
Member

axonasif commented Jun 8, 2022

Right now none, but this would let me to associate a script to open a Terminal and enter to the Gitpod automatically. It would awesome.

That indeed would be very awesome!
I'm just thinking, in order for such a thing to work, gitpod will need to use a trigger a custom URL scheme registered on the users local machine to pass the ball to the user for deciding what to do 🤔

@axonasif
Copy link
Member

axonasif commented Jun 8, 2022

@loujaybee: alongside this we should consider what we can do to ensure things like dotfiles are also setup.

I think this is very relevant for ensuring a seamless experience as with VSCODE: #7592
You definitely don't want to wait for your (neo)vim setup or anything else to be finalized before your workspace can start.

While #8716 could be an alternative for this case, so users could just mount their pre-built .config/X, .cache/X and etc. dirs across workspace.

@fcsonline
Copy link

Right now none, but this would let me to associate a script to open a Terminal and enter to the Gitpod automatically. It would awesome.

That indeed would be very awesome! I'm just thinking, in order for such a thing to work, gitpod will need to use a trigger a custom URL scheme registered on the users local machine to pass the ball to the user for deciding what to do 🤔

Exactly. With a custom schema, we would be able to assign an application/script to do whatever. I would great!

@andrew-farries andrew-farries added the gitpod for gitpod For tagging issues that will improve Gitpod for internal Gitpod use. label Sep 1, 2022
@david-bakin
Copy link

As an emacs user I feel discriminated against. 😭

@axonasif
Copy link
Member

Wanted to share a (unofficial) dotfiles based solution for this in case someone finds it useful for now.

gitpod_ssh_flow.compressed.mp4

@stale
Copy link

stale bot commented Mar 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Mar 18, 2023
@sigmaSd
Copy link

sigmaSd commented Mar 18, 2023

Not stale

@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Mar 18, 2023
@mustard-mh mustard-mh added the meta: never-stale This issue can never become stale label Mar 28, 2023
@henit-chobisa
Copy link
Contributor

Gitpod-NVIM from Your Menubar ✌️

Building upon @axonasif's awesome dotsh config! 🧡

demo.vim.gitpod2.mov

@PabloScolpino
Copy link

Hi!

It would complement this feature to have the generated SSH command include the list of port forwards defined in the .gitpod.yml file. Not sure if this was considered, but since the default is going to be the SSH connection string dialog, and nothing else is going to be launched in the user's workstation, port translation would need to be addressed.

@axonasif
Copy link
Member

Hi @PabloScolpino, I think you're looking for https://www.gitpod.io/blog/local-app
If you keep the local-companion-app program running in the background, it will take care of port forwarding for you.

Also, shameless plug: A wrapper around SSH for port forwarding: https://github.com/axonasif/gssh

@loujaybee
Copy link
Member Author

Not entirely resolving this issue, but definitely related:

https://www.gitpod.io/changelog/code-in-the-terminal-without-leaving-your-browser!

Drop any feedback here: #17724

@jwpjrdev
Copy link
Contributor

jwpjrdev commented Sep 1, 2023

@loujaybee came here to say that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspect: growth Issues relating to product growth initiatives component: dashboard editor: vim gitpod for gitpod For tagging issues that will improve Gitpod for internal Gitpod use. meta: never-stale This issue can never become stale team: team-experience type: epic
Projects
Status: No status
Development

No branches or pull requests