SublimErl icon indicating copy to clipboard operation
SublimErl copied to clipboard

Default keyboard shortcut to auto indent in Linux

Open victorolinasc opened this issue 12 years ago • 5 comments

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!

victorolinasc avatar Oct 30 '12 02:10 victorolinasc

hi @victorolinasc,

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

ostinelli avatar Oct 30 '12 05:10 ostinelli

I use ctrl + shift + L.

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

Rgds

victorolinasc avatar Oct 30 '12 09:10 victorolinasc

Thanks for the suggestion.

ostinelli avatar Mar 01 '13 04:03 ostinelli

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

Andy-Richards avatar Jun 04 '13 10:06 Andy-Richards

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.

AlexCzar avatar Sep 01 '13 11:09 AlexCzar