Hi Vlad,

unfortunately, customizing Karabiner is not for the faint of the heart. I 
highly recommend reading through the documentation and the private.xml 
Reference Manual:
https://pqrs.org/osx/karabiner/document.html#privatexml
https://pqrs.org/osx/karabiner/xml.html.en

To get you started, the XML part for configuring the D+K = copy functionality 
in the private.xml:

<item>
        <name>D+K for Copy</name>
        <identifier>remap.d_plus_k_for_copy</identifier>
        <autogen>__SimultaneousKeyPresses__ KeyCode::D, KeyCode::K, KeyCode::C, 
ModifierFlag::COMMAND_L</autogen>
</item>

Especially useful: With setting <only>BBEdit</only> you can restrict the 
remapping to our favorite text editor.

To get a glimpse at the general possibilities see the pre-packed examples in 
the „Change Key“ tab of Karabiner.

For using it with BBEdit I find it especially useful to remap Caps Lock to 
„Hyper“ (cmd+alt+ctrl+shift) - it gives you a new modifier key you can use for 
calling all that menu items and scripts when running out of „free“ shortcuts 
:-).

The XML for that (you also have to set Caps Lock to „no function“ in OS X 
keyboard system preferences):

<item>
    <name>Remap Caps Lock to Hyper</name>
    <appendix>OS X doesn't have a Hyper. This maps Left Control to Control + 
Shift + Option + Command.</appendix>
    <identifier>caps_lock_to_hyper</identifier>
    <autogen>
        --KeyToKey--
        KeyCode::F19,

        KeyCode::COMMAND_L,
        ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L
    </autogen>
</item>


I hope this is not too off-topic for this list, but IMO BBEdit can profit a lot 
from this tool.

Have fun tinkering your keys,
Roland




--  
Roland Küffner
Sent with Airmail

Am 10. Februar 2015 bei 10Februar 16:05:45, Vlad Ghitulescu 
(v...@ghitulescu.de) schrieb:
> and…
>  
> > Am 10.02.2015 um 15:41 schrieb Roland Küffner :
> >
> > I’m using the fine tool Karabiner (https://pqrs.org/osx/karabiner/  
> - formerly known as KeyRemap4MacBook) for customizing my copy/paste needs. 
> Among a  
> lot of other things this nice tool allows for binding commands to 
> simultaneous key presses.  
> What I did is this:
> >
> > Simultaneous pressing D + K = Copy
> > Simultaneous pressing F + J = Paste
> >
> > So with using standard key fingering, I just press down both middle fingers 
> > to copy and  
> both index fingers to paste stuff. This feels ultra fast after a short 
> learning period  
> and works system wide.
>  
> … how do you do this in Karabiner?!
> (as I said, I’ve just downloaded Karabiner so I don’t know anything at all 
> about how to  
> make a customized-key-remap)
>  
> Thanks again!
> Vlad
>  
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter:  
>  
> ---
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk"  
> group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.  
> To post to this group, send email to bbedit@googlegroups.com.
>  

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.

Reply via email to