Insert caret/tilde without enter

191 views
Skip to first unread message

endre...@gmail.com

unread,
Feb 6, 2015, 3:06:47 PM2/6/15
to osx-ka...@googlegroups.com
To insert a tilde or caret (~/^) you need to first press the key for the symbol, then enter. This is because without enter, pressing the key for those symbols puts the keyboard in a waiting mode to see if it recieves a key to modify. For example ~+n is ñ.

Is there a way to insert those two symbols without an additional enter keypress? I use them all the time when hacking and having to press two keys to insert them is really bothersome.

Takayama Fumihiko

unread,
Feb 11, 2015, 10:22:06 AM2/11/15
to endre...@gmail.com, osx-ka...@googlegroups.com
Your desire is an input source dependent issue.
Please tell me your using input source.

--
Takayama Fumihiko <tek...@pqrs.org>

endre...@gmail.com

unread,
Feb 14, 2015, 9:20:59 AM2/14/15
to osx-ka...@googlegroups.com, endre...@gmail.com
What do you mean by input source? Sorry, I can be a bit daft.

 I want to use a Norwegian keyboard layout, haven't decided on which keys to use yet.

Endre

endre...@gmail.com

unread,
Feb 14, 2015, 9:33:38 AM2/14/15
to osx-ka...@googlegroups.com, endre...@gmail.com
Language code: nb
Input source id: com.apple.keylayout.Norwegian

endre...@gmail.com

unread,
Feb 14, 2015, 10:06:29 AM2/14/15
to osx-ka...@googlegroups.com, endre...@gmail.com
I see now that Ctrl+~ immediately inserts tilde, so this is not a problem anymore.

Therefore I would like to learn how to insert ^ without pressing an additional key. I cannot see how to do that.

endre...@gmail.com

unread,
Feb 15, 2015, 12:06:09 AM2/15/15
to osx-ka...@googlegroups.com, endre...@gmail.com
Note to self: karabiner can insert several keys in a row, so to insert a ^ without a modifier, try to insert ^+space.

endre...@gmail.com

unread,
Feb 15, 2015, 9:09:30 AM2/15/15
to osx-ka...@googlegroups.com, endre...@gmail.com
      <autogen>
    __KeyToKey__
    KeyCode::QUOTE,

    ModifierFlag::COMMAND_L,
        ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L,

          __{ KeyCode::BRACKET_RIGHT, ModifierFlag::OPTION_L, KeyCode::SPACE }__
      </autogen>

Takayama Fumihiko

unread,
Feb 15, 2015, 7:22:36 PM2/15/15
to endre...@gmail.com, osx-ka...@googlegroups.com
Keyboard viewer might help you to inspect keyboard layout.
http://www.tuaw.com/2014/03/11/mac-101-using-the-keyboard-viewer-in-os-x-mavericks/

You can input ^ by option-shift-^.
This XML allows you to input ^ by control-^.

<inputsource_only>NORWEGIAN</inputsource_only>
<autogen>
__KeyToKey__
KeyCode::BRACKET_RIGHT, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL | ModifierFlag::NONE,
KeyCode::BRACKET_RIGHT, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L,
</autogen>

--
Takayama Fumihiko <tek...@pqrs.org>
> --
> You received this message because you are subscribed to the Google Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to osx-karabine...@googlegroups.com <mailto:osx-karabine...@googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/osx-karabiner/1c384c6c-e097-4ab3-a006-ebfcab6b9952%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/1c384c6c-e097-4ab3-a006-ebfcab6b9952%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages