thinking about headlines
2026-08-04
Ping 66
Helix has got to have one of the easiest configurations. It is this easy to get the markata-go lsp in helix.
markata-go lsp setup --editor helix
# Helix languages.toml (usually ~/.config/helix/languages.toml)
[language-server.markata-go]
command = "markata-go"
args = ["lsp"]
[[language]]
name = "markdown"
language-servers = ["markata-go"]
Ping 65
I don’t run into windows file endings very often, so when I see little ^M’s
all over your file, I think “shit I know what these are and cant remember”
They represent the windows carriage return.
Linux vs Unix Line Endings #
The difference here is that Unix uses \n and Linux uses \r\n, going all the
way back to the typewriter it represents the two keys that a typist would have
to press to get a new line and return the carriage back to the beginning.
Vim/Neovim #
When I open up a file and see this garbage all over, its not cozy, I want them gone, I dont want them all over my editor. I’m not sure what this would look like on windows, I haven’t been able to afford a windows machine in years, but its gross on my machine.
Remove them with a substitution command from normal mode.
:%s/\r//g
removing carriage returns with a substitution command
I ran into an issue where my pinentry was unable to connect, blocking me from
doing commits. You can use this to continue signing commits.
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye
printf test | gpg \
--local-user 9A47900E81415D65C32C630066E2BF2B4190EFE4 \
--pinentry-mode loopback \
--sign >/dev/nul