diff options
author | Thanos Apollo <[email protected]> | 2023-03-07 23:00:58 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-03-07 23:00:58 +0200 |
commit | ef4697a88b6ecad69096adf195b2827c91403b2e (patch) | |
tree | 462144f217efdc5e13db1a0472a8d063fdfed5be /.emacs.d | |
parent | 98520dab30300c3f54c74bf34793eb1372932f93 (diff) |
emacs: for functions add create-scratch-writter-buffer
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/init.el | 9 |
1 files changed, 7 insertions, 2 deletions
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" </head> <body> <main> - <h1>Starting point</h1> + <h1>Starting point</h1> </main> <script src=\"index.js\"></script> </body> @@ -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 "<escape>") 'keyboard-escape-quit) (global-set-key (kbd "s-=") 'text-scale-increase) (global-set-key (kbd "s--") 'text-scale-decrease) |