summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-03-07 23:00:58 +0200
committerThanos Apollo <[email protected]>2023-03-07 23:00:58 +0200
commitef4697a88b6ecad69096adf195b2827c91403b2e (patch)
tree462144f217efdc5e13db1a0472a8d063fdfed5be /.emacs.d
parent98520dab30300c3f54c74bf34793eb1372932f93 (diff)
emacs: for functions add create-scratch-writter-buffer
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el9
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)