- MAC END KEY GO TO END OF LINE FULL
- MAC END KEY GO TO END OF LINE CODE
- MAC END KEY GO TO END OF LINE PC
- MAC END KEY GO TO END OF LINE FREE
Quit and relaunch apps for this to take effect.
MAC END KEY GO TO END OF LINE CODE
Copy-paste Damien's code into that window and hit save. Type/copy paste in "touch ~/Library/KeyBindings/DefaultKeyBinding.dict" and hit enterĪ Notepad window will pop up. Type/copy paste in "mkdir -p ~/Library/KeyBindings/" and hit enter with the following contents" means:ġ)Open Terminal. So, I built something that works in all contexts (ok, almost all) using Hammerspoon, a superb tool for automation on the Mac:įor those like me, who aren't regular Terminal users and who don't just intuitively know what "create a file. Karabiner is the go-to tool for key remapping, but there are issues with Sierra (Karabiner-elements is the next thing, but still a work in progress. There you need to pass different keys so everything works.
MAC END KEY GO TO END OF LINE PC
Trouble is, you can't map control+fn (for copy), nor shift+fn (for paste), which are the keys that map positionally on a PC keyboard (I'm talking for PC keyboards with 2 rows of three keys: Ins, Home, Pg UP / Del, End, Pg Down).Īnother issue is when you are like me, doing lots of Windoz in a VM (Oracle Virtualbox) and remote desktop (Microsoft Remote Desktop for MacOS). I am a left-hand mouser and wanted cut/copy/paste functions with the right hand.
MAC END KEY GO TO END OF LINE FREE
If you have a PC keyboard with LED back-lighting and would like the scroll-lock, num-lock or caps-lock LEDs on when using your Mac check out my free SetLEDs for MacĭefaultKeyBinding.dict is ignored by some applications like XCode and Firefox and in some views like in WebKit web inspectors.Īlso good luck mapping the function key, caps lock (read up on that- a large amount of people want that). Also make sure your editor does not append TXT to the end of it! Note that you need to reboot after creating this file for it to take effect.
This remapping does the following in most Mac apps - including Chrome (some apps manage their key handling directly): "^$\UF72B" = moveToEndOfDocumentAndModifySelection: // ctrl-shift-end "^$\UF729" = moveToBeginningOfDocumentAndModifySelection: // ctrl-shift-home "^\UF72B" = moveToEndOfDocument: // ctrl-end "^\UF729" = moveToBeginningOfDocument: // ctrl-home "$\UF72B" = moveToEndOfParagraphAndModifySelection: // shift-end
"$\UF729" = moveToBeginningOfParagraphAndModifySelection: // shift-home (And scintilla messages are unique, in that you can actually map a given message to more than one shortcut."\UF729" = moveToBeginningOfParagraph: // home There’s actually a third, SCI_LINEENDDISPLAY (2347, default mapped to Alt+END), which behaves similarly to 2451, except hitting it a second time leaves the cursor where it is.Īny of those Scintilla messages can be mapped to whatever keyboard keys are convenient.
MAC END KEY GO TO END OF LINE FULL
If you do have line-wrap turned on, SCI_LINEEND will take you to the end of the actual line (so if the line wraps so it takes up 3 displayed “rows” on the screen, it will take you to the end of the third row) whereas SCI_LINEENDWRAP will take you to the end of the current displayed “row” (so if the line wraps so it takes up 3 displayed “rows” on the screen, it will take you to the end of whichever row your cursor was on) – though if you’re already at the end of the “row”, running SCI_LINEENDWRAP again will take you to the end of the full line. If you don’t have line-wrap turned on, they both behave the same. That said, there are SCI_LINEEND (scintilla message id 2314) and SCI_LINEENDWRAP (2451) – by default, 2314 is unmapped, and 2451 is mapped to END key. With newer Notepad++ (like v7.6.6), you can filter on something like LINEEND, and it will make it easier to find than scrolling through 62 (more or less) rows. Look for option #62 called SCI_LINEEND (at least it’s #62 in my version)