Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cursor shortcuts for editor on Mac #22927

Closed
MRxRadex opened this issue Oct 11, 2018 · 6 comments
Closed

Add cursor shortcuts for editor on Mac #22927

MRxRadex opened this issue Oct 11, 2018 · 6 comments

Comments

@MRxRadex
Copy link

Issue description:
Please add combinations for the Mac version of the editor like:
"Cmd + left arrow key" - move cursor to the start of the line.
"Cmd + right arrow key" - move cursor to the end of the line.
"Cmd + Shift + left arrow key" - move cursor to the start of the line with selection.
"Cmd + Shift + right arrow key" - move cursor to the end of the line with selection.
"Cmd + Delete" - delete line.

P.S. Add these not for scripting only, but to the entire engine in menus, etc.

@DrMoriarty
Copy link
Contributor

I think that more interesting is to make ability to change all hotkeys for script editor view.
I also use mac, but I prefer to use emacs like hotkeys. I worked on this problem at https://github.com/DrMoriarty/godot/tree/emacsify but it has very dirty code so I didn't made PR.

May be anybody has any thoughts about making keys customisation?

@maho
Copy link

maho commented Mar 15, 2020

From my point of view, I would like to have home/end buttons to behave like in Linux. However, then go to beginning and end of the file, and that's drives me mad. I would love to be able to customize it.

@sean256
Copy link

sean256 commented Mar 31, 2020

The issue is that key bindings are hard coded, otherwise you'd be able to map them at an OS level to do just that. #34129

@Calinou
Copy link
Member

Calinou commented Mar 31, 2020

Adding support for customizing TextEdit shortcuts in the editor will probably have to wait for #31739 to be done. (We can't add more editor-only code to TextEdit due to #29730.)

@40detectives
Copy link

For the meantime, I get by using a key remapper software that hooks up the input before handling it to godot. In my case I use bettertouchtool but maybe could make it work with karabiner or you keyboard manufacturer software if any.

@Paulb23
Copy link
Member

Paulb23 commented Jun 18, 2021

Fixed by #43663

@Paulb23 Paulb23 closed this as completed Jun 18, 2021
@Paulb23 Paulb23 added this to the 4.0 milestone Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants