All my newly added test cases failed, that movq thankfully provided in https://git.mills.io/yarnsocial/twtxt.dev/pulls/28#issuecomment-20801 for the draft of the twt hash v2 extension. The first error was easy to see in the diff. The hashes were way too long. You’ve already guessed it, I had cut the hash from the twelfth character towards the end instead of taking the first twelve characters: hash[12:] instead of hash[:12].
After fixing this rookie mistake, the tests still all failed. Hmmm. Did I still cut the wrong twelve characters? :-? I even checked the Go reference implementation in the document itself. But it read basically the same as mine. Strange, what the heck is going on here?
Turns out that my vim replacements to transform the Python code into Go code butchered all the URLs. ;-) The order of operations matters. I first replaced the equals with colons for the subtest struct fields and then wanted to transform the RFC 3339 timestamp strings to time.Date(…) calls. So, I replaced the colons in the time with commas and spaces. Hence, my URLs then also all read https, //example.com/twtxt.txt.
But that was it. All test green. \o/
Android shopping list apps disappointed me too many times, so I went back to writing these lists by hand a while ago.
Here’s what’s more fun: Write them in Vim and then print them on the dotmatrix printer. 🥳
And, because I can, I use my own font for that, i.e. ImageMagick renders an image file and then a little tool converts that to ESC/P so I can dump it to /dev/usb/lp0.
(I have so much scrap paper from mail spam lying around that I don’t feel too bad about this. All these sheets would go straight to the bin otherwise.)
@aelaraji@aelaraji.com Nice! :-) Since vim is quite advanced cavemanery, you could probably even remap Enter when editing the twtxt.txt.
Just typing twts directly into my twtxt file.
Details:
- Opening my twtxt file remotely using
vim scp://user@remote:port//path/to/twtxt.txt
- Inserting the date, time and tab part of the twt with
:.!echo "$(date -Is)\t"
- In case I need to add a new line I just
Ctrl+Shift+u, type in the2028and hitEnter
- In order to replay, you just steal a twt hash from your favorite Yarn instance.
It looks tedious, but it’s fun to know I can twt no matter where I am, as long as can ssh in.
@movq@www.uninformativ.de streamlining jenny.vim?
index adc0db9..cb54abc 100644
--- a/vim/ftdetect/jenny.vim
+++ b/vim/ftdetect/jenny.vim
@@ -1 +1,2 @@
au BufNewFile,BufRead jenny-posting.eml setl completefunc=jenny#CompleteMentions fo-=t wrap
+au BufRead,BufNewFile jenny-posting.eml normal $
Symiosis: a Vim-centric keyboard-driven, notes app inspired by Notational Velocity. With instant search, in-place Markdown rendering and built-in editor ⌘ Read more
Which colorscheme is this (used by Antirez on his YT videos)? ⌘ Read more
Prose Writing. Are vi-bindings really that much better than cntrl+arrow keys? ⌘ Read more
Can some explain this to me? ⌘ Read more
Vim LSP not showing errors in syntax ⌘ Read more
replace netrw by yazi, lf, ranger or nnn ⌘ Read more
Little Tip: in little screens use :helpCurwin xxx for get helping in Vim! ⌘ Read more
Do you use regex in Vim? What for? ⌘ Read more
Programming in the sun with Vim and DC1 ⌘ Read more
Question about conditional mappings based on setting value ⌘ Read more
Funtion to display parent line? ⌘ Read more
windows gvim users, TitleBar may be styled now ⌘ Read more
Vimium (Search and directly clicking?) ⌘ Read more
Missing accents in Vim in none English language ⌘ Read more
The Philosophy of Vim ⌘ Read more
Vimscript Best Practices ⌘ Read more
Disabling LSP Snippets ⌘ Read more
Vim tutor ⌘ Read more
How To Remap All Key Bindings For a Different Keyboard Layout? ⌘ Read more
How does visual Ctrl + a increments work behind the scenes? ⌘ Read more
How to change cursor shape based on current mode? ⌘ Read more
i_ctrl-r with impossible register names will recognize imaps, two I immediately wanted are NL and ESC. ⌘ Read more
How to get vim-test to work in monorepo structure? ⌘ Read more
Problem with incomplete LaTeX syntax highlighting ⌘ Read more
VimTeX v2.17 ⌘ Read more
Finally Happy With vim Configuration! ⌘ Read more
Regurge. YALLM-plugin for Vim. Streaming, Gemini, VertexAI, uncensored, parameterised. ⌘ Read more
how to delete everything after the question mark? ⌘ Read more
Accelerated Gulf of Maine warming may pose a serious threat to American lobsters
The Gulf of Maine is warming faster than 99% of the world’s oceans, raising concerns for its $2 billion-a-year American lobster fishery. Scientists at William & Mary’s Batten School & VIMS have been studying the impacts of ocean acidification and warming on lobster reproduction, and the results of their most recent research suggest the rising temperatures pose the greatest risk. ⌘ Read more
Use Vim Or Neovim To Browse Manpages ⌘ Read more
Vim Config Generator Idea ⌘ Read more
Simple wrappers to handle complex map rhs in vim-which-key ⌘ Read more
Can VS Code shortcuts compete with Vim? ⌘ Read more
need help on disabling winaltkeys in gvim(WIN_32) ⌘ Read more
How are related “set autochdir” and “path”? ⌘ Read more
Plugin to Aggregate TODOs from Notes ⌘ Read more
time to consoom more based vim tips and tricks ⌘ Read more
what does “.*” mean? in :help starstar ⌘ Read more
How to start at the first line when opening a file in Vim terminal mode? ⌘ Read more
Using Vimdiff As A Git Mergetool ⌘ Read more
Press key after search ⌘ Read more
How to get LSP semantic highlighting working for C++ ⌘ Read more
Paste after each comma of a line. ⌘ Read more
is there a way to put (paste) a line inline? ⌘ Read more
buffers and ctags flow ⌘ Read more
Just found out about digraphs, and it blew my mind ⌘ Read more
Something happened with the frame rate of terminal emulators lately. It looks like there’s a trend to run at a high framerate now? I’m not sure exactly. This can be seen in VTE-based terminals like my xiate or XTerm on Wayland. foot and st, on the other hand, are fine.
My shell prompt and cursor look like this:
$ █
When I keep Enter pressed, I expect to see several lines like so:
$
$
$
$
$
$
$ █
With the affected terminal emulators, the lines actually show up in the following sequence. First, we have the original line:
$ █
Pressing Enter yields this as the next frame:
$
█
And then eventually this:
$
$ █
In other words, you can see the cursor jumping around very quickly, all the time.
Another example: Vim actually shows which key you just pressed in the bottom right corner. Keeping j pressed to scroll through a file means I get to see a j flashing rapidly now.
(I have no idea yet, why exactly XTerm in X11 is fine but flickering in Wayland.)
Vimconf 2025 Small Tickets ⌘ Read more
I probably should implement some editing feature in tt. Sure, I can easily edit my feed in vim to fix typos. But then I still have to manually remove the old message from the cache so that the new message is inserted on next reload and I don’t end up with “duplicates” in the message tree.
How do I perform partial acceptance of Copilot recommendations? ⌘ Read more
Claude Code: Game Changer or Just Hype? ⌘ Read more
Noob question - How to move config folder to ~/.config/vim ⌘ Read more
Which one does it handle? Vim:tw=50: at the foot of doc or :set tw=78? ⌘ Read more
Different sets of macros for different tasks? ⌘ Read more
Is this wrong? ⌘ Read more
What is wrong in these lines of HelpMe plugin, term says E492 ⌘ Read more
I tested vim 9 OK, but at shutdown netbook I lost vim9… ⌘ Read more
Ctrl+U to the front or Ctrl+K to the end puts it in a buffer that can be pasted by pressing Ctrl+Y! That's neat. Even removing the last word with Ctrl+W moves it into this paste buffer.
@lyse@lyse.isobeef.org Ctrl-U in Vim does something similar (“Delete all entered characters before the cursor in the current line”), but it does not put them into the “clipboard”. I sometimes hit Ctrl-U by accident and then my text is gone. 😡😂
Did you remap your Esc and Control keys? ⌘ Read more
Vimgolf alternatives ⌘ Read more
WSL ^M carriage return FIX ⌘ Read more
Copy vim in byobu on server to local clipboard with big file? ⌘ Read more
My New Favorite Keymaps ⌘ Read more
Best way to copy and paste between Vim and other apps ⌘ Read more
Exclude » from ‘isfname’ ⌘ Read more
Microsoft Edit: Windows bekommt Editor für die Kommandozeile
Microsoft entwickelt mit Edit einen eigenen Texteditor fürs Terminal. Das erinnert an Vim und Nano in Linux. ( Powershell, Windows)
I’m open sourcing my vimrc for inspiration to others. ⌘ Read more
Christmas came early ⌘ Read more
What can you do with base vim that most people don’t know? ⌘ Read more
[OC] Tired of manual file-hopping in Vim? Meet vgo-jump ⌘ Read more
As of version 9.1 vim is supposed to support XDG specification. The below config works correctly on 9.1.1230 but not on 9.1.83. Anybody know why? ⌘ Read more
How could you, Google? ⌘ Read more
coc-clangd Included header is not used directly but it is? ⌘ Read more
Messing with the new vertical Tabpanel (“Bufferpanel & simple tabpanel) ⌘ Read more
Messing with the new vertical Tabpanel (“Bufferpanel” VS simpler tabpanel) ⌘ Read more
vim-saveroot: Change the current working directory in Vim9script ⌘ Read more
cannot create splits with leader key ⌘ Read more
How to re-use a running GVim instance when double-clicking on text files. ⌘ Read more
Golang in Vim ⌘ Read more
Golang in Vim ⌘ Read more
Asynchronous jobs and communicating with them ⌘ Read more
Calling my fellow Vimmers for a question of utmost importance. Moving the cursor one character in Insert Mode. ⌘ Read more
Up to date (maintained) plugin to add better multi-cursor functionality to vim ⌘ Read more
photo evidence of why cat people are naturally gravitated towards vim motions ⌘ Read more
Vim now has a native vertical tabs/buffers list ⌘ Read more
ask about Buf(fer)Explorer plugin: why does it not shown buffers without name? ⌘ Read more
Change window remapping ⌘ Read more
The only thing I wish vim had ⌘ Read more
Why vim (NetRW) is opening a file in an existing buffer/pane (?) ⌘ Read more
Did Bram ever loose his new code in the 90’s? ⌘ Read more
using ESC to finish :commands and /search ⌘ Read more
why do sessions keep the old version of vimrc? ⌘ Read more
YouCompleteMe | Selection delay when pressing the Tab key ⌘ Read more
How often do you get the opportunity to flex vim in front of people? ⌘ Read more