Love the design. Lowest possible friction is important.<p>I personally a) dislike writing _anything_ on touch screens b) live in the terminal anyway. So I wrote a script called "n" that appends a timestamp to a text file, then: If there are command line arguments, it appends them to the file verbatim and exits. Else it opens vim, in edit mode just under the timestamp. For example:<p><pre><code> # n 'Hello, world!' # Writes a quick timestamped note and exits.
# n # Adds timestamp, opens vim. For bigger notes.
</code></pre>
Since the text file is on my NAS I can view it from all the devices I care about. Yes, I know it's not a system everyone would want (curlftpfs anyone?), but it works for me, and is guaranteed to remain readable for decades. It's just a text file on disk. I search it using the text editor.<p>Here's my scripts. I think I got the idea on HN somewhere, if it was you, feel free to set the record straight. Also I'm bad at shell scripts, so any suggestions welcome.<p>~/bin/n (add note):<p><pre><code> #! /usr/bin/env bash
cd ~
echo >> notes.txt
echo -n '# ' >> notes.txt
date '+%a %d %b %Y %T %Z' | tr -d "\n" >> notes.txt
echo ' #' >> notes.txt
if [[ $# -ne 0 ]]; then
echo $@ >> notes.txt
tail notes.txt
else
vim "+normal Go" +startinsert notes.txt
fi
</code></pre>
~/bin/nt (review notes):<p><pre><code> #! /usr/bin/env bash
less +G ~/notes.txt
</code></pre>
~/bin/ne (open vim at the last line for revisions):<p><pre><code> #! /usr/bin/env bash
vim "+normal G" ~/notes.txt
</code></pre>
I plan on setting up an old laptop with a proper full travel keyboard on my nightstand that boots straight to this, no graphical environment, nothing else.