TLDR: I wrote myself a script that significantly reduced the friction associated with adding a new note to a notes file. This has made me happier.
Sometimes I need to brainstorm lists of things. Here are some examples:
- A professor at the college I attend challenged me to solve a puzzle that boils down to "produce a complete list of physical attributes that satisfy property X", where X isn't relevant here.
- I'm part of a community that's working to develop a conlang called Toaq which is still in its infancy. I'm currently working on several aspects of the language, including:
- A vocabulary for talking about mathematics, for which I need to brainstorm a list of mathematical concepts (integer, complex number, infinity, triangle, and so on).
- A system for talking about temporal features more complex than "in the past", for which I need to get my hands on a list of examples of English sentences that will need translations (containing phrases such as "twenty years ago", "every five seconds", and so on).
- I'm working on a secret personal project with a lot of potential for disaster, for which I need to brainstorm possible failure modes.
The thing is, I'm not very good at just sitting down and coming up with these things. Or, to be more precise, even when I sit down and just come up with ideas for a while, I still find more ideas coming to me at random times.
I use Linux, and I spend a lot of time at my computer. But even when I'm already at my computer, it's kind of a hassle to add something to a notes file: I have to open the file browser, remember where the file is located or spend time searching for it, double click the file, add my note, close the text editor, then close the file browser.
So I wrote myself a script, called l (a lowercase letter L). It's a command line script that takes one argument, and all it does is open a text file with that name located in the directory ~/Documents/Lists. (If no such file exists, it first creates one.)
Now, to add a note to such a file, all I have to do is click inside the command-prompt I have in the top corner of my screen, type "l " plus the name of the list, add my note, then close the text editor. This a lot smoother of a process than the old way of doing it, and I find it a lot more pleasant.
But then don't I spend some time remembering the name of the notes file? Sometimes. But it turns out that my brain and this task are collectively such that when I first create a new notes file, I can usually succeed in choosing a name that I don't subsequently forget.
I upvoted for this snippet because it's an important aspect of the situation that I forgot to call out in the main post.
Sure! This one is actually a one-liner: it's simply "gedit ~/Documents/lists/$1", which you put in a file called "l" in your ~/bin/ directory. If you prefer a different editor, you can swap out "gedit" for "emacs" or the command used to launch whatever editor you like. (This advice is directed at others reading this comment chain, you probably already know how to do that.)
That's a good idea. I currently have a piece of software that I use to type diacritics (for Toaq) but I'm not super happy with it — it kind of bugs out on occasion and can be slow to insert the characters I want. The software I'm using is AutoKey. What do you use? Are you happy with it?
This is also a good idea. I'm pretty fast at typing and pretty slow with the mouse, so I'd probably instead make a macro for "prompt me for a search key, open a new tab, search that thing, then take me back to the tab I was in before".