Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

my-keys minor mode

  • Loading branch information...
commit d3fff9dec0366f20a6dae3f0e51f61d5477ace8f 1 parent d28c44b
@azer authored
Showing with 10 additions and 2 deletions.
  1. +9 −1 conf/bindings.el
  2. +1 −1  conf/linum.el
View
10 conf/bindings.el
@@ -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
2  conf/linum.el
@@ -1,3 +1,3 @@
(setq linum-format " %d ")
-(global-linum-mode 1)
+;;(global-linum-mode 1)
Please sign in to comment.
Something went wrong with that request. Please try again.