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

Provide vim #368

Open
bernhardmgruber opened this issue Jul 23, 2024 · 6 comments
Open

Provide vim #368

bernhardmgruber opened this issue Jul 23, 2024 · 6 comments

Comments

@bernhardmgruber
Copy link
Contributor

I use the devcontainers to compile and run CCCL benchmarks on our internal cluster. Since VSCode is sometimes troublesome I also need to work on the command line. It would help me immensely if the vim command could be provided. It was already a pain to learn a few basic vim commands, so please don't let me repreat this horror with vi. Thank you!

@bernhardmgruber bernhardmgruber changed the title Install vim Provide vim Jul 23, 2024
@bernhardmgruber
Copy link
Contributor Author

Friendly reminder :)

@msarahan
Copy link
Contributor

msarahan commented Sep 3, 2024

Maybe vim-tiny would be adequate? https://www.baeldung.com/linux/vim-tiny-properties

@trxcllnt
Copy link
Collaborator

trxcllnt commented Sep 3, 2024

The devcontainers/features/common-utils feature installs vim-tiny, and it's available at /usr/bin/vim.tiny. Does that work for you @bernhardmgruber?

@bernhardmgruber
Copy link
Contributor Author

Thank you for that suggestion! I tried it briefly and noticed it lacks syntax highlighting, but otherwise works. I will give it a try for some time. Thx for the suggestion!

@trxcllnt
Copy link
Collaborator

trxcllnt commented Sep 5, 2024

@bernhardmgruber run CCCL benchmarks on our internal cluster. Since VSCode is sometimes troublesome

Is this a slurm cluster? If so, I have a script that makes working with slurm clusters as seamless as normal VSCode Remote SSH (by salloc'ing a compute node and automatically logging in to it directly when it's ready).

@bernhardmgruber
Copy link
Contributor Author

So I tried vim.tiny for a few times, but found myself going back to install vim in the container each time I would launch a new one. So my request remains active, but it's not a big issue to install it each time, if you deem the extra weight not worth the benefit.

Is this a slurm cluster?

Discussed offline a while back.

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

3 participants