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.

2023-10-28 20:03 #

♪ Fay Claassen · Almost Blue

2023-10-28 12:02 #

I keep getting this kind of weird stuff on my pretty old iPhone. Internet was less complicated back in the time, especially when Apple was not tying up software to hardware to such an extent.

img

2023-10-27 20:15 #

Everything you ever wanted to know on how to execute a command in multiple files in Vim. I mostly use argo and cdo. #vim

2023-10-27 20:14 #

TIL that there are some interesting C programming tips on Neovim wiki. #vim #clang

2023-10-26 21:18 #

No more nvim-lspconfig means 15 ms less time spent in starting up! #vim

img

2023-10-24 21:37 #

TIL that you can clear your Tmux paste buffers by tagging everything (C-t) then deleting it (D).

2023-10-24 13:46 #

Pytest is really great: even simple assert statements get processed, no need to write complex fixtures or test suite. This means you can write your scripts as usual and just import pytest. To avoid contaminating your current directory with __pycache__ and .pytest_cache directories, set the exported variable PYTHONDONTWRITEBYTECODE=1 and call pytest with -p no:cacheprovider. You can set a simple compiler and errorformat for (Neo)vim by following this blog post. Personally, I use makeprg=pytest\ --tb=short\ -vv\ --no-header\ -p\ no:cacheprovider\ $* instead. #python #vim

2023-10-24 13:44 #

If you are using vimtex and are interested in using Evince for forward/reverse synchronization, be sure to check sved which at least provides reverse sync in Neovim. Otherwise, Zathura works as expected. #vim

2023-10-24 09:12 #

Ergonomic mappings for code formatting in Vim: Very nice tutorial on code formatting and how to write VimL functions that exploit gq. #vim