Multiple selection mode and escape, goes into command mode #175

Open
deiga opened this Issue Mar 7, 2013 · 0 comments

Comments

Projects
None yet
1 participant

deiga commented Mar 7, 2013

Say you have multiple instances of a word selected. W/o Vintage pressing escape clears the selection.
With Vintage it changes from insert mode to command mode.
I'd like to override this functionality, but my keybinding doesn't seem to have an effect.

I have this in my user keybindings:

{ "keys": ["escape"], "command": "exit_insert_mode",
    "context":
    [
      { "key": "setting.command_mode", "operand": false },
      { "key": "setting.is_widget", "operand": false },
      { "key": "num_selections", "operator": "equal", "operand": 1 }
    ]
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment