Hi all,

useful new extensions in Vip:

1. A "map" command, to add or remove key mappings (basically a front-end to the
   *KeyMap globals developed with Erik in this thread).

   You can add a mapping for e.g. the "@" key, which is unused in Vip, like
   this:

      :map @ jjf(c%abc^V<esc><ret>

   This is just a silly example. When "@" is pressed, it moves two lines down,
   finds the first opening parenthesis, and replaces the whole expression with
   "abc".

   The ^V is needed to enter the next character (here <esc>) as a literal.

   To remove this mapping, enter

      :map @<ret>

   If there was a previous mapping for "@", it will be restored.


   Currently unused keys in Vip are

      ( ) @
      F H L T U V Y
      ^G ^H ^K ^L ^N ^O ^P ^U ^V ^Y ^Z
      [ ] ^ _

   but you can also override other keys (including function keys etc.) if you do
   not need them.

2. As you may know, symbols (values and property lists) can be edited in Vip
   directly, without source, from a 'pretty'-printed representation, like

      : (vi '(task curry))

   or its equivalent non-evaluating version

      : (v task curry)

   This always also worked for database objects, like

      : (v {A123} {D7})

   but (besides that it requires deep knowledge about the DB structures) it did
   not save any changes.

   Now Vip takes care of locking, syncing and commiting, and thus works even in
   a production environment while, other users read/write the DB.

☺/ A!ex

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

Reply via email to