aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-09 14:19:10 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-09 14:19:10 +0100
commit68af3149078edb1854e0ec5f6d34f50af032ca18 (patch)
treedd606e9949c88807f24711dd89178ec6848b698c /Emacs/.config/emacs
parent229647da08c6db68c7aba112ad8a5c4213cb5619 (diff)
downloaddotfiles-68af3149078edb1854e0ec5f6d34f50af032ca18.tar.gz
dotfiles-68af3149078edb1854e0ec5f6d34f50af032ca18.tar.bz2
dotfiles-68af3149078edb1854e0ec5f6d34f50af032ca18.zip
-generate tags function
Projectile-regen...-tags works now.
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org14
1 files changed, 0 insertions, 14 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 2afce3a..aef896e 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -142,20 +142,6 @@ The logic is pretty simple:
(goto-char (+ old 1))
(evil-normal-state))))
#+END_SRC
-** Generate tags
-For some reason, I can't seem to rely on the =projectile-regenerate-tags= function, so define my own.
-
-Steps are as follows:
-- Consider the =root= to be either =default-directory= or the =projectile-project-root= depending on if it's loaded and set.
-- Start a process (shell command) by changing to =root= and executing =ctags -Re=
- #+BEGIN_SRC emacs-lisp
- (defun dx:generate-tags ()
- (interactive)
- (let ((root (if (bound-and-true-p projectile-project-root)
- projectile-project-root
- default-directory)))
- (start-process-shell-command "" nil (format "cd %s; ctags -Re ." root))))
- #+END_SRC
* General
Setup general, a good package for defining keys. In this case, I
generate a new definer for the "LEADER" keys. Leader is bound to SPC