Commit graph

15 commits

Author SHA1 Message Date
Tom Willemsen
2969e688d4 EMACS: moved emacs.el to emacs.d/init.el 2011-07-27 23:47:42 +02:00
Tom Willemsen
a9c05ddb3d EMACS: Trying out zencoding 2011-07-27 12:11:12 +02:00
Tom Willemsen
07f377fb83 Moved some stuff around 2011-07-27 11:53:20 +02:00
Tom Willemsen
b9eacfc709 EMACS: Added rainbow mode submodule 2011-07-26 14:51:26 +02:00
Tom Willemsen
608a79e108 EMACS: Use rainbow-delimiters from submodule 2011-07-26 14:45:41 +02:00
Tom Willemsen
605ed91a73 EMACS: Moved custom settings to custom.el
Also added some extra settings for autopair.
2011-07-26 14:39:49 +02:00
Tom Willemsen
8735e338f9 Moved org-mode settings together 2011-07-26 01:25:14 +02:00
Tom Willemsen
9873823e76 Moved column-marker settings back to emacs.el 2011-07-26 01:09:59 +02:00
Tom Willemsen
3de2fae246 Auto-load git-commit and require git 2011-07-26 00:53:40 +02:00
Tom Willemsen
2e3c5df4d7 EMACS: lots of changes
* Extended
** emacs.d/functions.el
   - Added a optional ~else~ part to ~foreach~ in HTML keywords, since
     smarty *can* also use ~foreachelse~, and this was only fontifying
     the ~foreach~ part.
   - Only load (and modify) naquadah-theme when we're running in
     X. I'd prefer to know if we have 256 colors available, but I
     haven't found that yet.
   - Only try to go to fullscreen if X is running.
   - Show a lambda symbol when the word lambda is found in a prog-mode
     buffer.
   - Enable auto-fill-mode when prog-mode is started.
   - Don't set pear options, pi-php-mode does it.
   - Added function to show ~lambda~ as a lambda symbol
   - Added function to create or update gtags file.
** emacs.el
   - Add pi-php-mode.
   - Removed muttrc-mode.
   - Use pi-php-mode instead of php-mode-improved.
   - Use ~(getenv)~ to get the browser.
   - Don't care about ~org-babel-confirm-evaluate~ and
     ~org-ditaa-jar-path~.
   - Set ~org-return-follows-link~ to ~t~, enter follows a link in
     ~org-mode~.
   - Set ~mouse-autoselect-window~ to ~t~, moving the mouse changes
     buffer focus.
   - Set ~pop-up-windows~ to ~nil~, so that popup functions use an
     existing window.
   - Set ~org-log-into-drawer~ to ~t~, so that activities are put in a
     drawer in ~org-mode~.
   - Set ~mail-header-separator~ to an empty string for
     ~message-mode~.
   - Use ~message-mode~ instead of ~mail-mode~.
2011-07-15 19:08:07 +02:00
Tom Willemsen
0786ae7687 EMACS: New modes, functions and keys
Added lua-mode
Added muttrc-mode
Moved all functions to emacs.d/functions.el
Added go-mode
Set keys M-left, M-right, M-up and M-down to move to relative windows
2011-06-26 12:41:49 +02:00
Tom Willemsen
d46b304e0f EMACS: Integers and setq
Added hightlighting for integers in prog-mode, switched from single to
multiple setqs again.
2011-06-22 21:46:22 +02:00
Tom Willemsen
5944a4a97b EMACS: hooks, skeletons and ido
* Moved rainbow-delimiters-mode and set-column-marker to prog-mode.
  * Turn on ido-mode, it seems interesting.
  * Added prog-mode hook.
  * Removed emacs-lisp-mode, js-mode, python-mode and lisp-mode hooks
    since they should all only do what prog-mode hook does.
  * Added myaethon-set-varchar-docstring and
    myaethon-set-array-varchar-docstring skeletons, these are both
    useful for work and a good way to learn more about skeletons.
2011-06-17 16:39:16 +02:00
Tom Willemsen
9df6bb4922 EMACS: compile, htmlize, js, stumpwm
* install.sh tries to compile emacs.el before linking the emacs.elc
    to ~/. This is to always have a compiled .emacs.elc for speediest
    startup.
  * I removed a little bit of code from htmlize.el that was causing
    trouble with the naquadah theme.
  * I removed javascript-mode, because the built-in js-mode is better.
  * I Added stumpwm mode
  * When I save a file and it is in html-mode it will try and replace
    all occurrences of é with é before continueing.
2011-06-15 12:19:30 +02:00
Tom Willemsen
503e99197f EMACS: init file is once again one big file 2011-06-11 19:51:08 +02:00