mmai / wikilink Goto Github PK
View Code? Open in Web Editor NEWPersonal wiki link navigator
Home Page: http://www.vim.org/scripts/script.php?script_id=3618
License: GNU General Public License v3.0
Personal wiki link navigator
Home Page: http://www.vim.org/scripts/script.php?script_id=3618
License: GNU General Public License v3.0
"WikiLink" is a Vim plugin which eases the navigation between files in a personnal wiki Links syntax currently supported follows Github's Gollum (https://github.com/gollum/gollum) [[My displayed link|My link]] This plugin also detects footerbar and sidebar files and splits the window accordingly (again, see Gollum for syntax) Installation ------------ Copy the wikilink.vim file into the $HOME/.vim/plugin/ directory Configuration ------------- Window split on footer and sidebar detection can be disabled by writing this line on your .vimrc file : let wikilinkAutosplit="off" Usage ----- Hit the ENTER key when the cursor is on a wiki link The corresponding file is loaded in the current buffer Hit Shift + ENTER to go back
According to gollum
[[Frodo|Frodo Baggins]]
The above tag will link to Frodo-Baggins.ext using "Frodo" as the link text.
However, this is not the case for wikilink. much thanks!
Hello,
I'm interested in using and possibly contributing to this plugin, but currently there's no posted license which could make doing so technically illegal for me, even though the code is posted publicly. Could you add a license file please?
Many vim plugins simply say they are licensed under the same terms as vim itself (Vim's license is found here: http://vimdoc.sourceforge.net/htmldoc/uganda.html#license). You can find more choices here: https://opensource.org/licenses/alphabetical. Vim's license is considered GPL compatible, so GPL is also an option if you prefer. I would encourage you not to chose what the Apache org calls a "nonsensical" license, which has clauses that have no clear legal definition, such as "don't be a dick". You can read more at https://www.apache.org/legal/resolved.html#what-can-we-not-include-in-an-asf-project-category-x
Thanks in advance. I know this is a pretty boring ask, but unfortunately the current state of software copyrights requires us to attend to these things for everyone's protection.
Nice idea, thanks for this plugin!
I think the footer/sidebar detection and opening should be optional though, I really don't want my split windows being rearranged unexpectedly -- at least and especially, don't do the exec "winc o"
in the WikiLinkShowStructure
function if there is no footer or sidebar found. Right now if I'm editing a few wiki pages in split windows, every time I follow a link in one of them all my other windows get closed, and that's simply maddening.
It will probably also conflict with Vimwiki which uses a .wiki
file extension, and also provides handy support for opening web links in addition to wiki links with the Enter key, convenient mappings for opening in splits with Shift/Ctrl-Enter, etc. (I use Vimwiki for a personal knowledge base, and Gollum for project-specific wikis when the source is hosted on GitHub). Any ideas on how conflicts could be worked around?
I'll see if I can whip up a pull request or two when I have some time to play with it!
[[dir/un fichier]] => [[dir/un-ficher.md|dir/un ficher]]
[[dir/un-fichier.md|dir/un ficher]] => [[...|dir/un fichier]]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.