Open a Termial in Emacs, and move to the directory where CurrentBuffer is located

xiaoxiao2021-03-06  39

Add the following code to you. Emacs. Bind this equation to a button you.

(Require 'AutoInsert)

(Auto-INSERT-MODE) ;; Adds Hook to Find-Files-Hook

(setq auto-insert-directory "~ / .mytemplates /")

(setq auto-insert-query nil) ;; if you don't want to be propped before insertion

(Define-auto-insert "/.pl" "my-perl-template.pl")

转载请注明原文地址:https://www.9cbs.com/read-64396.html

New Post(0)