diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-04 10:18:06 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-04 10:19:58 +1300 |
commit | 97a0d713317036d773df6476f8ae47a1e423276f (patch) | |
tree | 801397ab604b39e27156e078ed7474df5d2bd4a7 /emacs | |
parent | Use :lhelpgrep for help search shortcut (diff) | |
download | dotfiles-97a0d713317036d773df6476f8ae47a1e423276f.tar.gz dotfiles-97a0d713317036d773df6476f8ae47a1e423276f.zip |
Further attempts at sane Emacs VISUAL setting
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/bin/emacsm.sh | 3 | ||||
-rw-r--r-- | emacs/profile.d/emacs.sh | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/emacs/bin/emacsm.sh b/emacs/bin/emacsm.sh new file mode 100644 index 00000000..58571c5c --- /dev/null +++ b/emacs/bin/emacsm.sh @@ -0,0 +1,3 @@ +# Try to manage GNU emacs daemons on the terminal +# Emphasis on "try". Man, I have no idea what I'm doing. +emacsclient --create-frame --alternate-editor='' diff --git a/emacs/profile.d/emacs.sh b/emacs/profile.d/emacs.sh new file mode 100644 index 00000000..34f6d476 --- /dev/null +++ b/emacs/profile.d/emacs.sh @@ -0,0 +1,2 @@ +# Start an Emacs server if we can't detect one already running +pgrep -fx -u "$USER" 'emacs --daemon' >/dev/null || emacs --daemon |