Skip to content

Keymap #8

@emanuelvianna

Description

@emanuelvianna

Hi,

First, thanks for providing this nice plugin. It is being very useful.

I'm not sure if you noticed, but it have conflicted with some sublime keymaps:

  • ctrl+shift+z: redo
  • ctrl+shift+n: new_window

The idea of overriding the "ctrl+shift+z" could be nice, once it may allow us to roll back a refactor in a single step in a very natural way. But, when there isn't any refactor change in the undo list, it should preserve the standard redo behavior, which is not happening.

The way I turnaround this was changing the keymap as follows:

[
    {"keys": ["ctrl+shift+z"], "command": "redo"},
    {"keys": ["ctrl+shift+n"], "command": "new_window"},
    {"keys": ["ctrl+alt+z"], "command": "refactor_undo"},
    {"keys": ["ctrl+alt+y"], "command": "refactor_redo"},
    {"keys": ["ctrl+alt+n"], "command": "refactor_create_project"}
]

Best,
Emanuel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions