about summary refs log tree commit diff
path: root/init/bindings.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@kivra.com>2015-05-03T16·22+0200
committerVincent Ambo <vincent@kivra.com>2015-05-03T16·22+0200
commit90f4e2811d1ca951eed2ce435a3dc63c56798788 (patch)
tree0afe956359e6d8bfa24679989008092041377541 /init/bindings.el
parentee070585df022e410158a7f078084f767361fd6f (diff)
Minor changes
Diffstat (limited to 'init/bindings.el')
-rw-r--r--init/bindings.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/init/bindings.el b/init/bindings.el
index 32579919b619..38540968db8b 100644
--- a/init/bindings.el
+++ b/init/bindings.el
@@ -17,6 +17,7 @@
 
 ;; Ace-jump-mode
 (global-set-key (kbd "M-j") 'ace-jump-word-mode)
+(global-set-key (kbd "M-p") 'ace-jump-mode-pop-mark)
 
 ;; Jump to next occurence of char
 (global-set-key (kbd "C-c f") 'iy-go-to-char)
@@ -39,9 +40,6 @@
 ;; So good!
 (global-set-key (kbd "C-c g") 'magit-status)
 
-;; Open project drawer
-(global-set-key (kbd "M-p") 'project-explorer-open)
-
 ;; Replace standard goto-line with ace-jump-line-mode
 (global-set-key (kbd "M-g g") 'ace-jump-line-mode)
 (global-set-key (kbd "M-g M-g") 'goto-line-with-feedback)
@@ -58,6 +56,9 @@
 ;; Create new frame
 (define-key global-map (kbd "C-x C-n") 'make-frame-command)
 
+;; Recompile easily
+(define-key prog-mode-map (kbd "C-c r") 'recompile)
+
 ;; Org-mode agenda keys
 (global-set-key (kbd "C-c a") 'org-agenda)