Comments (3)
Makes sense. I think it would be best to add an or getenv('EDITOR')
after checking for tuifi_default_editor
. This way, when a new user tries to edit a file it will default to their preferred editor, and if they wish for tuifi to use a seperate editor, they still can by setting tuifi_default_editor
.
from tuifimanager.
Using EDITOR will use the correct editor out of the box for most users
I didn't know this env-variable existed, I might consider adding it to the fallback line of code that I mention bellow.
If you want to offer the ability to use an editor other than what EDITOR is set to, perhaps you could check if tuifi_default_editor is set, and otherwise fallback to EDITOR?
That's what I've thought about tuifi_default_editor
too, and if no env-variable exists, it falls-back to one of those:
TUIFIManager/TUIFIManager/TUIFIProfile.py
Line 22 in 9272ecc
from tuifimanager.
https://github.com/GiorgosXou/TUIFIManager/blob/master/CHANGELOG.md#v213
from tuifimanager.
Related Issues (20)
- Scroll sensitivity HOT 1
- Code Formatting HOT 14
- Typing support HOT 1
- Using a static configuration for the setup process HOT 1
- FIle formats not supported HOT 4
- Display Hidden files after Non-Hidden files HOT 1
- Issue initializing colors on Windows
- Scroll wheel not working on Windows HOT 1
- Error when starting tuifi HOT 2
- Add a nox ci for various configuration
- Hover Effect on Windows HOT 4
- Yank when no file selected
- Flickering of menu (?) HOT 27
- Installation with pip is giving an error on pyproject.toml: LICENSE not found. HOT 5
- Oopsie, version
- What's wrong with Popen in Windows?
- Nix OS support
- Git keeps corrupting the peek gif
- TUItilities - Multiline Label resize artifacts HOT 3
- Ideas and features HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuifimanager.