home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit b549cc568bb1e821e51feef733851e0f1f7dcdc3
parent 77b8273d6feb402197f5a9c65f939e03772ffa21
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 17 Aug 2022 16:40:01 +0200

tools/emacs: remap dabbrev-expand to hippie-expand

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-keybindings.el | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/tools/emacs/config/config-keybindings.el b/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