aliquote.org

Latest micro-posts

You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.

2022-10-06 21:56 #

How to configure neovim to properly format python code?. Simpler solution is to add this mapping to your after/ftplugin/python.vim: nmap <buffer> g= :!black --quiet %<cr>:redraw!<cr>:!isort -q %<cr>:redraw!<cr>. Not sure if we really need two redraw, but it works quite well. This could be put in an autocommand if we want to format on save, say. #vim

2022-10-06 21:54 #

Move a running process into a tmux session. This happened to me in the past, and I came up with a different solution, which involves the same steps but without reptyr IIRC. Now I forgot how I did…

2022-10-06 21:53 #
2022-10-06 21:46 #

♪ Bauhaus · Bela Lugosi Is Dead

2022-10-05 15:00 #

♪ This Mortal Coil · Song to the Siren

2022-10-03 15:11 #

Newsboat can use any external browser for displaying posts. E.g., Elinks instead of Firefox to allow for a more comfortable browsing experience while staying in a terminal:

img

2022-10-03 12:51 #