plugin/threesomelib/util/keys.py @ adb7e3942b34

Omg something works.
author Steve Losh <steve@stevelosh.com>
date Sun, 12 Jun 2011 21:44:55 -0400
parents (none)
children bc6297aefe4b
import vim


def bind(key, to, options='', mode=None, leader='<localleader>'):
    vim.command('nnoremap %s %s%s %s' % (options, leader, key, to))