Map query-replace-regexp to easier key
This commit is contained in:
parent
a23d81e1f5
commit
c1ae65f342
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue