Skip to content

Instantly share code, notes, and snippets.

@anekos
Created February 15, 2010 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anekos/304734 to your computer and use it in GitHub Desktop.
Save anekos/304734 to your computer and use it in GitHub Desktop.
'<C-n> <C-p>'.split(/\s/).forEach(
function (key)
mappings.addUserMap(
[modes.INSERT],
[key],
'',
function () mappings.getDefault(modes.NORMAL, key).action(1)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment