about summary refs log tree commit diff
path: root/init/bindings.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-11-12T19·24+0100
committerVincent Ambo <github@tazj.in>2017-11-12T21·44+0100
commit0d5bdbd7ceceaa48d2caa8129f78a499d8bc68c1 (patch)
treebfe547e2e557c7a065ecc8023d539fbd08a858e2 /init/bindings.el
parent99d9981dd9a10e4feade16161a13df64b0580da2 (diff)
refactor: Remove lots of deprecated/unused settings
* move all look-and-feel related settings into, you guessed it,
  look-and-feel.el
* remove *lots* of old stuff and also re-evaluate what it's actually
  doing.
Diffstat (limited to 'init/bindings.el')
-rw-r--r--init/bindings.el23
1 files changed, 1 insertions, 22 deletions
diff --git a/init/bindings.el b/init/bindings.el
index 38540968db8b..2e37469df61c 100644
--- a/init/bindings.el
+++ b/init/bindings.el
@@ -12,16 +12,10 @@
 (global-set-key (kbd "C-M-r") 'isearch-backward)
 (global-set-key (kbd "C-M-%") 'query-replace)
 
-;; Jump to a definition in the current file. (Protip: this is awesome.)
-(global-set-key (kbd "C-x C-i") 'imenu)
-
 ;; 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)
-
 ;; Window switching. (C-x o goes to the next window)
 (windmove-default-keybindings) ;; Shift+direction
 
@@ -31,13 +25,7 @@
 ;; Start a new eshell even if one is active.
 (global-set-key (kbd "C-x M") (lambda () (interactive) (eshell t)))
 
-;; Eval sexp and replace it with result
-(global-set-key (kbd "C-c e") 'replace-last-sexp)
-
-;; Start a regular shell if you prefer that.
-(global-set-key (kbd "C-x C-m") 'shell)
-
-;; So good!
+;; Magit!
 (global-set-key (kbd "C-c g") 'magit-status)
 
 ;; Replace standard goto-line with ace-jump-line-mode
@@ -53,15 +41,6 @@
 (global-set-key (kbd "C-x r q") 'save-buffers-kill-terminal)
 (global-set-key (kbd "C-x C-c") 'delete-frame)
 
-;; 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)
-
 ;; Open Fefes Blog
 (global-set-key (kbd "C-c C-f") 'fefes-blog)