How-to in Keymando: dynamically select text and text expansions

22 views
Skip to first unread message

Dylan Conlin

unread,
Jul 28, 2014, 7:55:09 PM7/28/14
to keym...@googlegroups.com
I'm considering moving from Karabiner (formerly KeyRemap4MacBook) to Keymando, but I have a few use-cases I can't figure out in Keymando

1. Is it possible to select dynamically select text? In emacs, this is called "setting the mark." Essentially, you set the mark and then select text via your regular nav keys. When you take any action on selected text--copying, cutting, etc, the mark is unset.

The following doesn't work on Mavericks:

    command "set_mark" do
      hold_key("<shift>")
    end

2. Bindings such as--

    map ;hi, 'Hi there!'

--do not display any text on the screen until the initial string is finished. This is unfortunate, as it's counterintuitive for string input to not show up on the screen. Ideally, text expansions, or snippets would display as entered until we hit a 'completion-modifier' such as `tab`.

Thanks,
Dylan


Sean Mackesey

unread,
Jul 29, 2014, 1:18:31 PM7/29/14
to keym...@googlegroups.com
#1 would require sophisticated communication with the target application. Keymando doesn't do that. But, if the application in which you're editing text already supports setting the mark, then Keymando will let you map that functionality to arbitrary keystrokes.

I think your #2 suggestion only makes sense if you consider Keymando a utility primarily for snippets text/manipulation; Keymando can be used for that, but it doesn't do it particularly well. The real strength of Keymando is its generality. I use it primarily for window resizing, manipulating the visibility of toolbars, and running scripts. You should really use something like TextExpander for snippets. 

Kevin Colyar

unread,
Jul 29, 2014, 1:25:12 PM7/29/14
to keym...@googlegroups.com
Take a look at the abbrev plugin for #2

https://github.com/keymando/abbrev


--
You received this message because you are subscribed to the Google Groups "Keymando" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keymando+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dylan Conlin

unread,
Jul 29, 2014, 1:53:58 PM7/29/14
to keym...@googlegroups.com
Thank you, this is very helpful.
Reply all
Reply to author
Forward
0 new messages