From 33fe352e942e37cafbf5289c477f691c8a0ca73e Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 25 Jul 2017 11:40:15 -0700 Subject: [PATCH] [Emacs] Align WIP --- dotfiles/emacs.d/README.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 929fbc1f..23b9e583 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2121,6 +2121,22 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab (cons 'yas-ido-prompt (cl-delete 'yas-ido-prompt yas-prompt-functions))))) #+END_SRC +** align +#+BEGIN_SRC emacs-lisp +(use-package align + :disabled t + :after hydra + :bind ("C-c C-a" . imalison:align-regexp-hydra/body) + :config + (progn + (defun imalison:complex-align-regexp () + (interactive) + (let ((current-prefix-arg t)) + (call-interactively ))) + (defhydra imalison:align-regexp-hydra + "align-regexp" + ("r" . align-regexp)))) +#+END_SRC * flycheck #+BEGIN_SRC emacs-lisp (use-package flycheck