Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

More emacs customization

  • Loading branch information...
commit 1786f0838ce94fd10f8ade73e2ff7e25fea05835 1 parent baf0e9d
Gary Bernhardt authored December 19, 2008
23  .emacs
@@ -39,6 +39,7 @@
39 39
 ; GRB: no tabs
40 40
 (setq-default indent-tabs-mode nil)
41 41
 (setq-default c-basic-offset 4)
  42
+(setq-default default-tab-width 4)
42 43
 
43 44
 ; GRB: confirm exit
44 45
 (setq confirm-kill-emacs #'yes-or-no-p)
@@ -189,7 +190,8 @@
189 190
           "^\\*tumme-display-image\\*$"
190 191
           "^\\*SLIME Description\\*$"
191 192
           "^\\*.* output\\*$"           ; tex compilation buffer
192  
-          "^\\*TeX Help\\*$"))
  193
+          "^\\*TeX Help\\*$"
  194
+          "^\\*Shell Command Output\\*$"))
193 195
 (setq grb-temporary-window (nth 2 (window-list)))
194 196
 (defun grb-special-display (buffer &optional data)
195 197
   (let ((window grb-temporary-window))
@@ -205,5 +207,22 @@
205 207
 (setq inhibit-startup-message t)
206 208
 
207 209
 ; GRB: always fill at 78 characters
208  
-(add-hook 'text-mode-hook 'turn-on-auto-fill)
  210
+(add-hook 'text-mode-hook
  211
+          (lambda ()
  212
+            (turn-on-auto-fill)
  213
+            (set-fill-column 78)))
  214
+;(add-hook 'text-mode-hook 'turn-on-auto-fill)
  215
+
  216
+(require 'color-theme)
  217
+;(color-theme-pok-wog)
  218
+(color-theme-robin-hood)
  219
+
  220
+; map gw to fill region like it does in vim
  221
+(define-key viper-vi-global-user-map "gw" 'fill-region)
  222
+
  223
+(setq-default auto-fill-function
  224
+              (lambda ()
  225
+                (do-auto-fill)
  226
+                (set-window-hscroll
  227
+                 (selected-window) 0)))
209 228
 
15,177  .emacs-lisp/color-theme.el
15177 additions, 0 deletions not shown

0 notes on commit 1786f08

Please sign in to comment.
Something went wrong with that request. Please try again.