Emacs: Disable mode line for vterm scratch HLWM: new keybindings for terminals

This commit is contained in:
Joseph Ferano 2023-08-24 16:30:57 +07:00
parent cd217883df
commit 5cb67f3585
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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