3 ms·
I have my Emacs config here: http://github.com/nileshk/emacs http://github.com/nileshk/emacs startup.el is the main starting point (I load that from my .emacs)
by nileshk 16y ago
I have my Emacs config here: http://github.com/nileshk/emacs http://github.com/nileshk/emacs
startup.el is the main starting point (I load that from my .emacs). Can't say it's the cleanest set of config files, but you might find something of use in it.
Some of the things I've configured:
- Detect whether Emacs is running in OS X, Linux, Windows (native), or Cygwin; and I do platform-specific configuration when necessary
- For OS X, I use fixpath.el to load my path by executing bash (I've tried various methods of doing this, and this was the most reliable)
- For Windows, I have Powershell configured
- I'm using guess-style ( http://nschum.de/src/emacs/guess-style/ http://nschum.de/src/emacs/guess-style/ ): auto-detects indentation style.
- I had a Clojure setup that was working nicely, but it's been a while since I used it and I need to update it for Clojure 1.2
- ido-mode is great. I have some specific settings for that. For example, enabling ido-enable-flex-matching makes it easier to quickly match files
- Backups go to ~/.emacs.d/backup instead of littering ~ files everywhere. The backup folder is created if necessary.
- YASnippets. I've created some snippets of my own, such as for wikipedia-mode
- I had problems using markdown-mode with YASnippets (both want to use the tab key), but was able to fix this. See my "eval-after-load 'markdown-mode" for this.
If you use YASnippet, I've taken Jeff Wheeler's Textmate-to-YASnippet conversion script and improved it here: http://github.com/nileshk/snippet-copier http://github.com/nileshk/snippet-copier
That also contains a Eclipse template to YASnippet convertor script I started on which kinda works, though not perfectly.