diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2014-02-16 03:48:46 (GMT) |
|---|---|---|
| committer | Ravikiran Rajagopal <aine.marina@gmail.com> | 2014-02-16 03:48:46 (GMT) |
| commit | 1eaa11fee9774a9d27b6a158161a99ebc2f9f007 (patch) | |
| tree | 4dccb5e4371a6a55d5ec4b69eff873ab472d7ae9 | |
| parent | fe129ed1af81dd84782045761b45aa6831f2362e (diff) | |
| download | dotemacs-1eaa11fee9774a9d27b6a158161a99ebc2f9f007.zip dotemacs-1eaa11fee9774a9d27b6a158161a99ebc2f9f007.tar.gz dotemacs-1eaa11fee9774a9d27b6a158161a99ebc2f9f007.tar.bz2 | |
Automatically enable ergodox mode
| -rw-r--r-- | init.el | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -90,7 +90,16 @@ :ensure t ) +(use-package s :ensure t) +(require 's) (require 'ravi-ergodox-mode) +(if (s-contains? "Ergodox" (shell-command-to-string "xinput")) + (ravi-ergodox-mode) + (progn + ;; Temporary key-bindings + (bind-key "<f9>" 'ido-find-file) + (bind-key "<f8>" 'ido-switch-buffer) + (bind-key "<f12>" 'undo-tree-undo))) (require 'ravi-init-ido) (require 'ravi-init-marks) @@ -103,8 +112,3 @@ (require 'ravi-init-cpp) (require 'ravi-init-python) (require 'ravi-init-layouts) - -;; Temporary key-bindings -(bind-key "<f9>" 'ido-find-file) -(bind-key "<f8>" 'ido-switch-buffer) -(bind-key "<f12>" 'undo-tree-undo) |
