From 56f5417debe0c940e8388e7e7696887413fd29d8 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 10 Oct 2012 15:09:49 +0900 Subject: [PATCH] instead of using drill-instructor cursor keys move around window --- emacs.el | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/emacs.el b/emacs.el index e22913c..aab0e03 100644 --- a/emacs.el +++ b/emacs.el @@ -140,19 +140,10 @@ otherwise the path where the library installed." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; global keys -(and (dllib-if-unfound - "https://raw.github.com/k1LoW/emacs-drill-instructor/master/\ -drill-instructor.el" - t) - (require 'drill-instructor nil t) - (setq drill-instructor-global t) - (let ((map drill-instructor-key-map)) - (define-key map (kbd "RET") nil) - (define-key map (kbd "DEL") nil) - (define-key map (kbd "C-h") nil))) -'(mapc (lambda (key) - (global-set-key (read-kbd-macro key) 'ignore)) - '("" "" "" "")) +(global-set-key (kbd "") (lambda() (interactive) (scroll-down 1))) +(global-set-key (kbd "") (lambda() (interactive) (scroll-up 1))) +(global-set-key (kbd "") 'scroll-down) +(global-set-key (kbd "") 'scroll-up) (define-key my-prefix-map (kbd "C-o") 'occur)