diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-07-02 15:04:50 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-07-02 15:04:50 -0400 |
commit | d383205ac60fdcf39bf2b0f813d63f91cf6e9dd5 (patch) | |
tree | 25f4a7ce8f40cab3b76fd35ba8b8d31145f7ee4f /.emacs | |
parent | 41be5454a224acda28025ac2a67d9ca27c80b5e9 (diff) |
A bunch of different, small things
* .bash_aliases: fix hardcoded location of dircolors
* .bashrc: move daemon-starting to...
* .profile:
* .wl: set up SMTP, increase folder-window-width
* .crontab: run make every 5 min.
* .emacs:
o load php-mode-improved, mmm-mode, dtrt-indent, folding
o set default theme to color-theme-ttyp-dark (override for X11)
o (setq default indent-tabs-mode t)
o set up flymake for PHP
* .git.info.exclude: ignore .bogofilter/*
* .maildirproc/default.rc: tweak filters
Diffstat (limited to '.emacs')
-rw-r--r-- | .emacs | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -25,11 +25,14 @@ '(el-get package rainbow-delimiters - color-theme + php-mode-improved + mmm-mode + dtrt-indent + folding apel flim semi wanderlust -; (:name color-theme -; :after (lambda () -; (color-theme-tty-dark))) + (:name color-theme + :after (lambda () + (color-theme-tty-dark))) (:name color-theme-solarized :after (lambda () (add-hook 'after-make-frame-functions @@ -104,10 +107,11 @@ empty )) - +;; These are my preferred settings; we let dtrt-indent detect when we play with other's files (setq-default tab-width 8) (setq-default c-basic-offset 8) -(setq-default indent-tabs-mode nil) +(setq-default indent-tabs-mode t) + (setq backup-by-copying t ;; don't clobber symlinks @@ -126,3 +130,8 @@ (setq browse-url-generic-program (executable-find "v-www-browser") browse-url-browser-function 'browse-url-generic) + +(require 'flymake) +(add-hook 'php-mode-hook (lambda() (flymake-mode 1))) +(define-key php-mode-map '[M-S-up] 'flymake-goto-prev-error) +(define-key php-mode-map '[M-S-down] 'flymake-goto-next-error) |