From 284c8327c95bb0c71b111ebf95723a35a478295c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 23 Jun 2019 11:43:30 -0700 Subject: Add emacs config --- .emacs.local.d/modes/ecb.el | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .emacs.local.d/modes/ecb.el (limited to '.emacs.local.d/modes/ecb.el') diff --git a/.emacs.local.d/modes/ecb.el b/.emacs.local.d/modes/ecb.el new file mode 100644 index 0000000..146a75f --- /dev/null +++ b/.emacs.local.d/modes/ecb.el @@ -0,0 +1,21 @@ +;;; activate ecb +(require 'ecb) +(require 'ecb-autoloads) + +(setq ecb-layout-name "left13") +(setq ecb-show-sources-in-directories-buffer 'always) + +;;; activate and deactivate ecb +(global-set-key (kbd "C-x C-;") 'ecb-activate) +(global-set-key (kbd "C-x C-'") 'ecb-deactivate) +;;; show/hide ecb window +(global-set-key (kbd "C-;") 'ecb-show-ecb-windows) +(global-set-key (kbd "C-'") 'ecb-hide-ecb-windows) +;;; quick navigation between ecb windows +(global-set-key (kbd "C-)") 'ecb-goto-window-edit1) +(global-set-key (kbd "C-!") 'ecb-goto-window-directories) +(global-set-key (kbd "C-@") 'ecb-goto-window-sources) +(global-set-key (kbd "C-#") 'ecb-goto-window-methods) +(global-set-key (kbd "C-$") 'ecb-goto-window-compilation) + + -- cgit v1.2.3