Home End buttons like PC in Karabiner-Elements

1,986 views
Skip to first unread message

nka...@gmail.com

unread,
Oct 28, 2016, 3:30:57 AM10/28/16
to Karabiner
Hello,
does anyone know how can I change the home & end buttons in karabiner-elements in sierra ?
I have done this method as described here:

but it doesn't work correctly as in karabiner (from what I remember).

For example if you want to select only a sentence, you press shift and then the home or end but if there is more text to it, it selects ALL the text above or below this sentence !?! I would like to select ONLY this sentence.

Which configuration can I use in karabiner-elements so that it will work like before ?

Thanks !!

i....@berlic.net

unread,
Nov 1, 2016, 11:35:57 AM11/1/16
to Karabiner, nka...@gmail.com
What exactly doesn't work?

I use this setup for myself:
    /* home */
    "\UF729"  = "moveToBeginningOfLine:";
    "$\UF729" = "moveToBeginningOfLineAndModifySelection:";

    /* end */
    "\UF72B"  = "moveToEndOfLine:";
    "$\UF72B" = "moveToEndOfLineAndModifySelection:";

    /* page up/down */
    "\UF72C"  = "pageUp:";
    "\UF72D"  = "pageDown:";

This gives:
fn+left/right to move cursor to start/end of line (or select with shift)
fn+up/down – to move cursor one page up / page down


Nikos Karafotias

unread,
Nov 1, 2016, 12:23:43 PM11/1/16
to i....@berlic.net, Karabiner
Hello my friend !

yes, you are right !
I had these:

{
"\UF729" = "moveToBeginningOfLine:"; /* home key */
"\UF72B" = "moveToEndOfLine:"; /* end key */
"\UF72C"   = "pageUp:"; /* PageUp */
"\UF72D"   = "pageDown:"; /* PageDown */
}

which were not good enough for what I wanted.

I tried yours and it's working perfectly fine!
Thank you again !!!

sari...@gmail.com

unread,
Feb 1, 2017, 12:02:13 PM2/1/17
to Karabiner, nka...@gmail.com, i....@berlic.net
where do I put this code in Karabiner Elements?

charl...@gmail.com

unread,
May 2, 2017, 8:09:34 AM5/2/17
to Karabiner, nka...@gmail.com, i....@berlic.net, sari...@gmail.com
Same here. Karabiner-Elements doesn't allow you (as far as I can see) to map Home or End to act like PC (to move to start / end of line), which requires to map to Cmd+Right arrow and Cmd+Left arrow.  You only seem to be able to map single keys to single keys.

The old Karabina was fine and allowed this. Or am I missing something?

Thanks.
Reply all
Reply to author
Forward
0 new messages