Add fill-paragraph key command
This commit is contained in:
parent
5d4120674e
commit
bf119f6e24
2 changed files with 4 additions and 0 deletions
|
|
@ -5,3 +5,4 @@ C-x 0 : close current window
|
||||||
C-q <tab> : insert a <tab>
|
C-q <tab> : insert a <tab>
|
||||||
M-x (un)tabify : (replace) tabs
|
M-x (un)tabify : (replace) tabs
|
||||||
M-x describe-bindings : list of all mapped keys/commands
|
M-x describe-bindings : list of all mapped keys/commands
|
||||||
|
M-p : fill-paragraph, works for doxygen as well
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,9 @@
|
||||||
;; Map query-replace-regexp to an easier key
|
;; Map query-replace-regexp to an easier key
|
||||||
(global-set-key (kbd "C-x r r") 'query-replace-regexp)
|
(global-set-key (kbd "C-x r r") 'query-replace-regexp)
|
||||||
|
|
||||||
|
;; Map query-replace-regexp to an easier key
|
||||||
|
(global-set-key (kbd "M-p") 'fill-paragraph)
|
||||||
|
|
||||||
;; 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