From 5cb67f3585237f032350c1fa9b75e7e9993c1156 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Thu, 24 Aug 2023 16:30:57 +0700 Subject: [PATCH] Emacs: Disable mode line for vterm scratch HLWM: new keybindings for terminals --- .config/emacs/init.org | 1 + .config/herbstluftwm/autostart | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 37ebbc4..6572b70 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -1833,6 +1833,7 @@ the right frame, I'm going to use the frame's name to close and remove the hook (let* ((vterm-buf (vterm--internal #'switch-to-buffer "Scratch VTerm"))) (set-frame-parameter nil 'scratch-frame t) (with-current-buffer vterm-buf + (setq mode-line-format nil) (setq popper-popup-status 'raised) (olivetti-mode) (add-hook 'delete-frame-functions #'joe/kill-vterm-scratch) diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index b64dda1..e2250f5 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -31,8 +31,8 @@ Mod=Mod4 # Use the super key as the main modifier hc keybind $Mod-Ctrl-q quit hc keybind $Mod-Shift-r reload hc keybind $Mod-Shift-q close -hc keybind $Mod-Return spawn kitty # use your $TERMINAL with xterm as fallback -hc keybind $Mod-v spawn emacs-app +hc keybind $Mod-Shift-Return spawn kitty # use your $TERMINAL with xterm as fallback +hc keybind $Mod-Return spawn emacs-app hc keybind $Mod-space spawn emacs-run-launcher # basic movement in tiling and floating mode