Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

misc

  • Loading branch information...
commit 5439854077f71355d04a8a460a8d3aceec63f200 1 parent a65411a
@dougm authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 dougm/init.el
View
14 dougm/init.el
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.