sponsor Vim development Vim logo Vim Book Ad

link.vim : Keep long URLs out of your way

 script karma  Rating 28/9, Downloaded by 743  Comments, bugs, improvements  Vim wiki

created by
Qad Zek
 
script type
utility
 
description
`link.vim` is a plugin for Vim and Neovim that keeps long URLs out of your way. It moves URLs to a reference section, so you can focus on the content of your document.

Links in Markdown syntax and plaintext links (e.g. in emails, in text files etc.) are supported.

For instance, the following document:

    [Vim](https://www.vim.org) and Neovim https://neovim.io are text editors.

will be turned into

    [Vim][0] and Neovim [1] are text editors.

    Links:

    [0]: https://www.vim.org
    [1]: https://neovim.io

This plugin adds commands to convert a single link, a range of links or all links; commands to open a link in your browser, jump to the reference section and more.

See https://github.com/qadzek/link.vim for details and a screencast.
Run `:help link.vim` for the full documentation.
 
install details
Use your favorite plugin manager to install this plugin.
For instance, if you use vim-plug:
    Plug 'qadzek/link.vim'
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
link.vim-2.0.0.zip 2.0.0 2025-12-03 9.1 Qad Zek - Rewrite based on `wiki.vim`
- Support converting plaintext and Markdown links in the same file
- Support internal links (#14)
- Support multi-line headings (#21)
- Avoid adding duplicate links to reference section
- Support URLs containing special characters like `~` or `*`
- Add commands `:LinkPrev`, `:LinkNext` and `:LinkShow`
- Remove `g:link_enabled_filetypes`
link.vim-1.4.0.zip 1.4.0 2024-12-11 8.2 Qad Zek Skip links in blockquotes
link.vim-1.3.0.zip 1.3.0 2024-11-28 8.2 Qad Zek Support converting links to internal wiki pages
link.vim_v1.2.0.zip 1.2.0 2024-11-17 8.2 Qad Zek Support link conversion without a heading
link-vim.zip 1.1.0 2024-11-04 8.2 Qad Zek Support <Plug> mappings
link-vim.zip 1.0.4 2024-09-10 8.2 Qad Zek Rename the plugin
vim-md-link.zip 0.1.0 2024-03-17 8.2 Qad Zek Initial upload
ip used for rating: 216.73.216.107

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github