sindresorhus

env-editor

Get metadata on the default editor or a specific editor

by sindresorhus

JavaScript

JavaScript97.7%
TypeScript2.3%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
SijanC147

Setting the editor setting when using to which is the default binary that is linked when installing insiders, still uses vscode to open the file. A simple workaround for this is to symlink the binary to then using as the binary option to open the file. This seems to be some conflict in the code, when trying to resolve the editor, as using a direct path still opens the file with visual studio code, maybe it gets confused just because the binary starts with ? Happy to make a PR to fix this and add support for insiders when I get some time, just wanted to check this with you first 🙂 Thank you for your work.

SijanC147 · 1y ago
hollowdoor

I'm using Ubuntu 17.10. Running vim on the terminal issues . Instead vim runs by inputing the vi command. I don't know if this is a special default for Ubuntu. I haven't personally changed anything in my environment that would make vim not be a command.

hollowdoor · 1y ago
tandibar

My personal preference is VSCodium, the "Free/Libre Open Source Software Binaries of VS Code" as stated on the home page. I just added it to the list of available editors. As I am not using a Mac I could not test the "path", but I think it is the correct one.

tandibar · 4y ago
Structured data for AI agents

Repository: sindresorhus/env-editor. Description: Get metadata on the default editor or a specific editor Stars: 55, Forks: 7. Primary language: JavaScript. Languages: JavaScript (97.7%), TypeScript (2.3%). License: MIT. Latest release: v1.3.0 (1y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, SimenB, attilah, tandibar, coreyfarrell, BendingBender, DKunin, Richienb.