Skip to content

mindblink/.emacs.d

Repository files navigation

modi .emacs.d

Using my emacs setup

You can clone my emacs setup by running

source git_force_update.csh PATH/WHERE/YOU/WANT/TO/DOWNLOAD/THE/CONFIG

For example, you can run

source git_force_update.csh ~/.emacs.d

If a =​~/​.emacs.d= directory already exists, it will be =\cp -rf= ed to =~/​.emacs.dbkpauto=.

  • Few setup files have setup done as per my personal tastes and needs:
    • setup-files/setup-misc.el
    • setup-files/setup-mode-line.el
    • setup-files/setup-registers.el
  • If you want to change the default theme, font size, etc, you would want to edit setup-files/setup-visual.el
  • Any of the variables or global minor modes set in my config can be overridden in setup-personal.el which you need to create in the directory pointed by the variable user-personal-directory. By default, this directory is =~/​.emacs.d/personal/​=.
  • You can also choose to override certain variables in the very beginning of the init.el by customizing the variables in a setup-var-overrides.el file placed in user-personal-directory. You can refer to an example of this file here.
  • setup-editing.el has interesting elisp snippets that I created+borrowed over time for functions related to general editing.

Key points

  • Use of my minor mode modi-mode to enable my custom key-bindings. Doing so allows me to force override my bindings in all major and minor modes. If I ever need to try out the default emacs bindings, I can simply disable modi-mode by doing M-x modi-mode. It is enabled globally by default.
  • Use of use-package in load all packages for faster load times.
  • Use of bind-keys allows me to review my custom bindings in a single buffer by doing M-x describe-personal-keybindings.
  • Certain packages will be loaded only if you have the associated applications installed.
    • ag
    • ctags
    • global (gtags)
    • git
    • matlab
    • aspell or hunspell
    • ps2pdf
    • xelatex

Future plan

  • Pack my whole emacs setup into a single org file.

Feedback

I am looking forward to suggestions, corrections.

Thanks!

About

My emacs configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 98.3%
  • Shell 1.3%
  • Other 0.4%