9/3/2023 0 Comments Emacs keyboard![]() ConclusionĬonfiguring Qt Creator to work in emacs-mode is easy if you know how to do it and worth the effort. Import the file and voila - you will be running Qt Creator in emacs-mode. To save you some time configuring the keybindings all by yourself I uploaded a sane configuration to GitHub Gist: Emacs.kms. Setting all the Qt Creator Command to match a keybinding for something similar in Emacs requires some handwork. Luckily you can configure the Qt Creator keyboard shortcuts quite easily via the settings menu Tools > Options. However, it does not touch the keyboard shortcuts at all. The EmacsKeys plugin provides new command for Qt Creator so it can be configured to behave like Emacs. If you have thought that you can use the Emacs key combinations right after activating the plugin, then you have made the same mistake as me after first activating the plugin. After restart Qt Creator you are ready to configure the Emacs keybindings. Then you need to add the checkmark next to the plugin in the Installed Plugins window. window via the menu Help > About Plugins. To activate it just open the About Plugins. The EmacsKeys plugin by nsf provides the basis for the Emacs keybindings in Qt Creator. ![]() To activate the emacs-mode in Qt Creator is simple with a recent version of Qt Creator which also comes with the Qt SDK. Well, and after getting used to the Emacs Ctrl-Meta-Key fu, it kinda starts to feel natural navigate with Ctrl-n,p,f,b and to switch between frames with Ctrl-x-o. Since I don't want to switch between different key configurations all the time, it makes sense to configure Qt Creator to behave like Emacs. My answer is quite simple: Qt Creator is an excellent IDE, but I like Emacs as text editor better. Now you might ask why I want to run Qt Creator in Emacs mode anyways. This mini-tutorial is a note to my future self, searching how to configure Qt Creator to behave like Emacs all over the internet after another system reset.Īt the same time, it might serve useful for anyone else looking for the same thing on the web. In this blog post, you will learn how to run Qt Creator in emacs-mode or in layman terms how to configure GNU Emacs keybindings in Qt Creator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |