remove init-tools.el

This commit is contained in:
zedhugh committed 2022-10-27 01:27:20 +08:00
1 parent e809e168f8
commit af50dc200c
6 files changed
+102 -85

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
;; -*- coding: utf-8; lexical-binding: t; -*-
(require 'lazy-load)
(require 'yasnippet)
(require 'yasnippet-snippets)
(defun fix-lisp-comment-snippets ()
"Fix strange behavior about comment snippets in lisp."
(setq-local comment-start ";;"))
(add-hook 'emacs-lisp-mode-hook #'fix-lisp-comment-snippets)
(add-hook 'prog-mode-hook #'yas-minor-mode)
(lazy-load-global-keys
'(("w" . aya-create)
("TAB" . aya-expand)
("SPC" . aya-expand-from-history)
("d" . aya-delete-from-history)
("c" . aya-clear-history)
("n" . aya-next-in-history)
("p" . aya-previous-in-history)
("s" . aya-persist-snippet)
("o" . aya-open-line))
"auto-yasnippet" "C-c C-y")
(provide 'init-yasnippet)