Commit graph

79 commits

Author SHA1 Message Date
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
8120946592 Added rainbow-delimiters submodule 2011-07-26 14:37:45 +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
a2dbabbeb9 Added lcars theme 2011-07-26 00:38:26 +02:00
Tom Willemsen
9711339f40 Bumped submodules 2011-07-18 11:33:58 +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
ce4e353a70 Added pi-php-mode 2011-07-15 17:50:24 +02:00
Tom Willemsen
3e33025127 Bumped submodules 2011-07-01 09:36:14 +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
02c6f259b5 Bumped submodules 2011-06-23 16:44:38 +02:00
Tom Willemsen
9fe4ceb1ee EMACS: Update lua mode 2011-06-23 16:43:58 +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
c608291b01 Bumped submodules 2011-06-13 15:07:18 +02:00
Tom Willemsen
f06d75a1b7 EMACS: add some filter constants to fontlocking 2011-06-11 19:55:09 +02:00
Tom Willemsen
503e99197f EMACS: init file is once again one big file 2011-06-11 19:51:08 +02:00
Tom Willemsen
5690154ecb EMACS: Added a 'preview' function for HMTL files 2011-05-28 15:27:46 +02:00
Tom Willemsen
7ab36e478a EMACS: Add space to line numbers
Add space to line numbers when we're in text mode
2011-05-28 00:06:37 +02:00
Tom Willemsen
136128abd1 Removed c-eldoc and linum-ex
I didn't use c-eldoc and linum-ex only seemed to cause warnings to
show up when loading files, not improve any speed.
2011-05-27 22:57:40 +02:00
Tom Willemsen
913844f26f Only show ide-skel when X is running 2011-05-27 21:41:12 +02:00
Tom Willemsen
7d61f23ddd EMACS: linum-ex added, replaces linum 2011-05-27 00:36:44 +02:00
Tom Willemsen
7e7d6889ea EMACS: Rainbow delimiters updated 2011-05-24 16:13:43 +02:00
Tom Willemsen
66265c9af4 EMACS: jd added rainbow-delimiters
That means that I don't have to
2011-05-23 16:25:20 +02:00
Tom Willemsen
1a84c772df EMACS: Rainbow delimiters mode additions
Enable rainbow-delimiters-mode for JavaScript and Python as well.
2011-05-23 09:47:17 +02:00
Tom Willemsen
6bfbdc8843 EMACS: Added markdown-mode colors
And also some comments
2011-05-23 09:46:03 +02:00
Tom Willemsen
3ab0e979f8 EMACS: Markdown settings
Load markdown-mode for .mdwn files, don't remove whitespace when
markdown-mode is active and enable whitespace-mode and auto-fill-mode
for markdown-mode.
2011-05-23 09:43:56 +02:00
Tom Willemsen
46dd378e76 EMACS: return of show-paren-mode 2011-05-17 10:09:09 +02:00
Tom Willemsen
a252e892a9 EMACS: Added Rainbow delimiters mode 2011-05-17 00:45:41 +02:00
Tom Willemsen
d277a1a958 EMACS: Added ide-skel 2011-05-16 10:55:35 +02:00
Tom Willemsen
4905fdfcbc Bumped submodules 2011-05-12 23:42:39 +02:00
Tom Willemsen
2f17b5e6bc EMACS: removed annoying mumamo warning in php-mode 2011-04-26 09:46:57 +02:00
Tom Willemsen
78d90e80dd EMACS: Added antialias to font 2011-04-26 09:46:22 +02:00
Tom Willemsen
9d53d9b19c EMACS: c-mode keys
* Mapped <Return> to c-indent-new-comment-line followed by a
    c-indent-line-or-region.

  * Mapped <C-return> to newline, since c-indent-new-comment-line
    inserts a \ at the end of #define statements and #include
    statements which makes the compiler think the line continues on
    the next.
2011-04-26 09:30:24 +02:00
Tom Willemsen
4344bbeeda EMACS: Toggle header and source
Wrote a function to toggle views between a header and source file in
c-mode and locally bound this to F11.
2011-04-23 00:29:34 +02:00
Tom Willemsen
79563a6264 Bumped submodule: emacs.d/naquadah-theme 2011-04-21 15:01:12 +02:00
Tom Willemsen
e0717aee27 EMACS: Don't start eldoc for php 2011-04-18 19:50:51 +02:00
Tom Willemsen
1307626309 EMACS: Paths
Of course paths need to be defined in ~/.emacs, otherwise the
compilation function might not be aware of them.
2011-04-18 10:31:26 +02:00
Tom Willemsen
993da8846a Add git-commit-mode
Makes emacs look more like vim when commiting messages. Shows me what
I'm doing wrong or right.
2011-04-17 02:35:36 +02:00
Tom Willemsen
629f168965 Removed some fontlocking 2011-04-17 02:02:18 +02:00
Tom Willemsen
372171f7ed EMACS: Discovered skeletons
Added a skeleton for my cmake projects
2011-04-17 00:24:14 +02:00
Tom Willemsen
2e952899b0 Added cmake mode 2011-04-17 00:23:48 +02:00
Tom Willemsen
7bc937e503 Changed font size from 9 to 10 2011-04-17 00:22:59 +02:00
Tom Willemsen
bd983b778e Added markdown mode 2011-04-17 00:22:17 +02:00
Tom Willemsen
d1502aa245 Folding is out 2011-04-16 23:03:44 +02:00
Tom Willemsen
0be324a314 Added c-eldoc 2011-04-16 19:39:49 +02:00
Tom Willemsen
9420f67c17 Changed load-dir to d-dir, autopair, no comments
* Changed the load-dir variable in .emacs to d-dir (from emacs._d_).
    Using the same variable as emacs didn't seem like a good idea to me.

  * Moved autopair settings from 10-modules and 10-settings to
    20-autopair

  * Removed the folding-mode comments from load files.
2011-04-15 09:48:38 +02:00
Tom Willemsen
d2ce5467c3 Bytecompile
Byte-compile and recompile all modules in .emacs.d and .emacs.d/elisp
2011-04-14 20:49:49 +02:00