On Mon, Dec 19, 2022 at 05:39:18PM -0500, polifemo wrote:
> I'm slowly studying the @lib/vip.l source, and I've run into a global
> variable that appears to not be documented.
> 
> What's the use of *KeyMap ? I guess it's something to do with custom
> keyboard remappings?

Correct. It allows (re)definitions of command-mode keys.

This can be done with the ":map" command, e.g.

   :map @ :bd<C-V><RETURN>

or with an entry in ~/.pil/viprc or ./.viprc, e.g.

   (map+ "@" ":bd\r")

Both will delete the current buffer by typing "@".

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to