[Qt-creator] Sorting lines
Craig Bradney
cbradney at zip.com.au
Fri Apr 30 18:12:17 CEST 2010
On 4/29/10 11:19 PM, Andre Poenitz wrote:
> On Thu, Apr 29, 2010 at 10:27:28PM +0200, Craig Bradney wrote:
>
>> On 4/29/10 10:54 AM, André Pönitz wrote:
>>
>>> On Wednesday 28 April 2010 22:02:24 ext Craig Bradney wrote:
>>>
>>>
>>>>> Great, I have now voted for this one, and will test out fakevim options
>>>>> in the meantime.
>>>>>
>>>>>
>>>>>
>>>> Hmm fakevim does little to nothing.. the mode kicks in, but running the
>>>> !sort does nothing apart from deselect the text selection
>>>>
>>>>
>>> Works for me, just checked.
>>>
>>> Does any ! command work for you?
>>>
>> Hmm.. nope :(.. the plugin does activate though when I hit Alt V Alt V
>>
> So in order to sort, say, three lines, you do something like
>
> <Alt-v><Alt-v>:.,.+2!sort<Return><Alt-v><Alt-v>
>
> or
>
> <Alt-v><Alt-v><Shift-v><Down><Down>:!sort<Return><Alt-v><Alt-v>
>
> ?
>
> This both works here.
>
>
>> Qt Creator is at Qt Creator 1.3.81, ie the 2.0 alpha.
>>
> This is pretty old code, I think it was already in 1.3.0, so your
> version should be fine.
>
> Do you have a 'sort' in your path? [Silly question...]
>
Ahhhhhhhhhhhhhhhhhhhhhhhh
<Alt-v><Alt-v><Shift-v><Down><Down>:!sort<Return><Alt-v><Alt-v>
works.. I was hoping for mouse selection.. so I guess I was "sorting"
just one line before!
Yes, sort is in the path (Snow Leopard).
Thanks!
Craig
More information about the Qt-creator-old
mailing list