insanehunter / XCode4_beginning_of_line

Xcode plugin to make HOME key jump to the first non-whitespace line of code
168 stars 21 forks source link

not working in Xcode 4.2 #1

Closed ryleigh closed 12 years ago

ryleigh commented 12 years ago

There's no change in behaviour when used in Xcode 4.2

insanehunter commented 12 years ago

Yeah, I reproduced this issue, will investigate asap.

insanehunter commented 12 years ago

It was actually working, but only with fn← key on a Mac keyboard (the exact PC keyboard HOME key equivalent). The ⌘← sequence generates a slightly different command and was not handled.

I've added support for both key sequences, hope it fixes your issue.

ryleigh commented 12 years ago

fn← used to (and still does) scroll to the beginning of the file (without moving the cursor) for me, but the new version gives ⌘← the proper behaviour, thanks!