Page 1 of 1

How to Configure "Home" and "End" Keys to Move Cursor to Start/End of Line on macOS

Posted: 27.09.2023 16:20
by esvignolo
Hello everyone,

I've been using CudaText for a while now, and I'm really impressed with its features and performance. Great job to the development team!

I have a question about key configuration on macOS. A while back, there was an update that made the "Home" and "End" keys move the cursor to the beginning and end of the file, respectively. While this is useful in some contexts, I would like to configure these keys to move the cursor to the start and end of the line instead, like it does on Windows and Linux systems.

Could anyone guide me on how to achieve this? Your help would be greatly appreciated.

Thanks in advance, and keep up the great work on this amazing text editor!

Best regards, Esteban

Re: How to Configure "Home" and "End" Keys to Move Cursor to Start/End of Line on macOS

Posted: 28.09.2023 08:54
by main Alexey
- call 'Command Palette' dialog (Help / Command palette)
- find there in the list 2 commands: 'caret to line begin', 'caret to line end'
- press F9 (inside Command Palette) over these 2 commands and set the hotkeys, Home and End. when Cud asks to overwrite existing hotkeys, confirm

You may set also Shift+Home and Shift+End, do it for these 2 commands: 'caret to line begin (end) + select'.

Check that settings/keys.json contains new settings.