How to configure and use ctags to jump to definitions
Make sure you have Exuberant ctags installed on your system; apt-get install exuberant-ctags or brew install ctags.
You will also need to add --langmap=Lisp:+.clj.cljs into ~/.ctags file in the root directory of the user account. Example.
TODO: figure out commands and keybindings to use for Spacemacs
Then use C-c p R to rebuild your TAGS file (this works when you’re in projectile mode). After that just can either do M-. to jump to definition (and C-u M-. for next match), remember that M-* takes you back. One great thing about tags is that you don’t have to be ‘jacked in’ to use them! That goes for both navigation and auto-complete.
How to configure and use ctags to jump to definitions
Make sure you have Exuberant ctags installed on your system;
apt-get install exuberant-ctags
orbrew install ctags
.You will also need to add
--langmap=Lisp:+.clj.cljs
into ~/.ctags file in the root directory of the user account. Example.TODO: figure out commands and keybindings to use for Spacemacs Then use C-c p R to rebuild your TAGS file (this works when you’re in projectile mode). After that just can either do M-. to jump to definition (and C-u M-. for next match), remember that M-* takes you back. One great thing about tags is that you don’t have to be ‘jacked in’ to use them! That goes for both navigation and auto-complete.
References