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-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

2023-10-23 15:43 #
2023-10-23 15:29 #

But let’s just put it this way (and here I’m being charitable): in all my years of using Word, this happened more than once. In all the time I’ve used text editors, it’s never happened, even once. — Why (and How) I Wrote My Academic Book in Plain Text

2023-10-23 15:28 #

The most important thing to learn correctly about Vim is to understand that you talk to Vim when you edit text. Vim has a grammar. The next important thing is to learn how to use Vim macros. Vim - I hate to love you

2023-10-23 15:18 #

But just think back. In the past say ten years, what changes and innovations have had a real and true life changing impact on you? I am sure you can think of something, but I am also pretty sure that nothing has happened on a monthly or weekly basis that was so important that you absolutely had to know about it at that very moment. — Do you feel overwhelmed trying to stay up to date with the latest tech news?

2023-10-23 11:40 #

No more plugin manager, yet a fast startup time. #vim

img