emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/scad-mode b038c79b40 19/47: Rebind keys to support tab com


From: ELPA Syncer
Subject: [nongnu] elpa/scad-mode b038c79b40 19/47: Rebind keys to support tab completion
Date: Sat, 12 Nov 2022 13:59:34 -0500 (EST)

branch: elpa/scad-mode
commit b038c79b405904f890c4358cb11ef286096273ad
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Rebind keys to support tab completion
---
 scad-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scad-mode.el b/scad-mode.el
index 4f4cddb17c..eb6ced3bc5 100644
--- a/scad-mode.el
+++ b/scad-mode.el
@@ -113,6 +113,8 @@
 (defvar scad-mode-map
   (let ((map (make-sparse-keymap)))
     (define-key map "\C-c\C-o" #'scad-open-current-buffer)
+    (define-key map "\t" #'indent-for-tab-command)
+    (define-key map "\M-\t" #'completion-at-point)
     ;;(define-key map "\C-c\C-s" #'c-show-syntactic-information) ;; Debugging 
info
     map)
   "Keymap for `scad-mode'.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]