Next: , Previous: Setup, Up: Setup



9.1 General configuration

You can control which keys are used, and which other facilities are turned on, by giving some symbols as arguments to versor-setup.

The arguments can be any (combination) of

arrows
for the main cursor keys
arrows-misc
for insert, delete etc
keypad
for the keypad cursor keys
keypad-misc
for keypad insert, delete etc
meta
to make <Meta> and whichever arrow keys you have selected do the movement between dimensions; this is good if you have modifier pedals to extend your keyboard, but is likely not to work with console input, so may only be usable if you're using a window system such as X
ctrl-x
to make C-x and whichever arrow keys you have selected do the movement between dimensions; this is the default, as it works OK on consoles as well as with window managers

to select which keys are set up to do Versor commands.

You can turn on further facilities by including the following symbols amongst the arguments:

modal
remember a different dimension for each mode
local
remember a different dimension for each buffer
text-in-code
switch dimensions for string literals and comments, allowing code-oriented movement in actual code, and text-oriented movement in embedded natural language text
menu
define a menu of Versor commands
verbose
rabbit on endlessly about what it is doing

The recommended default setup is:

     (versor-setup 'arrows 'arrows-misc 'modal 'text-in-code 'menu)

You may then want to customize it further, like this:

       ;; preset the dimensions for some modes
       (setq versor-mode-current-levels
     	    (mapcar 'versor-mode-levels-triplet
     		    '(
     		      (emacs-lisp-mode "structural" "exprs")
     		      (lisp-interaction-mode "structural" "exprs")
     		      (c-mode "program" "statement-parts")
     		      (text-mode "cartesian" "lines")
     		      (html-helper-mode "text" "words")
     		      )))

SourceForge.net Logo