[texworks] Some remarks regarding TeXworks on Mac OS X

Berend Hasselman bhh at xs4all.nl
Mon Aug 3 18:40:20 CEST 2009

On 03-08-2009, at 17:27, Jonathan Kew wrote:

> On 3 Aug 2009, at 16:19, Berend Hasselman wrote:
>> On 03-08-2009, at 08:35, Alain Delmotte wrote:
>>> Hi Berend,
>>> I think (hope) that you have the same kind of possibility under  
>>> Mac then Windows for (re-)defining your keyboard short-cuts.
>>> See at my site: http://www.leliseron.org/texworks for the part on  
>>> "shortcuts.ini" and the possible actions.
>>> For example I did redefine Ctrl+Home and Ctrl+End to go to  
>>> beginning and end of the preview.
>> Most extraordinary.
>> I defined in ~/Library/TeXworks/configuration/shortcuts.ini
>> actionLast_Page = Ctrl+End
>> actionFirst_Page = Ctrl+Home
>> which doesn't work (these key combinations do nothing).
>> But then Command+End and Command+Home goto the last and first page  
>> of the preview respectively.
>> Mysterious.
>> Berend
> No, that's not mysterious, it's a feature of Qt.
>  http://doc.trolltech.com/4.5/qkeysequence.html#details
> Because it is a cross-platform framework, Qt "translates" Ctrl+<key>  
> shortcuts into the corresponding Cmd+<key> for the Mac. This  
> generally works pretty well -- so for example, File/Open and File/ 
> Save are Ctrl+O and Ctrl+S for Windows and Linux, and they appear as  
> Cmd+O and Cmd+S on the Mac. But obviously it can be a little  
> confusing if you're thinking purely as a Mac user when writing  
> shortcut key names.

What are the action names for MovetoStartofLine and MovetoEndofLine?
Then I could set


and get the behaviour of Home and End in the editor that I so want.


More information about the texworks mailing list