til
Today I learned.
Neovim blog by Michael Fussenegger
Veeery nice Neovim-related blog:
Load a per-project Neovim config with exrc
vim.opt.exrc = truevim.opt.secure = trueFiles: .nvim.lua > .nvimrc > .exrc
-- .nvim.lua (.nvimrc and .exrc are Vimscript)vim.print("hello from local rc")SuttaCentral
Collection of Buddhist scriptures: https://suttacentral.net/?lang=en
I liked this sutta: DN 16, section 1.6.2
grep -b shows the byte offset of matches
$ printf 'foo bar\nsay hello\n' > notes.txt$ grep -b hello notes.txt8:say hello$ grep -ob hello notes.txt12:hello$ tail -c +13 notes.txthelloOffsets are 0-based. Alone, -b gives the offset of the matching line; with -o it gives the offset of the match itself. tail -c +N is 1-based, so jump to offset + 1.
ugrep prints the match offset even without -o.