Personal Emacs dotfiles
Even though it’s possible to use Emacs as X11 Windows Manager or play 2d games, it doesn’t mean you should.
Instead, keeping simple but at the same time powerful editing experience is what is desired. And as David Thomas and Andrew Hunt said: ‘Don’t spend more effort than you save…’. So I stuck with a simple Emacs dotfiles configuration, which gives the following:
- no mouse interaction
- char, word, line and paragraph selection and movement
- move by syntactic units, such as, matching delimiters, functions, modules
- code re-indentation
- comment and uncomment block with a single command
- column, line number navigation
- sorting
- buffer and project-wide replacement by string or regexp pattern
- multiple cursor editing
- build, test and run a single unit or a whole project from the editor
- switching between projects
- interact with version control (blame, commit, logs, search)
Besides the primary editing goals, keeping notes and organizing tasks is another valuable thing are built-in the text editor. It just reduces the brain cycles between spontaneous ideas spinning in the head and written notes for the judgment in the future.
straight.el
to download Emacs packages from many sourcesuse-package
to load packages properlymultiple-cursors
edit once in different placesexpand-region
makes text selection easierproject (built-in: no point to use projectile nowadays)
for organizing projectsmarginalia & vertico & corfu & consult & embark
as a generic completion frontend and search facilityeglot
Language Service Protocol experienceyasnippet via cape
for snippetsabbrev (built-in)
for abbreviations (typically to correct typos)flyspell (built-in)
to check spellingflycheck
is a code linterformat-all
to format buffer on savemagit
as a git frontendorg
is notes and tasks organizerrg
to perform bulk search and replacement in the project/folder
- https://github.com/bbatsov/prelude
- https://github.com/jwiegley/dot-emacs
- https://github.com/MatthewZMD/.emacs.d/
- And much more found on the Internet
MIT