sponsor Vim development Vim logo Vim Book Ad

wikilink2 : Wiki-style links to other files.

 script karma  Rating 8/2, Downloaded by 200  Comments, bugs, improvements  Vim wiki

created by
Graeme Weston
 
script type
utility
 
description
"WikiLink2" is a Vim plugin which eases navigation between files in a personal wiki.

Links syntax: [[full or partial filename]]

Links work in a similar way to those in Christian Tietze\s and Sascha Fast's "The Archive" app —
https://zettelkasten.de.

If you use a partial filename, the link opens the first matching file.

This plugin also detects footer and sidebar files and splits the window accordingly.


# Configuration
Window split on footer and sidebar detection can be disabled by writing this line in your .vimrc file:
let wikilinkAutosplit="off"


# Usage
While in Vim Normal mode:
* Press ENTER when the cursor is on a wiki link. The first matched file is loaded in the current buffer.
* Press LEADER, then ENTER to go back. The cursor position is irrelevant. (By default LEADER is set to the BACKSLASH ("\") key.)
 
install details
Copy the wikilink2.vim file into the $HOME/.vim/plugin/directory
 

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
wikilink2.vim 0.4 2026-09-07 9.0 Graeme Weston Fixed a bug preventing links containing spaces from working. Changed "go back" to LEADER RETURN (as that seems more logical than LEADER BACKSPACE).  Verified on Vim 9.1, but may work on earlier versions.
wikilink2.vim 0.2 2026-09-03 9.0 Graeme Weston Initial upload
ip used for rating: 216.73.217.108

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