add auto-yasnippet
This commit is contained in:
3 files changed
+17
No files matched your search
@@ -64,3 +64,6 @@
|
|||||||
[submodule "site-lisp/yasnippet-snippets"]
|
[submodule "site-lisp/yasnippet-snippets"]
|
||||||
path = site-lisp/yasnippet-snippets
|
path = site-lisp/yasnippet-snippets
|
||||||
url = https://github.com/AndreaCrotti/yasnippet-snippets.git
|
url = https://github.com/AndreaCrotti/yasnippet-snippets.git
|
||||||
|
[submodule "site-lisp/auto-yasnippet"]
|
||||||
|
path = site-lisp/auto-yasnippet
|
||||||
|
url = https://github.com/abo-abo/auto-yasnippet.git
|
||||||
@@ -31,4 +31,17 @@
|
|||||||
(add-hook 'prog-mode-hook #'yas-minor-mode)
|
(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-tools)
|
(provide 'init-tools)
|
||||||
Submodule
+1
Submodule site-lisp/auto-yasnippet added at f54fb42408.
Reference in new issue
Block a user