aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2022-12-18 14:46:00 +0100
committeralex <alex@pdp7.net>2022-12-18 15:02:27 +0100
commit3b263ebfe4a1262998aaf44d9a7f7f909d4c5826 (patch)
tree72187f7e94ea59add79a537f557f742489bac466 /emacs
parentec4b34253ee5d6376ebcbb4f7aee97b82652f48e (diff)
Add emacs bash config
Diffstat (limited to 'emacs')
-rw-r--r--emacs/emacs.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/emacs.bash b/emacs/emacs.bash
new file mode 100644
index 00000000..d56f8a30
--- /dev/null
+++ b/emacs/emacs.bash
@@ -0,0 +1,6 @@
+# source this file from your bash startup script
+
+alias emacs="emacsclient --create-frame -t"
+export ALTERNATE_EDITOR=""
+export EDITOR="emacsclient -t"
+export VISUAL="emacsclient -c -a emacs"