Replies: 2 comments 1 reply
-
For 1, use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I defined a command
rfind
onDirSheet
which let's me type a regex for a file name, and then it shows all files in that folder recursively whose names match that expression. One annoyance though is that the input prompt for this command shares history with all the other commands that take a regex, which for me is mostly commands that filter by column. This is annoying because the file names are completely different from the column names, so I always have to pressUp
several times to scroll past the irrelevant items to reach the relevant one.This makes me think of two possible improvements:
Allow defining separate input histories. I see now that the items in
input_history.jsonl
look like{"type": "regex", "input": "foo"}
. They could look like{"type": "regex", "input": "foo", famlily: "file"}
, and each command will specify afamily
which could becolumn
,row
orfile
. (We can talk about the default behavior if a command doesn't specify a family if you like this idea.)It would be cool if there was a way, when giving input, to say "show me the last 10 inputs and let me choose by pressing a key in 0-9". This would be a lot nicer than scrolling.
Beta Was this translation helpful? Give feedback.
All reactions