Skip to content

fberger/emacskeys

Repository files navigation

EmacsKeys

EmacsKeys is a plugin for Qt Creator that brings Emacs key bindings and functionality to the Qt Creator IDE.

Features

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 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 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.

Installation

  • Download the source of Qt Creator version 1.2.1 (other versions might work too).
  • cd into src/plugins/
  • git clone git://github.com/fberger/emacskeys.git
  • patch -p 3 < emacskeys/plugins.pro.patch
  • cd ../../
  • qmake && make
  • bin/qtcreator

Credit

The Emacs Key code is based on FakeVim, (C) 2008-2009 Nokia Corporation.

License

The code is licensed under the LGPL version 2.1.

About

Emacs keybindings for Qt Creator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages