Permalink
Browse files

my-keys minor mode

  • Loading branch information...
1 parent d28c44b commit d3fff9dec0366f20a6dae3f0e51f61d5477ace8f @azer committed Nov 21, 2011
Showing with 10 additions and 2 deletions.
  1. +9 −1 conf/bindings.el
  2. +1 −1 conf/linum.el
View
@@ -1,5 +1,13 @@
+(defvar my-keys-map (make-keymap) "my-keymap.")
+
+(define-key my-keys-map (kbd "M-r") 'replace-regexp)
+
+(define-minor-mode my-keys
+ t " my-keys" 'my-keys-map)
+
+(my-keys 1)
+
(global-set-key [up] nil)
(global-set-key [down] nil)
(global-set-key [left] nil)
(global-set-key [right] nil)
-
View
@@ -1,3 +1,3 @@
(setq linum-format " %d ")
-(global-linum-mode 1)
+;;(global-linum-mode 1)

0 comments on commit d3fff9d

Please sign in to comment.