zile: Yet another editor configuration.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 16 Mar 2009 13:31:02 +0000 (13:31 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 16 Mar 2009 13:32:37 +0000 (13:32 +0000)
bash_profile
setup
zile [new file with mode: 0644]

index 057f797..7523cfc 100644 (file)
@@ -94,7 +94,7 @@ emacs_startup_args="--no-site-file --mdw-fast-startup -nw"
 for ed in \
        "emacs22 $emacs_startup_args" \
        "emacs21 $emacs_startup_args" \
-       mg \
+       zile mg \
        "emacs -nw" \
        vi pico nano ae; do
   name=`echo $ed | sed 's/ .*$//'`
diff --git a/setup b/setup
index 79a6f34..da1d071 100755 (executable)
--- a/setup
+++ b/setup
@@ -130,7 +130,7 @@ fi
 dotfiles="
   bash_profile bash_logout bashrc inputrc bash_completion
   emacs emacs-calc vm gnus.el
-  vimrc mg
+  vimrc mg zile
   mailrc signature
   cgrc tigrc
   gdbinit
diff --git a/zile b/zile
new file mode 100644 (file)
index 0000000..97c90d9
--- /dev/null
+++ b/zile
@@ -0,0 +1,13 @@
+;;; -*-emacs-lisp-*-
+;;;
+;;; Configuration file for ZILE.
+
+;; Indentation.
+(setq indent-tabs-mode t)
+(setq standard-indent 2)
+
+;; Key bindings.
+(global-set-key "\M-\LEFT" 'backward-word)
+(global-set-key "\M-\RIGHT" 'forward-word)
+(global-set-key "\F4" 'call-last-kbd-macro)
+(global-set-key "\C-x/" 'auto-fill-mode)