From a785a970241636116b14837a23aab62552d211fb Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 22 Sep 2023 21:15:05 +0300 Subject: devtools.el: update keybindings & tramp support --- .emacs.d/modules/thanos-commands.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.emacs.d/modules/thanos-commands.el') diff --git a/.emacs.d/modules/thanos-commands.el b/.emacs.d/modules/thanos-commands.el index 8966d96..7066c3e 100644 --- a/.emacs.d/modules/thanos-commands.el +++ b/.emacs.d/modules/thanos-commands.el @@ -59,6 +59,13 @@ (define-key Create (kbd "e") 'create-scratch) +(defun thanos/center-buffer () + (interactive) + (set-fringe-mode + (/ (- (frame-pixel-width) + (* 150 (frame-char-width))) + 2))) + (defun vm-create-image () "Create qcow2 image." (interactive) -- cgit v1.2.3