Skip to content

Instantly share code, notes, and snippets.

@fionn
Created September 27, 2025 09:46
Show Gist options
  • Save fionn/5d12ca6e0e09710cb184ea953d3598b9 to your computer and use it in GitHub Desktop.
Save fionn/5d12ca6e0e09710cb184ea953d3598b9 to your computer and use it in GitHub Desktop.
Search Kagi from Neovim
-- Very simple way to search Kagi from Neovim.
-- Saving as a gist because I don't actually use it.
vim.api.nvim_create_user_command("Kagi", function(q)
vim.ui.open("https://kagi.com/search?q=" .. vim.uri_encode(q.args))
end, {nargs = 1, desc = "Search Kagi"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment