Compare commits

..

No commits in common. "bb61bfd957143464348d673afbe614de09e82c22" and "d365e1ca4c6eaa699d20e93797556e0dc34856bf" have entirely different histories.

11 changed files with 45 additions and 33 deletions

View File

@ -42,7 +42,6 @@ nonsymlink-clean:
find $(GEMINI_DEST) -not -type l -type f -delete
gen:
rm -rf $(HUGO_CACHEDIR)/site/filecache/getresource
$(HUGO) $(HUGO_FLAGS) --cacheDir $(HUGO_CACHEDIR)
gemini:

23
bin/twt Executable file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env bash
date=$(date -Iseconds)
dest=deploy@do.hedy.dev
destdir="~/static"
read -p ">> "
if [ -z "$REPLY" ]; then
echo cancelled
exit
fi
rsync --port 22 $dest:"$destdir"/tw.txt .
echo "$date $REPLY" >> tw.txt
echo [...]
tail -n2 tw.txt
echo rsync tw.txt -rav --port 22 $dest:"$destdir"
rsync tw.txt -rav --port 22 $dest:"$destdir"
echo gelim -I 'gemini://warmedal.se/~antenna/submit' -i 'gemini://do.hedy.dev/tw.txt'
gelim -I 'gemini://warmedal.se/~antenna/submit' -i 'gemini://do.hedy.dev/tw.txt'

View File

@ -13,14 +13,12 @@ disableHugoGeneratorInject = true
[params]
description = "~hedy's home: hedy's canonical web presence including contact information and a blog."
src = "https://sr.ht/~hedy/site"
logURLPrefix = "https://git.sr.ht/~hedy/site/log/master/item/"
copyright = "CC-BY-SA"
copyrightLink = "https://creativecommons.org/licenses/by-sa/4.0/"
copyrightYearStart = "2021"
src = "https://sr.ht/~hedy/site"
srcURLPrefix = "https://git.sr.ht/~hedy/site/tree/master/item/"
logURLPrefix = "https://git.sr.ht/~hedy/site/log/master/item/"
shortTitle = "~hedy"
suffixTitle = " | ~hedy" # prepended after page titles

View File

@ -101,7 +101,7 @@ List title 1 List title 2
- Item 3 - Item 3
```
Voila! The two lists are now merged into two columns side by side.
_Voila!_ The two lists are now merged into two columns side by side.
You can easily adjust the spacing between the columns using visual block mode. Place your cursor on the space in-between the two list titles:

View File

@ -3,14 +3,11 @@ date = '2024-04-10T05:22:46Z'
description = 'The visual block mode in Vim/Neovim is quite powerful. You can use it for "column" editing and vertically pasting blocks of text similar to paste(1).'
draft = false
footnotes_heading = 'Footnotes'
outputs = ['html', 'gemtext']
slug = 'vim-column-editing'
tags = ['howto', 'terminal']
title = 'Vim visual block mode for column editing'
EOF = false
publicReplyTo = "mailto:~hedy/posts@lists.sr.ht?cc=hedy%20%3Chedy.dev%40protonmail.com%3E&in-reply-to=%3Cn7UVukOUgCClct4d56HGVviI9Ig0QFF1dp0XIjC1EHZkOq9kBq4oHhA_CpVUa1LKxD73wJAZn4kUaTBoIQtENvNDF6RiSUsMfbN8fT4y2fI%3D%40protonmail.com%3E&subject=Re%3A%20Vim%20visual%20block%20mode%20for%20column%20editing"
+++
The visual block mode in Vim lets you edit text simultaneously across adjacent

View File

@ -1,7 +1,5 @@
These are my long-form musings. I aim to write at least twice a year, but over the past two years I have clearly failed in this aspect. I'll try to write more often.
Comments can be sent to my public mailing list where I'll also send new posts (after 2023) as plain text. If you subscribe to the list, it acts like a newsletter where you'll receive new posts from your inbox, and you can reply to the email to start a public discussion.
Comments can be sent to my public mailing list where I'll also send new posts (after 2023) as plain text to. If you subscribe to the list, it acts like a newsletter where you'll receive new posts from your inbox. Posting and subscribing happen solely through emails. No external auth required.
Subscribing and adding comments happen solely through emails. No external auth required.
=> https://lists.sr.ht/~hedy/posts Subscribe to new posts
=> mailto:~hedy.posts@lists.sr.ht

View File

@ -9,10 +9,7 @@ often.
Comments can be sent to my [public mailing
list](https://lists.sr.ht/~hedy/posts) where I'll also send new posts (after
2023) as plain text. If you subscribe to the list, it acts like a newsletter
where you'll receive new posts from your inbox, and you can reply to the email
to start a public discussion.
Subscribing and adding comments happen solely through emails. No external auth
required.
2023) as plain text to. If you subscribe to the list, it acts like a newsletter
where you'll receive new posts from your inbox. Posting and subscribing happen
solely through emails. No external auth required.

View File

@ -22,10 +22,10 @@
<meta name="color-scheme" content="light dark" />
<meta name="format-detection" content="telephone=no" />
<link rel="webmention" href="https://webmention.io/home.hedy.dev/webmention" />
<link rel="pingback" href="https://webmention.io/ome.hedy.dev/xmlrpc" />
<link rel="webmention" href="https://webmention.io/hedy.tilde.cafe/webmention" />
<link rel="pingback" href="https://webmention.io/hedy.tilde.cafe/xmlrpc" />
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}posts/index.xml" title="{{ $.Site.Title }}">
{{- if ne .Site.BaseURL "https://home.hedy.dev/" -}}
{{- if ne .Site.BaseURL "https://hedy.tilde.cafe/" -}}
<meta name="robots" content="noindex">
{{- end -}}

View File

@ -10,10 +10,9 @@
{{- end }}
<p class="meta">
<a href="{{ .Site.BaseURL }}tags/">Tags</a> &nbsp;|&nbsp;
<a href="{{ .Site.BaseURL }}posts/index.xml">RSS feed</a> &nbsp;|&nbsp;
<a href="{{ .Site.BaseURL }}posts/atom.xml">Atom feed</a> &nbsp;|&nbsp;
<a href="https://lists.sr.ht/~hedy/posts">Subscribe via email</a>
<a href="{{ .Site.BaseURL }}tags/">Tags</a> |
<a href="{{ .Site.BaseURL }}posts/index.xml">RSS feed</a> |
<a href="{{ .Site.BaseURL }}posts/atom.xml">Atom feed</a>
</p>
<ul class="post-list">

View File

@ -7,11 +7,12 @@
{{ partial "processed-content.gmi" . }}
--
{{- if (ne .Params.EOF false) }}
EOF
{{ $subject := urlquery (printf "Re: %s" .Title) }}
=> {{ with .Params.publicReplyTo }}{{ . |safeHTML }}{{ else }}mailto:~hedy/posts@lists.sr.ht?subject={{ $subject }}{{ end }} Reply via email publicly (plain-text only)
=> mailto:{{ .Site.Author.email }}?subject={{ $subject }} Reply via email privately
{{ end }}
Questions/comments:
=> mailto:~hedy/posts@lists.sr.ht Public gemlog mailing list (plain-text only)
=> mailto:{{ .Site.Author.email }} Or email me directly
=> / Home
{{- end }}

View File

@ -22,10 +22,10 @@
{{ if (eq .Params.EOF false) }}{{ else }}<p id="#EOF">EOF</p>{{ end }}
<section class="comments">
<p>
Questions, comments? Send an email to my{{ $subject := printf "Re: %s" .Title }}
<a href="mailto:~hedy/posts@lists.sr.ht?subject={{ $subject }}">blog-post mailing list</a>
Questions, comments? Send an email to my
<a href="mailto:~hedy/posts@lists.sr.ht">blog-post mailing list</a>
(with <a href="https://useplaintext.email">plain text</a>)
or to me <a href="mailto:{{ .Site.Author.email }}?subject={{ $subject }}">privately</a>.
or to me <a href="mailto:{{ .Site.Author.email }}">directly</a>.
</p>
</section>
{{- end }}