feat(bindings): Bind align-regexp & browse-url-* functions to keys

This commit is contained in:
Vincent Ambo 2018-03-09 11:09:45 +01:00
parent 97da0904f9
commit 58d825d5dd

View file

@ -38,8 +38,12 @@
(global-set-key (kbd "M-g g") '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) (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 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 ;; Goodness from @magnars
;; I don't need to kill emacs that easily ;; I don't need to kill emacs that easily