In this lesson I would like to show how I use emacs to navigate the project code and do typical development tasks.
While Emacs is not just text editor, but is a platform where people can navigate (through) text. In this post I will try to show the code & project naviation tips & tricks.
In short:
Projectile
& its integration with helm (helm-projectile
) and plain access viaVertico
.projectile-find-file
ag
- search in project- how to filter by extension (-G)
- exclude something via
!
AND
condition just by adding more words- edit files inline!
rgrep
is standard interface to grep, but its slowrg
- search viadeadgrep
dired
to view/copy filesdired-sidebar
is a nice sidebar (alternatives - ranger, treemacs, etc)LSP
tools. I am usingtide
for Javascript andlsp-bridge
for everything else (but there are several alternatives likeeglot
)bm
- bookmarks andhelm-bm
org-mode
andorg-store-link
to store links to source codeace-window
- navigate via several emacs framesavi-goto-line
to show key bindingsC-c f d
-find-dired
to find files, for example-wholename \*/management/commands/\*.py
C-z o
-helm-occur
to show occurencies in current fileC-x v g
to show annotate (for all backends,git
,hg
, etc)C-x v l
to list file changes