8

I'm using MonoDevelop 2.6 on MacOS X Snow Leopard.

Is there a way to customize the Shift + END (and Shift + Home) key combinations to select only to the end (or beginning) of the current line, not to the end of the document?

I suppose there is an option somwhere in MonoDevelop for customizing the cursor position after an End or Home key (choosing between EoL or EoF), but I cannot find it in the keyboard settings.

Alexander Abakumov
  • 13,617
  • 16
  • 88
  • 129
Emanuele Sabetta
  • 1,571
  • 12
  • 34

1 Answers1

6

This is how the Home and End keys work in MacOS. To expand the selection to the line start/end on MacOS, you would use Shift-Command-Left/Right. Most Mac apps (including MD) also respect the emacs commands Shift-Control-a/e.

If you want a Windows-like behaviour, look for the commands "Expand selection to line start" and "Expand selection to line end" in MonoDevelop's Key Bindings preferences and remap them.

Mikayla Hutchinson
  • 16,113
  • 2
  • 44
  • 50
  • 1
    Thank you! I've also found an utility to set key bindings for all Mac applications: http://doublecommand.sourceforge.net/ – Emanuele Sabetta Sep 27 '11 at 07:39
  • BetterTouchTool was also able to do this for me (edit system wide). I can't believe this is the default and it hasn't bothered me until this point. – Ocie Mitchell Apr 20 '18 at 01:49