Commit b549cc568bb1

Vincent Demeester <vincent@sbr.pm>
2022-08-17 16:40:01
tools/emacs: remap dabbrev-expand to hippie-expand
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 77b8273
Changed files (1)
tools
tools/emacs/config/config-keybindings.el
@@ -6,5 +6,9 @@
 ;; Disable C-x C-n to avoid the disabled command buffer
 (unbind-key "C-x C-n" global-map)
 
+;; Remap dynamic-abbrev to hippie-expand
+;; See https://www.masteringemacs.org/article/text-expansion-hippie-expand
+(global-set-key [remap dabbrev-expand] 'hippie-expand)
+
 (provide 'config-keybindings)
 ;;; config-keybindings.el ends here