summaryrefslogtreecommitdiff
path: root/.selected_editor
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-04-15 17:03:59 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-04-15 17:03:59 -0400
commitf62b10487c2d2560923865b07306765f8ff055a2 (patch)
treed8843020a98833e688a53d2d23436741f5e719fe /.selected_editor
parentd63d53e4b21cc68b04e3c52c717f507f785f6258 (diff)
Fiddle with the default editor
Start tracking .selected editor, make use of this in .profile. Create the v-editor script, which calls either $VISUAL, $EDITOR, or $SELECTED editor, depending. Symlink `v-editor' to `editor', to overide /bin/editor, which might be used by some stupid programs.
Diffstat (limited to '.selected_editor')
-rw-r--r--.selected_editor2
1 files changed, 2 insertions, 0 deletions
diff --git a/.selected_editor b/.selected_editor
new file mode 100644
index 0000000..095d9cf
--- /dev/null
+++ b/.selected_editor
@@ -0,0 +1,2 @@
+# Generated by /usr/bin/select-editor
+SELECTED_EDITOR="emacsclient -a ''"