Ask HN: What is your .emacs file like?
What are some good ways to get work done using Emacs? Ideally I would like to minimize the code I actually write as much as possible. How do you make emacs automate your work?
(
8 comments
| 14 points
| on HN
)
Now that you said that, I think I'll build some templates for commonly added files (like importing Django or GAE modules when the file is called "models.py").
(Probably already default in Aquamacs, but I prefer to use the 'real' Emacs.app)
Nothing really special: adds a bunch of modes that I use, tweaks clipboard behaviour & appearance, displays column data & full pathname, plus opens & renames a bunch of terminals.
Oh yeah, there's a VB.NET mode in there too. That was fun.
(setq-default truncate-lines t) (setq truncate-partial-width-windows nil) ;; for vertically-split windows (setq inhibit-startup-message t) (setq make-backup-files nil) ; Don't want any backup files (setq auto-save-list-file-name nil) ; Don't want any .saves files (setq-default transient-mark-mode t)
That and loading extras and binding keys in a comfortable way.