summaryrefslogtreecommitdiff
path: root/settings/setup-yasnippet.el
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2023-11-25 10:02:42 -0800
committerbenj <benj@rse8.com>2023-11-25 10:02:42 -0800
commit4cfa8246ea7eec4139ba6c34d3fb3a4545956824 (patch)
tree450ba709847d3740eef79753c428095bdb08fe62 /settings/setup-yasnippet.el
parent4f78ee33bfc828707a79cd79d296bf4a9c25b5b9 (diff)
downloademacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.gz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.bz2
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.lz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.xz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.zst
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.zip
rewrite emacs init.el and go back to basics
This is a complete rewrite leveraging the very popular use-package to see how I like it. We reduce init.el to a bare minimum configuration and remove the previous homebrew organizational scheme. A number of packages have yet to be setup, but we'll wait and do in JIT.
Diffstat (limited to 'settings/setup-yasnippet.el')
-rw-r--r--settings/setup-yasnippet.el13
1 files changed, 0 insertions, 13 deletions
diff --git a/settings/setup-yasnippet.el b/settings/setup-yasnippet.el
deleted file mode 100644
index ddaf46e..0000000
--- a/settings/setup-yasnippet.el
+++ /dev/null
@@ -1,13 +0,0 @@
-(require 'yasnippet)
-
-(setq yas-snippet-dirs `(,(locate-user-emacs-file "templates/snippets")))
-
-(yas-global-mode 1)
-;; Jump to end of snippet definition
-(define-key yas-keymap (kbd "<return>") 'yas-next-field)
-(define-key yas-keymap (kbd "C-x RET TAB") 'yas-exit-all-snippets)
-
-(add-hook 'term-mode-hook (lambda()
- (setq yas-dont-activate t)))
-
-(provide 'setup-yasnippet)