Just found some cool shortcuts!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Just found some cool shortcuts!

abergel
Hi!

I am not sure if other have seen this. Select a piece of text in a workspace, and type:

cmd-shift-‘
=> insert ‘ … ‘ around the selected text

cmd-shift-[
=> insert [ … ]

Cool!

Are there other shortcuts?

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Just found some cool shortcuts!

Peter Uhnak
The same goes for (, { and comments ". Also I use alt+shift+t / alt+shift+f to insert ifTrue: / ifFalse: (alt+shift will be probably different on non-linux).
And the most important shortcut of all ctrl+shift+f to reformat code (doesn't work in workspace :'( ).
Also ctrl+alt+r / ctrl+alt+l to indent (move right) / de-indent (move left) selection (unlike code formatting works also in workspace).

Maybe this could be written somewhere centrally along with other shortcuts in other contexts? (do it / browse / switch between windows, open workspace / etc.).
Shortcuts are great but I find them mostly by accident. :(

On Wed, Oct 1, 2014 at 7:09 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

I am not sure if other have seen this. Select a piece of text in a workspace, and type:

cmd-shift-‘
=> insert ‘ … ‘ around the selected text

cmd-shift-[
=> insert [ … ]

Cool!

Are there other shortcuts?

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Just found some cool shortcuts!

Thierry Goubier
In reply to this post by abergel
Alexandre,

why do you press Cmd-Shift-' ? Pressing ' over a selection should add/remove the ' ' around the selection. The same for (, ", {, [ ...

Thierry

2014-10-01 19:09 GMT+02:00 Alexandre Bergel <[hidden email]>:
Hi!

I am not sure if other have seen this. Select a piece of text in a workspace, and type:

cmd-shift-‘
=> insert ‘ … ‘ around the selected text

cmd-shift-[
=> insert [ … ]

Cool!

Are there other shortcuts?

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Just found some cool shortcuts!

abergel
Indeed it does.

Alexandre


On Oct 2, 2014, at 7:25 AM, Thierry Goubier <[hidden email]> wrote:

> Alexandre,
>
> why do you press Cmd-Shift-' ? Pressing ' over a selection should add/remove the ' ' around the selection. The same for (, ", {, [ ...
>
> Thierry
>
> 2014-10-01 19:09 GMT+02:00 Alexandre Bergel <[hidden email]>:
> Hi!
>
> I am not sure if other have seen this. Select a piece of text in a workspace, and type:
>
> cmd-shift-‘
> => insert ‘ … ‘ around the selected text
>
> cmd-shift-[
> => insert [ … ]
>
> Cool!
>
> Are there other shortcuts?
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Just found some cool shortcuts!

SergeStinckwich
In reply to this post by Peter Uhnak
I was using these shortcuts since a long time, I don't remember when
and how, I started ;-)

On Thu, Oct 2, 2014 at 11:15 AM, Peter Uhnák <[hidden email]> wrote:

> The same goes for (, { and comments ". Also I use alt+shift+t / alt+shift+f
> to insert ifTrue: / ifFalse: (alt+shift will be probably different on
> non-linux).
> And the most important shortcut of all ctrl+shift+f to reformat code
> (doesn't work in workspace :'( ).
> Also ctrl+alt+r / ctrl+alt+l to indent (move right) / de-indent (move left)
> selection (unlike code formatting works also in workspace).
>
> Maybe this could be written somewhere centrally along with other shortcuts
> in other contexts? (do it / browse / switch between windows, open workspace
> / etc.).
> Shortcuts are great but I find them mostly by accident. :(
>
> On Wed, Oct 1, 2014 at 7:09 PM, Alexandre Bergel <[hidden email]>
> wrote:
>>
>> Hi!
>>
>> I am not sure if other have seen this. Select a piece of text in a
>> workspace, and type:
>>
>> cmd-shift-‘
>> => insert ‘ … ‘ around the selected text
>>
>> cmd-shift-[
>> => insert [ … ]
>>
>> Cool!
>>
>> Are there other shortcuts?
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Help fight Ebola by joining the Computing for Ebola Challenge
http://bit.ly/1oEdBag

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Just found some cool shortcuts!

Thierry Goubier
In reply to this post by abergel


2014-10-02 16:42 GMT+02:00 Alexandre Bergel <[hidden email]>:
Indeed it does.

My only issue with that is now I expect my email reader to do the same :(

Thierry

Alexandre


On Oct 2, 2014, at 7:25 AM, Thierry Goubier <[hidden email]> wrote:

> Alexandre,
>
> why do you press Cmd-Shift-' ? Pressing ' over a selection should add/remove the ' ' around the selection. The same for (, ", {, [ ...
>
> Thierry
>
> 2014-10-01 19:09 GMT+02:00 Alexandre Bergel <[hidden email]>:
> Hi!
>
> I am not sure if other have seen this. Select a piece of text in a workspace, and type:
>
> cmd-shift-‘
> => insert ‘ … ‘ around the selected text
>
> cmd-shift-[
> => insert [ … ]
>
> Cool!
>
> Are there other shortcuts?
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev