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.
This commit is contained in:
Vincent Ambo 2017-11-12 20:24:21 +01:00 committed by Vincent Ambo
parent 99d9981dd9
commit 0d5bdbd7ce
5 changed files with 9 additions and 193 deletions

View file

@ -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)