Ask HN: What do you have configured in your .emacs?
I am relatively new to emacs and would like to see others example and maybe notes on anything 'interesting' they would like to share.
thank you in advance!
thank you in advance!
- use-package: Download & enable all packages automatically on new machines.
- super-save-mode: Save files whenever focus changes
- projectile: Switch bt. projects, open files in a project
- helm: Better find file, M-x etc.
- cider: For Clojure
- ag: Integration with ag, bound to f3
- magit: better git
- golden-ratio: So that current buffer is larger than the other buffer automatically
- writeroom-mode: For focusing on text with large margins
- turkish: Write Turkish with English keyboard and have diacritics applied automatically
Some shortcuts:s-e -> opens my emacs config so that I can make modifications faster.
(bind-key "s-e"
(lambda ()
(interactive)
(find-file "~/.emacs.d/init.el")))
Zoom In/Out: (bind-key "M-=" 'text-scale-increase)
(bind-key "M--" 'text-scale-decrease)
Full Screen
(bind-key [f11] 'toggle-frame-fullscreen)Also I try keep emacs config in a single file (~/.emacs.d/init.el), I tried using multiple files, but it is not worth the effort being that "tidy".
https://github.com/skx/dotfiles/blob/master/.emacs.d/init.md
When emacs launches a simple `~.emacs.d/init.el` file parses that markdown, building up all the code-sections into a temporary buffer, then evaluates them. Pretty neat.