diff options
author | Vincent Ambo <vincent@kivra.com> | 2015-03-11T13·42+0100 |
---|---|---|
committer | Vincent Ambo <vincent@kivra.com> | 2015-03-11T13·42+0100 |
commit | d45518f7c33ed5dc3b41711d70ae12b960d2e9e7 (patch) | |
tree | 2abcde44b23721313b032c4da124481424d0ee7c /init | |
parent | 4cca819886657fe6300435ed97296a9848995cc8 (diff) |
Add bindings for whitespace cleanup, line jumping & Fefes Blog
Diffstat (limited to 'init')
-rw-r--r-- | init/bindings.el | 10 | ||||
-rw-r--r-- | init/functions.el | 5 |
2 files changed, 12 insertions, 3 deletions
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) |