sponsor Vim development Vim logo Vim Book Ad

cream-keytest : Test and interpret keyboard characters returned by your hardware/software.

 script karma  Rating 17/5, Downloaded by 881    Comments, bugs, improvements  Vim wiki

created by
Steve Hall
script type

Test and interpret individual keyboard characters. Useful to see exactly what code your hardware and software combination returns for a given keystroke. Where our interpretation table isn't complete, the actual decimal values for the key pressed are returned.


* The interpretation table is currently unfinished. There are literally between 400 and 700 possible keystroke combinations on the average keyboard. Please look at the complete Ctrl/Shift/Alt combination interpretations of the Ins, Del, Home, End, PgUp, PgDn keys for an example of a full test.

* This has only been tested with &encoding=latin1.

* If you take the time to develop the script further, please forward your explorations or improvements them back to us! (Besides, that's what the GPL is all about. ;)

This is one of many custom utilities and functions for gVim from the Cream project (http://cream.sourceforge.net), a configuration of Vim for those of us familiar with Apple and Windows software.

install details

Just drop this file into your plugins directory, and start Vim.

* Call "Cream_keytest()" to get feedback about each key pressed.

* Call "Cream_keyinterpret()" to return only the interpretation. An empty return means character not yet in the table.


rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cream-keytest.vim 1.0 2002-11-18 6.0 Steve Hall Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo