Qt Creator in Emacs keybind

Any way to implement emacs keybind on Qt Creator (QTC)?

Some features:

  • emacskeys , but I was not able to build (perhaps because the version supported by emacskeys is QTC 2.2.1 today).
  • Using the FakeVim function (I have not tried using the b / c modification of vim keybind and setting up emacs seems complicated)
  • emacsclient binding (not verified)

Build error using emacskeys :

 user@host :/usr/share/qtcreator/qt-creator-2.5.0-src$ sudo /usr/local/Trolltech/Qt-4.8.2/bin/qmake && make cd src/ && /usr/local/Trolltech/Qt-4.8.2/bin/qmake /usr/share/qtcreator/qt-creator-2.5.0-src/src/src.pro -o Makefile Failure to open file: /usr/share/qtcreator/qt-creator-2.5.0-src/src/Makefile Unable to generate makefile for: /usr/share/qtcreator/qt-creator-2.5.0-src/src/src.pro make: *** [src/Makefile] Error 5 

Environment) Ubuntu 10.04, Qt 4.8.2, Qt 2.5

+6
source share
1 answer

Inspired by this comment , I was able to configure emacs keybind using QTC .

  • "Environment" → the "Keyboard" tab.
  • Download the configuration file from here
  • Import it.

Please note that I have included only simple text editor commands (e.g. Ca, Ce, etc.).

+10
source

Source: https://habr.com/ru/post/917833/


All Articles