A smol neovim plugin to open a url you are standing on in your browser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Micke Nordin 9fa41a423f
Initial commit
3 days ago
lua Initial commit 3 days ago
plugin Initial commit 3 days ago
.gitignore Initial commit 3 days ago
LICENSE Initial commit 3 days ago
README.md Initial commit 3 days ago

README.md

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"}
}