A productivity boost for my exegetical work in vim: This makes '\g' open a web browser window with an analysis of the Greek word under the cursor...

:noremap <Leader>g "zye:exe "silent !xdg-open perseus.tufts.edu/hopper/morph" . @z . "\\&la=greek"<CR>

Follow

The only thing better would be getting it to open results in a dedicated tab. (This opens a new tab for each query.) If someone knows the appropriate Firefox remote magic to do this, I'm all ears.

Sign in to participate in the conversation
arktos.social

arktos.social is a private Mastodon instance. Contact the administrator to request an account.