TeX-source-correlate-mode t
TeX-electric-sub-and-superscript t
;; TeX-electric-escape t
- LaTeX-electric-left-right-brace t)
+ LaTeX-electric-left-right-brace t
+ ;; Read remote man pages
+ Man-support-remote-systems t)
(setq-default indent-tabs-mode nil)
(defun esy/ttyper ()
(interactive)
(let ((default-directory "~"))
- (eat "ttyper" t)))
+ (eat "ttyper -c ~/.config/ttyper/config.toml" t)))
(defun esy/hut-builds ()
(interactive)
(point-max)
filename))))
+(defface comint '((t :background "#fff2f3")) "")
+
(with-eval-after-load 'comint
- (keymap-set comint-mode-map "C-c C-q" #'esy/log-buffer))
+ (keymap-set comint-mode-map "C-c C-q" #'esy/log-buffer)
+ (add-hook 'comint-mode-hook
+ (lambda ()
+ (dolist (face '(default fringe mode-line-inactive))
+ (face-remap-add-relative face 'comint)))))
(defun esy/recent-log-summary ()
"Display a summary of my website's most recent access log."
;;; Configure terminal emulation via `vterm'
(with-eval-after-load 'vterm
- (add-to-list 'vterm-tramp-shells '("kubernetes" "/bin/bash")))
+ (add-to-list 'vterm-tramp-shells '("kubernetes" "/bin/bash"))
+ (add-to-list 'vterm-tramp-shells '("ssh" "/bin/bash")))
;;; Remove some over-intrusive keybindings in `paredit'
;;; Configure Help
+(defface help '((t :background "#f0fff0")) "")
+
(with-eval-after-load 'help-fns
(with-eval-after-load 'shortdoc
(add-hook 'help-fns-describe-function-functions
- #'shortdoc-help-fns-examples-function)))
+ #'shortdoc-help-fns-examples-function))
+ (add-hook 'help-mode-hook
+ (lambda ()
+ (dolist (face '(default fringe mode-line-inactive))
+ (face-remap-add-relative face 'help)))))
;;; Configure dictionary