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: Would switching txt: and shell be a better behavior? #30

Open
alok opened this issue Feb 14, 2019 · 2 comments
Open

Question: Would switching txt: and shell be a better behavior? #30

alok opened this issue Feb 14, 2019 · 2 comments

Comments

@alok
Copy link
Contributor

alok commented Feb 14, 2019

I noticed that if you hit c-k on a node with no special handling, it just executes it as a shell command. If you want to open it in an editor, you have to type txt: first. Wouldn't a better default be to open text in a text editor and for shelling out to require explicit handling with something like a shell: prefix?

@spacekookie
Copy link
Collaborator

Yup, that's a good idea. At least as the first stage.

Plan is to revamp the way that input is done anyway. I kinda don't like the txt mechanic. But it's not 100% clear how it should work yet.

@ergl
Copy link
Contributor

ergl commented Feb 14, 2019

One way I thought about is to use the enter_command (C-e), which currently does nothing to add properties to entries. These properties could be checked by C-k (or any other future commands that are added) to know how to handle that entry.

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

No branches or pull requests

3 participants