Using Plaintext for Notes on Windows
Sep. 16th, 2023 08:13 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
So using plain old txt files in subfolders is nice, cause I can copy the whole directory to any system, and nearly any system can read the files just fine (or with very minor conversions)
I used to just do this with Windows' File Explorer and Notepad
The "Preview Pane" option in file explorer lets me view the contents of a textfile before I open it, but it currently loads very slowly...
Cozy Solution
I installed lf, an in-terminal file explorer that supports the instant preview pane by default.
Pressing e
lets me edit the file, which opens notepad, but I also installed Helix, a terminal text editor. I just need to tell lf
which editor to choose when I press e
.
Configuration
# I created this file
# in the following location:
# C:\Users\fizz\AppData\Local\lf\lfrc
map e $helix %f%
So that maps e
to the Helix editor.
This next bit is totally not needed, and also convoluted cause idk how to describe windows' features ;-;
I also added a shortcut that plops me right into my txt
folder in lf
Start > Right-click lf > open file location >
Right click shortcut > Open file location (again) >
Right click lf.exe > Create shortcut
Shortcut > Properties
After the lf.exe
command in Target
, add a space, then:
C:\Users\fizz\Documents\plaintext
I copy the new shortcut to:
C:\Users\fizz\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
Now the new shortcut with the updated "go directly to my txt folder" feature is right in my start menu (which i added to my taskbar).
Conclusion
Uhhh I'll revise this when I think of a better way to think about it. Saying "right click tha file" so often is a little awkward >~<
anyway, uploading this now uwu! thank you for the read >:3