Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable keybindings conflicting with ST built-in features #156

Merged
merged 2 commits into from
Dec 21, 2020

Conversation

rchl
Copy link
Member

@rchl rchl commented Dec 19, 2020

  • Disable super+k, super+z keybinding that conflicts with "Revert hunk".
  • Disable super+k, super+c that conflicts with "Scroll to selection"
  • Disable also keybindings relevant to aforementioned ones as it only
    makes sense to have them both enabled or disabled.
  • Update readme with some cleaner shortcuts documentation

- Disable super+k, super+z keybinding that conflicts with "Revert hunk".
- Disable super+k, super+c that conflicts with "Scroll to selection"
- Disable also keybindings relevant to aforementioned ones as it only
   makes sense to have them both enabled or disabled.
- Update readme with some cleaner shortcuts documentation
// You can pull a file from another pane by binding the following command:
// { "keys": [], "command": "pull_file_from_pane", "args": { "direction": ""} }

{ "keys": ["ctrl+k", "ctrl+z"], "command": "zoom_pane", "args": {"fraction": 0.9} },
{ "keys": ["ctrl+k", "ctrl+shift+z"], "command": "unzoom_pane", "args": {} },
// NOTE: The following keybindings are disabled as they conflict with built-in features.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technically, the built-in ones conflict with these ones because these came first ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A historical detail and not really relevant to the user seeing this message. :)

@rchl rchl merged commit 771b652 into master Dec 21, 2020
@rchl rchl deleted the fix/keybinding-conflict branch December 21, 2020 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants