dot-emacs is my personal .emacs for Emacs 24 on Windows.
- init.el: The main file located at
~/.emacs.d/init.el - custom.el: customizations by
M-x customize - init_emacs_basic.el: Basic customizations for every mode
- init_emacs_js.el: Customizations especially for JavaScript editing
The init.el file contains some additional lines for stuff that I’m still
testing. In the end this file should contain at least this lines:
;; Load external files (setq custom-file "~/.emacs.d/custom.el") (load custom-file) (load "~/.emacs.d/init_emacs_basic.el") (load "~/.emacs.d/init_emacs_js.el")
That loads the three additional files: custom.el which is used by the
customization functionality of Emacs ((load custom file)),
init_emacs_basic.el and init_emacs_js.el.
I use a lot of modes that have been accumulated over the years. I threw away some modes, and I’m still testing and I bet I will use some other modes in the future. Anyway, I think this list is nearly complete. Most packages are available from MELPA.
- markdown-mode
- IDO mode (Emacs Wiki link)
- multiple cursors
- boxquote (Emacs Wiki link)
- color theme (Emacs Wiki link). I use the Birds of Paradise theme.
- project mode
- auto-complete
- yasnippet
- sr-speedbar
- flx
- flx-ido
- flymake-cursor
- golden-ratio
- markdown-mode
Internal modes:
- electric-pair-mode
- icomplete-mode
- subword-mode
I got these functions from various sources in the net. Thanks!
query-replace-in-open-buffersduplicate-linepretty-print-jsonpretty-print-xml-regiondev-studio-beginning-of-linewhat-facereplace-html-anti-chars-regionincrement-number-at-pointanddecrement-number-at-pointwikipedia-lookupand other lookups.
- tool bar mode
- scroll bar mode
- ERC
- easymenu
- Diary
- ASPELL
- flymake with JSHint (node.js)
- C-tab:
other-window - C-M-ß:
indent-region(It’s nearly impossible on german keyboard layouts to hitC-M-\. This is somehow an equivalent keystroke.) - C-c d:
duplicate-line - C-f11:
browse-url-of-file - f11:
nav-toggle - C-S-c C-S-c:
mc/edit-lines - C-d:
mc/mark-next-like-this - C-S-d:
mc/mark-previous-like-this - In js-mode: C-c C-n:
flymake-goto-next-error
- Mumamo and HTML/JavaScript modes.
- Slime
- Python
- Bitstream Vera Sans Mono (Wikipedia link. Downloadable from the Gnome sources)
- node.js (especially jshint)