Changing key bindings for Forward slurp

44 views
Skip to first unread message

Erik Karlsson

unread,
May 2, 2013, 5:18:17 PM5/2/13
to clojured...@googlegroups.com
Hi,

I'm using non US layout where the ( character is generated with SHIFT + 8.

The problem is that the Paredit's Forward slurp would require (with Mac keyboard) CMD + ) S. I can't achieve this because eclipse thinks I'm trying CMD+SHIFT+8 S as the keyboard shortcut.

Is there way to redefine the Forward/Backward slurp keyboard shortcuts? I didn't find them from the shortcut list in preferences -> general -> keys.

Thanks beforehand!

- Erik

Laurent PETIT

unread,
May 2, 2013, 5:39:46 PM5/2/13
to clojuredev-users
Hello Erik,

2013/5/2 Erik Karlsson <erik.b....@gmail.com>:
Yes, those are bound to regular commands:
https://github.com/laurentpetit/ccw/blob/lein/ccw.core/plugin.xml#L302

Here are the associated labels:
https://github.com/laurentpetit/ccw/blob/lein/ccw.core/plugin.properties#L19

HTH,

--
Laurent

>
> - Erik
>
> --
> You received this message because you are subscribed to the Google Groups
> "counterclockwise-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojuredev-use...@googlegroups.com.
> To post to this group, send email to clojured...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojuredev-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Erik Karlsson

unread,
May 3, 2013, 2:43:51 PM5/3/13
to clojured...@googlegroups.com
Hi,

I checked the plugins.properties and plugin.xml files in Eclipse's plugins directory. For some reason files doesn't contain the command

ccw.ui.edit.text.clojure.forward-slurp
command.forward-slurp.description 

I'm using Juno service release 2 on Mac.

The version of CCW is 0.12.3.STABLE001

I installed the plugin from http://ccw.cgrand.net/updatesite/

br,
- Erik

Erik Karlsson

unread,
May 5, 2013, 9:57:35 AM5/5/13
to clojured...@googlegroups.com
Hi,

One more question. What is the difference with these branches:



The master doesn't contain the slurp command and the lein contains. Just wondering which one should be used if I build manually ccw.


br,
- Erik

Laurent PETIT

unread,
May 5, 2013, 10:30:13 AM5/5/13
to clojuredev-users
Hello,

2013/5/5 Erik Karlsson <erik.b....@gmail.com>:
> Hi,
>
> One more question. What is the difference with these branches:
>
> https://github.com/laurentpetit/ccw/blob/master/ccw.core/plugin.xml
>
> https://github.com/laurentpetit/ccw/blob/lein/ccw.core/plugin.xml
>
> The master doesn't contain the slurp command and the lein contains. Just
> wondering which one should be used if I build manually ccw.

A week ago, I realized that the content that was currently developed
and delivered in the beta was still not ready, and I felt overwhelmed.

So I decided to step back, and to start again from the last stable, aka 0.12.3.

I've first done the reorg stuff that lead to automatic build via maven
/ tycho / travis ; and left the content of what is currently delivered
in the "betas" channel in the "lein" branch.

I will now carefully interactively rebase / cherry-pick stuff from the
"lein" branch and commit it onto master. At the very minimum, I'll
take the slurp/barf feature since I see introducing it as innocuous,
and release a 0.13.0 stable from it.

Other lein stuff will have to wait after 0.13.0, or I'll find a way to
have it totally optional so that it does no harm having it alongside
current behaviour.

tl;dr : the "lein" branch's content will be totally torn apart in the
next few weeks, so consider this is private to me and don't depend
upon it.

Cheers,

--
Laurent

>
>
> br,
> - Erik
>
> On Friday, May 3, 2013 9:43:51 PM UTC+3, Erik Karlsson wrote:
>>
>> Hi,
>>
>> I checked the plugins.properties and plugin.xml files in Eclipse's plugins
>> directory. For some reason files doesn't contain the command
>>
>> ccw.ui.edit.text.clojure.forward-slurp
>> command.forward-slurp.description
>>
>> I'm using Juno service release 2 on Mac.
>>
>> The version of CCW is 0.12.3.STABLE001
>>
>> I installed the plugin from http://ccw.cgrand.net/updatesite/
>>
>> br,
>> - Erik
>>
>>
>>
>> On Friday, May 3, 2013 12:18:17 AM UTC+3, Erik Karlsson wrote:
>>>
>>> Hi,
>>>
>>> I'm using non US layout where the ( character is generated with SHIFT +
>>> 8.
>>>
>>> The problem is that the Paredit's Forward slurp would require (with Mac
>>> keyboard) CMD + ) S. I can't achieve this because eclipse thinks I'm trying
>>> CMD+SHIFT+8 S as the keyboard shortcut.
>>>
>>> Is there way to redefine the Forward/Backward slurp keyboard shortcuts? I
>>> didn't find them from the shortcut list in preferences -> general -> keys.
>>>
>>> Thanks beforehand!
>>>
>>> - Erik
>

Erik Karlsson

unread,
May 5, 2013, 10:39:59 AM5/5/13
to clojured...@googlegroups.com
Hi,

Thanks for the reply and thanks for the good plugin.

br,
- Erik
Reply all
Reply to author
Forward
0 new messages