A smol neovim plugin to open a url you are standing on in your browser
Find a file
2024-12-18 16:53:29 +01:00
lua Initial commit 2024-12-18 16:53:29 +01:00
plugin Initial commit 2024-12-18 16:53:29 +01:00
.gitignore Initial commit 2024-12-18 15:36:29 +00:00
LICENSE Initial commit 2024-12-18 15:36:29 +00:00
README.md Initial commit 2024-12-18 16:53:29 +01:00

url.nvim

A smol neovim plugin to open the url under the cursor, in your browser.

Installation

With Lazy:

{ "https://code.smolnet.org/micke/url.nvim" }

Usage

:UrlOpen

Keybindings

Add a keybinding:

nnoremap <leader>u :UrlOpen<CR>

or with lua

vim.api.nvim_set_keymap("n", "<leader>u", "<cmd>UrlOpen<CR>", {})

or using which-key.nvim

require("which-key").add({
 {"<leader>u", "<CMD>UrlOpen<CR>", desc = "Open URL"}
}