~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now that Emacs starts up pretty quick, favour it over lesser editors.
[profile]
/
bash_profile
diff --git
a/bash_profile
b/bash_profile
index
383acab
..
af9021f
100644
(file)
--- a/
bash_profile
+++ b/
bash_profile
@@
-92,7
+92,13
@@
export QMAILINJECT=c
# --- Find a text editor ---
export MDW_EDITOR=ed
# --- Find a text editor ---
export MDW_EDITOR=ed
-for ed in mg "emacs22 -nw" "emacs21 -nw" "emacs -nw" vi pico nano ae; do
+emacs_startup_args="--no-site-file --mdw-fast-startup -nw"
+for ed in \
+ "emacs22 $emacs_startup_args" \
+ "emacs21 $emacs_startup_args" \
+ mg \
+ "emacs -nw" \
+ vi pico nano ae; do
name=`echo $ed | sed 's/ .*$//'`
if __mdw_programp "$name"; then
MDW_EDITOR=$ed
name=`echo $ed | sed 's/ .*$//'`
if __mdw_programp "$name"; then
MDW_EDITOR=$ed