[Qt-creator] EmacsKeys - a Qt Creator plugin
Wilhelm
wilhelm.meier at fh-kl.de
Thu Feb 4 08:47:57 CET 2010
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
More information about the Qt-creator-old
mailing list