Install configuration for `mg' editor.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 30 Jan 2008 12:14:05 +0000 (12:14 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 30 Jan 2008 12:14:05 +0000 (12:14 +0000)
`mg' is a nice little editor which behaves like Emacs but starts up
/very/ quickly.

mg [new file with mode: 0644]
setup

diff --git a/mg b/mg
new file mode 100644 (file)
index 0000000..fcea1cb
--- /dev/null
+++ b/mg
@@ -0,0 +1,15 @@
+meta-key-mode
+global-set-key ")" blink-matching-paren-hack
+global-set-key "]" blink-matching-paren-hack
+global-set-key "}" blink-matching-paren-hack
+blink-matching-paren
+set-fill-column 72
+
+global-set-key "\e[1~" beginning-of-buffer
+global-set-key "\e[2~" overwrite-mode
+global-set-key "\e[4~" end-of-buffer
+global-set-key "\e[17~" auto-fill-mode
+global-set-key "\e[15~" goto-line
+global-set-key "\e[19~" undo
+
+global-set-key "\e\r" call-last-kbd-macro
diff --git a/setup b/setup
index 323a164..3a3d673 100755 (executable)
--- a/setup
+++ b/setup
@@ -144,7 +144,7 @@ fi
 dotfiles="
   bash_profile bash_logout bashrc inputrc bash_completion
   emacs emacs-calc vm
-  vimrc
+  vimrc mg
   mailrc signature
   gitconfig cgrc tigrc
   lisp-init.lisp:.cmucl-init.lisp