From ef4697a88b6ecad69096adf195b2827c91403b2e Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 7 Mar 2023 23:00:58 +0200 Subject: emacs: for functions add create-scratch-writter-buffer --- .emacs.d/init.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index bdc5b16..786b6db 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -532,7 +532,7 @@ you have the correctly set the OPENAI_API_KEY variable"
-

Starting point

+

Starting point

@@ -594,7 +594,7 @@ you have the correctly set the OPENAI_API_KEY variable" (interactive) (start-process-shell-command "setxkbmap" nil "setxkbmap gr")) - + (defun apollo/exwm-update-class () (exwm-workspace-rename-buffer exwm-class-name)) @@ -617,6 +617,11 @@ you have the correctly set the OPENAI_API_KEY variable" (start-process-shell-command "polybar" nil "polybar main"))) +(defun create-scratch-writter-buffer nil + "create a scratch buffer" + (interactive) + (switch-to-buffer (get-buffer-create "*scratch-writter*"))) + (global-set-key (kbd "") 'keyboard-escape-quit) (global-set-key (kbd "s-=") 'text-scale-increase) (global-set-key (kbd "s--") 'text-scale-decrease) -- cgit v1.2.3