void icon indicating copy to clipboard operation
void copied to clipboard

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

Open alok opened this issue 6 years ago • 2 comments

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?

alok avatar Feb 14 '19 08:02 alok

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.

spacekookie avatar Feb 14 '19 10:02 spacekookie

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.

ergl avatar Feb 14 '19 20:02 ergl