about summary refs log tree commit diff
path: root/init/bindings.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-03-09T10·09+0100
committerVincent Ambo <tazjin@gmail.com>2018-03-09T10·09+0100
commit58d825d5dd0d661a09cd145034ce9518a25d5933 (patch)
treee195a0545333d961b0e1698ac0a48b1c9a7967c7 /init/bindings.el
parent97da0904f9297ec39f61b59a961d430eb131eb97 (diff)
feat(bindings): Bind align-regexp & browse-url-* functions to keys
Diffstat (limited to 'init/bindings.el')
-rw-r--r--init/bindings.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/init/bindings.el b/init/bindings.el
index e4cd17599f..edb1b9c0ab 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