aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-07-26 15:05:11 +0200
committerGravatar Tom Willemse2016-07-26 15:05:11 +0200
commitf1a55c3030a2c193b344db57893aaeef978b64e5 (patch)
tree6f6e6d80d1d4408889e2c52f6549c673be85c672
parentfd6b7eff2b7fdf1b31bab731996513b37a8cc434 (diff)
downloadnew-dotfiles-f1a55c3030a2c193b344db57893aaeef978b64e5.tar.gz
new-dotfiles-f1a55c3030a2c193b344db57893aaeef978b64e5.zip
Start emacsclient, not emacs
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart4
1 files changed, 3 insertions, 1 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart
index 5491d6d..99de8fd 100755
--- a/herbstluftwm/.config/herbstluftwm/autostart
+++ b/herbstluftwm/.config/herbstluftwm/autostart
@@ -67,9 +67,11 @@ hc keybind $Mod-Shift-k remove
# them is a big productivity boost.
hc keybind $Mod-Return spawn urxvt
hc keybind $Mod-c spawn hlwm-run-or-raise URxvt urxvt
-hc keybind $Mod-t spawn hlwm-run-or-raise Emacs emacs
hc keybind $Mod-b spawn hlwm-run-or-raise Conkeror conkeror
+hc keybind $Mod-t spawn hlwm-run-or-raise Emacs \
+ emacsclient --create-frame --alternate-editor=''
+
# Since I use the colemak keyboard layout, hjkl doesn't make much
# sense. I use neio instead since that is almost in the same place
# (though one place to the right). I try to use my run-or-raise script