From d45518f7c33ed5dc3b41711d70ae12b960d2e9e7 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 11 Mar 2015 14:42:58 +0100 Subject: Add bindings for whitespace cleanup, line jumping & Fefes Blog --- init/bindings.el | 10 +++++++--- init/functions.el | 5 +++++ 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'init') diff --git a/init/bindings.el b/init/bindings.el index e6128aaa78e2..32579919b619 100644 --- a/init/bindings.el +++ b/init/bindings.el @@ -42,11 +42,12 @@ ;; Open project drawer (global-set-key (kbd "M-p") 'project-explorer-open) -;; Add a fullscreen toggle - TODO: reenable in next Emacs release -; (global-set-key (kbd "M-RET") 'toggle-frame-fullscreen) - ;; 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) + +;; Bind whitespace cleanup to a key +(global-set-key (kbd "C-c w") 'whitespace-cleanup) ;; Goodness from @magnars ;; I don't need to kill emacs that easily @@ -60,4 +61,7 @@ ;; 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) + (provide 'bindings) diff --git a/init/functions.el b/init/functions.el index a0bf51a9e031..6389931bc0b3 100644 --- a/init/functions.el +++ b/init/functions.el @@ -106,4 +106,9 @@ Including indent-buffer, which should not be called automatically on save." (kill-sexp -1) (insert (format "%S" value)))) +;; Open Fefes blog +(defun fefes-blog () + (interactive) + (eww "https://blog.fefe.de/")) + (provide 'functions) -- cgit 1.4.1