md_src_plugins_regexstore_README(3) README

Limitations

The semantics of how the regex works is unsteady and the plugin should be avoided in productive use.

Currently the storage plugin does not have write support. When writing is added, overlapping regex need to be disallowed.

Usage

vim config

First mount the regexstore with some at least one config key:

kdb mount vimrc /vim regexstore "regexstore=root,regexstore/map/#2=#1 map ([^ 
]*) ([^ 
]*)"

(the character classes contain a space and a newline)

So lets say we have a .vimrc with the content:

something else...
map map Q :qa<CR>
something else...
map <C-Q> :qa<CR>
something else...

then we will get two keys with:

user/vim/map/:qa<CR>

emacs config

kdb mount emacs /emacs

Suppose we want to match:

(global-set-key (kbd "<escape>")      'keyboard-escape-quit)

TODO.. not finished