I am relatively new to emacs and would like to see others example and maybe notes on anything 'interesting' they would like to share.<p>thank you in advance!
Some modes I like:<p><pre><code> - 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
</code></pre>
Some shortcuts:<p>s-e -> opens my emacs config so that I can make modifications faster.<p><pre><code> (bind-key "s-e"
(lambda ()
(interactive)
(find-file "~/.emacs.d/init.el")))
</code></pre>
Zoom In/Out:<p><pre><code> (bind-key "M-=" 'text-scale-increase)
(bind-key "M--" 'text-scale-decrease)
</code></pre>
Full Screen
(bind-key [f11] 'toggle-frame-fullscreen)<p>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".
I wrote mine in markdown, with comments and explanation:<p><a href="https://github.com/skx/dotfiles/blob/master/.emacs.d/init.md" rel="nofollow">https://github.com/skx/dotfiles/blob/master/.emacs.d/init.md</a><p>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.
Pretty generic, though I've ended up configuring it to launch in ~0.5 seconds: <a href="https://github.com/lynlevenick/dotfiles/tree/master/emacs/.emacs.d" rel="nofollow">https://github.com/lynlevenick/dotfiles/tree/master/emacs/.e...</a>
Here is a post by Steve Yegge about his, written way back when glaciers covered most of North America:
<a href="https://sites.google.com/site/steveyegge2/my-dot-emacs-file" rel="nofollow">https://sites.google.com/site/steveyegge2/my-dot-emacs-file</a>
<a href="https://duckduckgo.com/?q=example+dot+emacs&ia=web" rel="nofollow">https://duckduckgo.com/?q=example+dot+emacs&ia=web</a> leads to dozens of great examples . Are you looking for anything in specific?
Have a look at curated list of notable emacs dotfiles – <a href="https://github.com/caisah/emacs.dz" rel="nofollow">https://github.com/caisah/emacs.dz</a>.