sponsor Vim development Vim logo Vim Book Ad

stickykey : You don't need press very far away meta keys

 script karma  Rating 0/0, Downloaded by 1072  Comments, bugs, improvements  Vim wiki

created by
script type
latest version at http://github.com/tyru/stickykey.vim/

This plugin provides Sticky Key to you.
With Sticky Key, you can emulate <C-o> by ";o".
(In this case, <Plug>(stickykey-ctrl) is mapped to ";")

And I suppose you are using GNU screen :)
Inputting screen's hotkey is a little complicated.
But you can send key input to screen fastly, certainly, and easily.


<Plug>(stickykey-...-remap) works like recursive mapping.

    Sticky key for |ctrl|.

    Sticky key for |alt|.

    Sticky key for |shift|.

    Sticky key for Macintosh command key. (see |<D-|)


g:stickykey_when_no_escaped_key string (default: "thru")
    This variables determines when stickykey can not find
    escaped input with meta key.
    For e.g., while waiting the next key after pressing
    "<Plug>(stickykey-ctrl)", <C-o> is input.
    This variable can be any one of those:
            Behave like no key is input.
            Execute key without escaping with meta key.
            Dispose current key input, wait next input again.
install details
just install to your ~/.vim directory

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
stickeykey.zip 0.0.1a 2011-01-28 7.0 tyru fix error: j is undefined variable
stickeykey.zip 0.0.1 2011-01-27 7.0 tyru - refactoring
- add experimental options to g:stickykey_when_no_escaped_key ("input", "mapping")
stickykey.zip 0.0.0 2010-02-25 7.0 tyru 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.