about summary refs log tree commit diff
path: root/init/bindings.el
diff options
context:
space:
mode:
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)