Map query-replace-regexp to easier key

This commit is contained in:
laurensmiers 2017-08-21 18:14:06 +02:00
parent a23d81e1f5
commit c1ae65f342

View file

@ -21,6 +21,9 @@
;; automatically indent when press RET ;; automatically indent when press RET
(global-set-key (kbd "RET") 'newline-and-indent) (global-set-key (kbd "RET") 'newline-and-indent)
;; Map query-replace-regexp to an easier key
(global-set-key (kbd "C-x r r") 'query-replace-regexp)
;; Delete trailing whitespace when saving file ;; Delete trailing whitespace when saving file
(add-hook 'before-save-hook 'delete-trailing-whitespace) (add-hook 'before-save-hook 'delete-trailing-whitespace)