Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

ISSUE: shortcuts are not working using Windows #94

Closed
lneveu opened this issue Nov 10, 2016 · 11 comments
Closed

ISSUE: shortcuts are not working using Windows #94

lneveu opened this issue Nov 10, 2016 · 11 comments

Comments

@lneveu
Copy link
Contributor

lneveu commented Nov 10, 2016

ISSUE

Hi,
I just realized that shortcuts don't work with Windows :o cmd key does not exist.
And it's probably the same with Linux environment. You should try to adapt shortcuts according to environments?
Like:

'.platform-darwin':
  'cmd-alt-v' : 'project-viewer:toggle-select-view'

'.platform-win32, .platform-linux':
  'ctrl-alt-v' : 'project-viewer:toggle-select-view'

Thx :)

Environment

  • OS: Windows 10;
  • Atom: 1.12.0;
@ghost
Copy link

ghost commented Nov 10, 2016

Your issue doesn't follow our guidelines. Please fix the following:

  • Issue must have at least one label (?)

Click here for details.

Thank you! 🙏

This comment was made by GitMagic – Magically enforcing your contribution guidelines.

@jccguimaraes
Copy link
Owner

hey @lneveu thanks! my bad 👍

let me see if i can make if available tomorrow, fixing some anoying bugs from 3rd party deps...

@ghost
Copy link

ghost commented Nov 11, 2016

Thank you, everything looks good now! :bowtie:

@jccguimaraes jccguimaraes self-assigned this Nov 11, 2016
@jccguimaraes
Copy link
Owner

@lneveu o.O what version of the package you are using?

latest version uses the following keymaps

{
  ".platform-darwin, .platform-win32, .platform-linux": {
      "ctrl-alt-cmd-v": "project-viewer:toggle-select-view",
      "ctrl-alt-cmd-b": "project-viewer:toggle-display",
      "ctrl-alt-cmd-n": "project-viewer:toggle-focus"
  }
}

Can you validate this for me?

@lneveu
Copy link
Contributor Author

lneveu commented Nov 11, 2016

(I'm using the last version of the package at home, but at work I'm still with the 0.2.34 because of this issue #76 ^^)
Sorry, I misspoke :/ It was just an example of how you can (maybe?) fix this issue.
Here, the full keymaps that I have changed to match with my usage:

{
  ".platform-darwin": {
    "cmd-alt-v": "project-viewer:toggle-select-view",
    "cmd-alt-b": "project-viewer:toggle-display",
    "cmd-alt-n": "project-viewer:toggle-focus"
  },
  ".platform-win32, .platform-linux": {
    "ctrl-alt-v": "project-viewer:toggle-select-view",
    "ctrl-alt-b": "project-viewer:toggle-display",
    "ctrl-alt-n": "project-viewer:toggle-focus"
  }
}

I let you try if it's ok for you? Or if you want to change keys or something.

@jccguimaraes
Copy link
Owner

🎩 sir

@jccguimaraes
Copy link
Owner

jccguimaraes commented Nov 11, 2016

i have mapped for the 1.0.0 release the following combinations:

shift-ctrl-alt-<x> do you feel comfortable with this?

These were the least used combinations throughout other packages!

@lneveu
Copy link
Contributor Author

lneveu commented Nov 11, 2016

Thx!
Maybe those combinations are not "very handy" to be easily used but, as you mentioned it, there are so much packages and the number of keys is limited ^^
Anyway, people can re-map the commands with their own shortcuts using the keymap.cson file if they want 😄
(in my case, I'll certainly re-map them with shift-ctrl-<x> 😛 )

@jccguimaraes
Copy link
Owner

Just release 0.3.26. Can you check this out please?

@lneveu
Copy link
Contributor Author

lneveu commented Nov 12, 2016

Thank you! All seems good! (and don't forget to update README.md file with updated shortcuts 👍 )

@jccguimaraes
Copy link
Owner

Good catch, just updated. Will close this then!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants