From b0d8acbe46c9b30dafd08db90bda828c2862afbd Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 16 Mar 2009 13:31:02 +0000 Subject: [PATCH] zile: Yet another editor configuration. --- bash_profile | 2 +- setup | 2 +- zile | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 zile diff --git a/bash_profile b/bash_profile index 057f797..7523cfc 100644 --- a/bash_profile +++ b/bash_profile @@ -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 --- 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 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) -- 2.11.0