ostinelli / SublimErl

An Erlang Plugin for Sublime Text 2, which enables code completion and allows you to run tests within the editor itself.
190 stars 44 forks source link

Default keyboard shortcut to auto indent in Linux #48

Open victorolinasc opened 12 years ago

victorolinasc commented 12 years ago

I believe that in most linux flavored distros the keyboard shortcut to auto-ident will not work because it is a system wide shortcut for locking the session (much like the super + L in windows).

I know it is easy to override the default key bindings for this action, but I believe that a change here would enhance the out of the box experience for linux users.

Regards!

PS: keep up the excellent work!

ostinelli commented 12 years ago

hi @victorolinasc,

what do you believe would be a good shortcut? :)

victorolinasc commented 12 years ago

I use ctrl + shift + L.

It would also be nice to have an option to hook it on the save action.

Rgds

ostinelli commented 11 years ago

Thanks for the suggestion.

Andy-Richards commented 11 years ago

+1 yep this one caught me out as a Linux user.

AlexCzar commented 11 years ago

Would be perfect if we could configure shortcuts ourselves. Talking about formatting code it'd be best if shortcut was the same as in popular IDEs out there. E.g. Netbeans uses Alt+Shift+F. I have no problem using Alt+Ctrl+L (which is IntelliJ IDEA default) on Linux, because it's more natural to me to remap Linux's Alt+Ctrl+L to Meta+L (Meta is by default the Win key on Windows specific keyboards) to get universal shortcut for locking the screen both in Linux and Windows, as many of us Linux users dual-boot.