Permalink
Browse files

misc

  • Loading branch information...
1 parent a65411a commit 5439854077f71355d04a8a460a8d3aceec63f200 @dougm committed Oct 26, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 dougm/init.el
View
@@ -2,6 +2,15 @@
(setq c-default-style "bsd")
(setq whitespace-line-column 80
whitespace-style '(face trailing lines-tail))
+(setq-default show-trailing-whitespace t)
+(put 'downcase-region 'disabled nil)
+(column-number-mode t)
+
+(add-hook 'text-mode-hook 'turn-on-auto-fill)
+(add-hook 'text-mode-hook
+ '(lambda () (set-fill-column 80)))
+
+(global-set-key (kbd "C-x g") 'goto-line)
(add-hook 'c-mode-common-hook
(lambda ()
@@ -33,6 +42,11 @@
(interactive)
(compile "go test -v"))
+(defun go-chk ()
+ "gocheck project"
+ (interactive)
+ (compile "go test -gocheck.vv"))
+
(defun go-run ()
"go run current buffer"
(interactive)

0 comments on commit 5439854

Please sign in to comment.