From 58d825d5dd0d661a09cd145034ce9518a25d5933 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 9 Mar 2018 11:09:45 +0100 Subject: feat(bindings): Bind align-regexp & browse-url-* functions to keys --- init/bindings.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'init') diff --git a/init/bindings.el b/init/bindings.el index e4cd17599fc1..edb1b9c0ab71 100644 --- a/init/bindings.el +++ b/init/bindings.el @@ -38,8 +38,12 @@ (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) +(global-set-key (kbd "C-c a") 'align-regexp) + +;; Browse URLs (very useful for Gitlab's SSH output!) +(global-set-key (kbd "C-c b p") 'browse-url-at-point) +(global-set-key (kbd "C-c b b") 'browse-url) ;; Goodness from @magnars ;; I don't need to kill emacs that easily -- cgit 1.4.1