Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (28 sloc) 1.16 KB

Starter Kit Ergonomic KeyBindings

This is part of the Emacs Starter Kit.

Starter Kit Ergonomic KeyBindings

Xah Lee’s ergonomic keybindings.

Enable

(setenv "ERGOEMACS_KEYBOARD_LAYOUT" "us") ;; or your own layout
(add-to-list 'load-path
             (expand-file-name "ergonomic-keybindings"
                               (expand-file-name "vendor"
                                                 dotfiles-dir)))
(require 'ergoemacs-mode)
(ergoemacs-mode 1)

Customize ErgoEmacs mode

Enable CUA mode and Ctrl-Tab

Restore M-x as execute-extended-command and (you may want to comment this out)

(require 'ourcomments-util)
(setq ourcomments-ido-ctrl-tab t)
(cua-mode t)
(define-key ergoemacs-keymap (kbd "M-x") 'execute-extended-command)
(define-key isearch-mode-map (kbd "C-f") 'isearch-repeat-forward)
(define-key isearch-mode-map (kbd "C-S-f") 'isearch-repeat-backward)
(define-key ergoemacs-keymap (kbd "C-x C-f") 'find-file)