Skip to content

Keybindings go crazy in terminal #58

@grammati

Description

@grammati

When running emacs in a terminal, evil-cleverparens does something extra-funky to the keybindings.

Steps:

  • run emacs in terminal mode (I've tried iTerm and terminal on OSX)
  • with evil and cleverparens mode on, move around the buffer using the arrow keys
  • feel slightly guilty for not using hjkl, but then shrug it off and move on
  • press v to enter visual mode
  • exit visual mode
  • press the up arrow

Result:

  • chaos, cats and dogs living together...
  • also, the up arrow appears to be interpreted now as M-O followd by A', with the result that you end up in insert mode, on a new line above the current function, with a capital letterA`.
  • some other bindings do weird things too - the arrow keys and the mouse-wheel are the ones I have noticed

Turning off cleverparens mode restores the normal functioning of the arrow keys. Also, as noted above, the weirdness does not start until you enter and then exit visual mode.

In case it matters, I see this behavior in Spacemacs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions