Skip to content

illia-danko/dot-emacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Emacs dotfiles

Rationale

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.

Core packages

  • straight.el to download Emacs packages from many sources
  • use-package to load packages properly
  • multiple-cursors edit once in different places
  • expand-region makes text selection easier
  • project (built-in: no point to use projectile nowadays) for organizing projects
  • marginalia & vertico & corfu & consult & embark as a generic completion frontend and search facility
  • eglot Language Service Protocol experience
  • yasnippet via cape for snippets
  • abbrev (built-in) for abbreviations (typically to correct typos)
  • flyspell (built-in) to check spelling
  • flycheck is a code linter
  • format-all to format buffer on save
  • magit as a git frontend
  • org is notes and tasks organizer
  • rg to perform bulk search and replacement in the project/folder

References

License

MIT

About

Emacs dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published