[Qt-creator] EmacsKeys - a Qt Creator plugin

Felix Berger bflat1 at gmx.net
Thu Feb 11 01:36:39 CET 2010


I still l don't know why the command wouldn't be there for you, maybe
the sidebar plugin wasn't enabled?

Anyways, I added a guard for it in the "v1.3.1" branch and also
updated the README on github to mention the v1.3.1 branch in the
installation instructions.

Cheers,
Felix

On Thu, Feb 4, 2010 at 9:09 AM, Felix Berger <bflat1 at gmx.net> wrote:
> Hey Wilhelm,
>
> thanks for trying it out.
>
> I'll look at the command id and fix that.
>
> For C-x,C-s and some other keys to work you have to go to Options ->
> Environment -> Keyboard and Import the EmacsKeys.kms file in the
> emacskeys project folder.
>
> Did other keys work for you, e.g. C-a, M-d, C-k, etc?
>
> Cheers,
> Felix
>
> On Thu, Feb 4, 2010 at 2:47 AM, Wilhelm <wilhelm.meier at fh-kl.de> wrote:
>> Felix Berger schrieb:
>>> Hi Wilhelm,
>>>
>>> I added a branch called v1.3.1 that builds against Qt Creator's
>>> v.1.3.1 branch. Hope that works for you.
>>>
>> thanks for the branch!
>>
>> Unfortunately it doesn't work:
>>
>> command = actionManager->command("QtCreator.Sidebar.File System");
>>
>> returns 0, so I suppose the command does not exist.
>>
>> The pointer isn't checked, so it crashed ;-)
>>
>> After commenting this it compiles and runs but the bindings aren't
>> active (e.g. C-x  C-s doesn't save the file, still it is C-s)
>>
>>> Felix
>>>
>>> On Mon, Feb 1, 2010 at 12:55 PM, Wilhelm <wilhelm.meier at fh-kl.de> wrote:
>>>
>>>> Hi,
>>>>
>>>> Felix Berger schrieb:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm pleased to announce EmacsKeys, a plugin for Qt Creator that
>>>>> provides basic Emacs key bindings and functionality.
>>>>>
>>>>>
>>>> great!
>>>>
>>>>> Project page: http://github.com/fberger/emacskeys
>>>>> Git repository: git://github.com/fberger/emacskeys.git
>>>>>
>>>>>
>>>> can't build that with qtcreator-1.3.1. Can you update the plugin?
>>>>
>>>>
>>>>> EmacsKeys provides the following features:
>>>>>
>>>>> * EmacsKeys.kms - A Keyboard Mapping Scheme for Qt Creator that can be
>>>>> imported in Options -> Environment -> Keyboard. It overrides some of the
>>>>> standard key bindings used in Qt Creator and replaces them with Emacs
>>>>> ones: C-s, C-x,s, C-x,C-s, C-x,C-w.
>>>>>
>>>>> * Kill ring - the Emacs kill ring allows you to maintain a history of your
>>>>> clipboards content. Caveat: It only works when text is inserted into it with
>>>>> C-W, M-w, C-k, M-d and M-Backspace.
>>>>>
>>>>> * The following keys work as expected: C-n, C-p, C-a, C-e, C-b, C-f, M-b, M-f,
>>>>>   M-d, M-Backspace, C-d, M-<, M->, C-v, M-v, C-Space, C-k, C-y, M-y, C-w, M-w.
>>>>>
>>>>> * C-x,b opens the quick open dialog at the bottom left.
>>>>>
>>>>> * C-x,C-b switches to the File System view on the left.
>>>>>
>>>>> * M-/ triggers the code completion that is triggered by C-Space normally.
>>>>>
>>>>> * Mnemonics are removed from some of the menus to allow conflicting Emacs keys
>>>>>   to work.
>>>>>
>>>>>
>>>>> The code works, but is not very clean at this point. If there was any
>>>>> interest in making this part of the official distribution at some
>>>>> point, I'd be happy to make it comply with any guidelines.
>>>>>
>>>>> Cheers,
>>>>> Felix
>>>>> _______________________________________________
>>>>> Qt-creator mailing list
>>>>> Qt-creator at trolltech.com
>>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>>>
>>>>>
>>>> --
>>>> Wilhelm
>>>>
>>>>
>>>> _______________________________________________
>>>> Qt-creator mailing list
>>>> Qt-creator at trolltech.com
>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>
>>
>>
>> --
>> Wilhelm
>>
>>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
>>
>




More information about the Qt-creator-old mailing list