开发者

Xcode: How to get page up and page down to move cursor?

开发者 https://www.devze.com 2023-03-06 18:38 出处:网络
This is a mac thing (because text edit does the same) but I just want to change this in xcode. I\'d like the cursor to move when I hit the page-up and page-down button. Kind of like the way windows o

This is a mac thing (because text edit does the same) but I just want to change this in xcode.

I'd like the cursor to move when I hit the page-up and page-down button. Kind of like the way windows or linux work. I know I can hold down the "option" button an开发者_Go百科d then go page-up, page-down and it works

- but I don't want to hold the option button.

I tried fiddling around with key bindings in xcode but couldn't get it, anyone know how?


In preferences, go to key bindings, type "page" in the search box, look for Page Down (Selection) / Page Up (Selection), click there and hit your pgdn/pgup keys.

Delete the pgdn/pgup keys from Scroll Page Up/Down.


Whit Xcode 6.1 (and >) is quite different, but similar to Colin's answer.

Xcode > Preferences > Key Bindings

Search for "Move Page Up": by default it's bindend with Alt+PgUp

You can change your binding simply with PgUp.

There may be conflicts, resolve it is suggested.

Than repeat the same for "Move Page Down".


Install KeyRemap4MacBook and life will be good. If you have a PC/Mac/Linux environment the MacOS keyboard inconsistencies can be a real pain. We have all of our Macs setup to work as PC keyboards work. Now switching from one system to the other several times a day is not a problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消