home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f9479eb558eabd9346480971ea623cfeccd2eba0
parent 86c79577f1a414d9ccabe89406d4fea0df45940c
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 17 Apr 2020 14:43:38 +0200

emacs: temporarily disable yasnippet too 😓

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/emacs.nix | 1-
Mtools/emacs/config/config-editing.el | 28----------------------------
2 files changed, 0 insertions(+), 29 deletions(-)

diff --git a/modules/profiles/emacs.nix b/modules/profiles/emacs.nix @@ -126,7 +126,6 @@ in which-key with-editor xterm-color - yasnippet yaml-mode darkroom eshell-prompt-extras diff --git a/tools/emacs/config/config-editing.el b/tools/emacs/config/config-editing.el @@ -86,34 +86,6 @@ ("C-c m" . vr/mc-mark))) ;; -UseVisualRegexp -(use-package yasnippet - :disabled - :defer 5 - :bind (("C-c y d" . yas-load-directory) - ("C-c y i" . yas-insert-snippet) - ("C-c y f" . yas-visit-snippet-file) - ("C-c y n" . yas-new-snippet) - ("C-c y t" . yas-tryout-snippet) - ("C-c y l" . yas-describe-tables) - ("C-c y g" . yas-global-mode) - ("C-c y m" . yas-minor-mode) - ("C-c y a" . yas-reload-all) - ("C-c y x" . yas-expand)) - :bind (:map yas-keymap - ("C-i" . yas-next-field-or-maybe-expand)) - :mode ("/\\.emacs\\.d/etc/yasnippet/snippets/" . snippet-mode) - :hook (go-mode . yas-minor-mode) - :config - (yas-load-directory (concat user-emacs-directory "etc/yasnippet/snippets")) - (yas-global-mode 1) - :init - (add-hook 'term-mode-hook (lambda () (yas-minor-mode -1)))) - -(use-package company-yasnippet - :after (yasnippet company) - :config - (push 'company-yasnippet company-backends)) - ;; UseHideShow (use-package hs-minor-mode :hook ((prog-mode . hs-minor-mode)))