Emacs: Remap just-one-space to cycle-spacing

master
Pierre Neidhardt 2017-08-30 16:45:48 +01:00
parent f9f3375ec5
commit 54e0c6e9ff
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@
;; (add-hook 'find-file-hook 'turn-on-fmt-before-save)
(add-hook 'find-file-hook 'turn-on-delete-trailing-whitespace)
;;; Cycle spacing instead of just-one-space. This frees M-\.
(global-set-key [remap just-one-space] 'cycle-spacing)
;;; Hippie expand
;; (global-set-key (kbd "M-/") 'hippie-expand)