Disable yasnippet, try Tempel
This commit is contained in:
parent
e95ff9421e
commit
3b97dbdcb0
13
init.org
13
init.org
|
@ -3410,6 +3410,7 @@ But with =initials=, the desired completion is often buried in the results. That
|
|||
:END:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package yasnippet
|
||||
:disabled t
|
||||
:ensure t
|
||||
:commands (yas-expand-snippet)
|
||||
:hook
|
||||
|
@ -3423,6 +3424,18 @@ But with =initials=, the desired completion is often buried in the results. That
|
|||
("C-n" . #'yas-next-field-or-maybe-expand)))
|
||||
#+END_SRC
|
||||
|
||||
** tempel
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package tempel
|
||||
:bind
|
||||
("M-+" . tempel-complete) ;; Alternative tempel-expand
|
||||
("M-*" . tempel-insert)
|
||||
("C-n" . tempel-expand)
|
||||
(:map tempel-map
|
||||
("<tab>" . tempel-next)
|
||||
("<C-tab>" . tempel-previous)))
|
||||
#+END_SRC
|
||||
|
||||
** vertico
|
||||
:PROPERTIES:
|
||||
:CREATED: 2022-01-15T18:44:49+0530
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
;;; -*- mode: emacs-lisp; -*-
|
||||
|
||||
emacs-lisp-mode
|
||||
|
||||
(la "(lambda (" p ")" n> r> ")")
|
||||
(dv "(defvar " p "\n \"" p "\")")
|
||||
(dc "(defcustom " p "\n \"" p "\"" n> ":type '" p ")")
|
||||
(dg "(defgroup " p " nil\n \"" p "\"" n> ":group '" p n> ":prefix \"" p "-\")")
|
||||
(dm "(defmacro " p " (" p ")\n \"" p "\"" n> r> ")")
|
||||
(df "(defun " p " (" p ")\n \"" p "\"" n> r> ")")
|
||||
(l "(let (" p ")" n> r> ")")
|
||||
(ls "(let* (" p ")" n> r> ")")
|
||||
(cdg "(cl-defgeneric " p " (" ")" n> ")")
|
||||
(cdm "(cl-defmethod " p " (" ")" n> ")")
|
Loading…
Reference in New Issue