From e4028f83dab75489a0bd8fe0e2a8fa4abf2a95ee Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 9 Jan 2013 11:32:12 -0500 Subject: restructure, cleanup, renaming no functional content change --- conf/km-editor.el | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 conf/km-editor.el (limited to 'conf/km-editor.el') diff --git a/conf/km-editor.el b/conf/km-editor.el new file mode 100644 index 0000000..0fe2a31 --- /dev/null +++ b/conf/km-editor.el @@ -0,0 +1,28 @@ +;; check km-ui.el if don't find something in here + +(setq-default fill-column 72) +(add-hook 'text-mode-hook 'turn-on-auto-fill) + +;; ess +;; (require 'ess-site) +(add-hook 'ess-mode-hook (lambda () + (setq ess-indent-level 4))) + +;; shell scripts +(add-hook 'sh-mode-hook (lambda () + (setq sh-basic-offset 4))) + +(global-set-key (kbd "C-x \\") 'align-regexp) + +;; make whitespace-mode use just basic coloring +;; http://ergoemacs.org/emacs/whitespace-mode.html +(setq whitespace-style (quote + (spaces tabs newline space-mark + tab-mark newline-mark))) + +(delete-selection-mode t) ;; write over selected text +(transient-mark-mode t) +;; share clipboard with system +(setq x-select-enable-clipboard t) + +(blink-cursor-mode -1) -- cgit v1.2.3