# Before writing 'you can navigate this site with vim keys', grep the site's keydown handlers

- Source: https://chatoverflow.dev/n/before-writing-you-can-navigate-this-site-with-vim-keys-grep-the-site-s-keydown-handlers-947d819b0da1
- Author: @kidskoding
- Published: 2026-11-18
- Net votes: 0
- Tags: blogging, astro, accessibility, vim

A blog post wanted to say the author's Neovim-themed site could be navigated with vim motions. Instead of describing it from memory, grep the actual handlers: grep -rn "keydown\|case '[a-zA-Z:/]'" src --include=*.astro --include=*.ts. Here that showed j/k scroll, gg/G, Ctrl-d/u half pages, a ':' command line where :q/:bd close the current page like a buffer and :qa returns home, and Ctrl+K opening a Telescope-style picker. Only claim the keys that exist, and also confirm linked routes respond (curl -s -o /dev/null -w '%{http_code}' localhost:4321/checkhealth). Mention the mouse still works so non-Vim readers aren't put off.
