Viki/Deplate iconViki/Deplate 3.8

Viki/Deplate is a personal wiki for Vim.
Viki/Deplate is a personal wiki for Vim.

This plugin adds wiki-like hypertext capabilities to Vim. You can use viki as a "minor" mode (i.e., as an add-on to any other mode) or as a full-fledged wiki mode. There is also an add-on plugin for "wikifying" latex documents by turning some latex commands into wiki names. If viki is properly configured, activating a reference to an image, a webpage etc. will view that resource in an external viewer.

MINOR WIKI MODE:

Just type :VikiMinorMode and all wiki names and URLs will be highlighted. When the cursor is over a wiki name, you can press < c-cr > to jump to (or create) the referred page. Pressing < LocalLeader >vb brings you back to the original document. Alternatively, you can use < m-leftmouse > and < m-rightmouse > to jump back and forth.

The markup for hyperlinks is fully configurable. You can, e.g., turn your LaTeX documents into hypertext by issuing the :VikiMinorModeLaTeX command (in case autoload/viki_latex.vim was already loaded) or by :call viki_latex#MinorMode(1).

FULL WIKI MODE:

In full mode, viki becomes a personal wiki. Set 'filetype' to viki. The full wiki mode is like the minor mode but with folding support, syntax highlighting (for headings, lists, tables, textstyles etc.), and additional key bindings (i.e., you can press < c-tab > or < s-c-tab > to move the cursor to the next/previous viki name). You can bind viki mode to some file extension by adding a line like the following to some configuration file (see :help ftdetect or so):

au BufRead,BufNewFile *.viki set ft=viki

In case you missed out on wikis, a wiki is a simple way of creating hypertexts. In its very basic form creating a hyperlink is as easy as writing a word in CamelCase or by enclosing a word in brackets--as in [[destination]] or [-destination-]. URLs are automatically recognized as hyperlinks. You usually begin with creating a directory where your wiki files should go to and by creating a wiki index--a master file that contains references to sub-pages. After a while you end up with many small, tightly interlinked files/notes. There is also some basic support for basic markup like emphasized text, headings and the like. In the case of Viki/deplate, this markup would compare to, e.g., LaTeX markup as follows:

LaTeX: section{Title}
Viki: * Title

LaTeX: emph{text}
Viki: __text__

Requirements:

Vim
tlib
Vimball

INSTALLATION:

Open the vba file and type:

:so %

See :help vimball for details. Also, make sure to read |viki-customization|.

This plugin relies on the use of filetype plugins. Your .vimrc file should thus contain these lines:

set nocompatible
filetype plugin indent on
syntax on

last updated on:
June 23rd, 2008, 8:34 GMT
price:
FREE!
developed by:
Thomas Link
license type:
GPL (GNU General Public License) 
category:
ROOT \ Text Editing&Processing \ Vim Plugins

FREE!

In a hurry? Add it to your Download Basket!

user rating 17

UNRATED
3.5/5
 

0/5

Add your review!

SUBMIT