≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1531

Bug #1531: Esc key mapping broken for some terminals

Kind bug
Product Command-T
When Created 2010-04-02T11:29:40Z, updated 2010-04-03T17:40:12Z
Status closed
Reporter Greg Hurrell
Tags no tags

Description

Copied from:

  • http://github.com/wincent/Command-T/issues#issue/1

if i try to use any cursor keys it will exit command-t and insert a A,B,C or D in the text.

also backspace is just moving backwards for me and not deleting any characters

The explanation can be found in :help vt100-cursor-keys.

The workaround, for now, will be to not set up any mapping for <Esc> when &term is a variant of either vt100 or xterm. In this case <C-c> can be used instead.

The longer-term fix will be to provide a means for users to override the default key mappings from within their .vimrc.

Comments

  1. Greg Hurrell 2010-04-03T17:39:28Z

    Ok, have now implemented the second part of the fix (the ability to set overrides for the default mappings) so am going to mark this one as closed.

    Will be available in the 0.5 release which I am about to push out.

  2. Greg Hurrell 2010-04-03T17:40:12Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets