aboutsummaryrefslogtreecommitdiff
path: root/local/.emacs
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /local/.emacs
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'local/.emacs')
-rw-r--r--local/.emacs25
1 files changed, 25 insertions, 0 deletions
diff --git a/local/.emacs b/local/.emacs
new file mode 100644
index 00000000..6a521b91
--- /dev/null
+++ b/local/.emacs
@@ -0,0 +1,25 @@
+;; Red Hat Linux default .emacs initialization file ; -*- mode: emacs-lisp -*-
+
+;; Set up the keyboard so the delete key on both the regular keyboard
+;; and the keypad delete the character under the cursor and to the right
+;; under X, instead of the default, backspace behavior.
+(global-set-key [delete] 'delete-char)
+(global-set-key [kp-delete] 'delete-char)
+
+;; turn on font-lock mode
+(global-font-lock-mode t)
+;; enable visual feedback on selections
+(setq-default transient-mark-mode t)
+
+;; always end a file with a newline
+(setq require-final-newline t)
+
+;; stop at the end of the file, not just add lines
+(setq next-line-add-newlines nil)
+
+(when window-system
+ ;; enable wheelmouse support by default
+ (mwheel-install)
+ ;; use extended compound-text coding for X clipboard
+ (set-selection-coding-system 'compound-text-with-extensions))
+