Tootfinder

Opt-in global Mastodon full text search. Join the index!

@nobodyinperson@fosstodon.org
2025-06-10 14:05:52

I just love :vim: #vim for its macros 🤩
(vim macro in the #AltText)
#TexLaTeX

vim screencast. a latex file is open, cursor on a \section{Conclusion} line. The F8 key is pressed (as shown by an overlay), and above the \section line a fancy figlet with reading "Conclusion" in big ASCII art letters appears. Another time F8 is pressed, the next happens for the next section.

You can add this to your vimrc (and install figlet):

nnoremap <F8> k/\\.*section.*{<CR>f{vi{yO<ESC>pV!figlet -w120<CR>maVnk:normal gI% <CR>