26-03#
TIL: Claude Hooks#
https://code.claude.com/docs/en/hooks-guide
I run make on Stop, e.g. in .claude/settings.local.json
{
"hooks": {
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "make"
}
]
}
]
}
}
https://code.claude.com/docs/en/hooks-guide#get-notified-when-claude-needs-input is nice too.
Neovim as MANPAGER#
export MANPAGER='nvim --appimage-extract-and-run +Man!'
https://lobste.rs/s/zuh3zm/qman_more_modern_man_page_viewer_for_our#c_lzyrnh says compares to qman
index pages/overview pages: unique to qman
hyperlinks to other man pages: bound to K in vim for buffers with the man page filetype
hyperlinks for URLs: bound to gx in all buffers in Vim
hyperlinks for emails: presumably gx would also work but I’ve never tried
hyperlinks to files or directories: bound to gf/gF in Vim
table of contents: bound to gO in man page buffers
incremental search: enable for all buffers with :set incsearch, or use auto commands to enable only in man page buffers
command line option compatibility: can be approximated with shell configuration, or using plugins like my own vim-superman
keyboard mappings/mouse support/navigation history/online help/fully configurable/man page: of course all also available in Vim
The gx was new to me. :)