about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xcommit.sh2
-rw-r--r--emacs/.emacs.d/init.el8
-rw-r--r--meta/.bashrc4
3 files changed, 10 insertions, 4 deletions
diff --git a/commit.sh b/commit.sh
new file mode 100755
index 0000000..80cec13
--- /dev/null
+++ b/commit.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+git commit -am "Update $(date -I)"
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index bb625aa..cf6169d 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -3,8 +3,6 @@
 ;; just comment it out by adding a semicolon to the start of the line.
 ;; You may delete these explanatory comments.
 (package-initialize)
-(require 'geiser)
-(setq-default geiser-repl-use-other-window nil)
 (pdf-tools-install)
 
 (custom-set-variables
@@ -35,9 +33,15 @@
                         :width normal))))
  '(whitespace-space ((t (:foreground "gray")))))
 
+(cua-mode)
 (setq-default inhibit-splash-screen t)
 (setq-default fill-column 80)
 (add-hook 'prog-mode-hook 'ruler-mode)
+(add-hook 'scheme-mode-hook
+          (lambda ()
+            (require 'geiser)
+            (setq-default geiser-repl-use-other-window nil)
+            (setq-default geiser-repl-query-on-kill-p nil)))
 (add-hook 'python-mode-hook
           (lambda ()
             (setq fill-column 79)
diff --git a/meta/.bashrc b/meta/.bashrc
index f159b4c..c0bbaed 100644
--- a/meta/.bashrc
+++ b/meta/.bashrc
@@ -115,8 +115,8 @@ if ! shopt -oq posix; then
   fi
 fi
 
-# vi mode input
-set -o vi
+# emacs mode input
+set -o emacs
 
 export EDITOR=vim
 export PAGER=less