diff options
author | Thanos Apollo <[email protected]> | 2022-11-30 02:38:10 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2022-11-30 02:38:10 +0200 |
commit | 50bc7230ad8780d4d037ad66581d40e87a9dad8d (patch) | |
tree | 6b2213335b659480e99c4d9df12fef0dcba7a45f /.emacs.d/lisp/my-functions.el | |
parent | d5b34d9ed4171a87ae8dea8c7791f17af9294d1d (diff) |
Restracture and organize downloads
Diffstat (limited to '.emacs.d/lisp/my-functions.el')
-rw-r--r-- | .emacs.d/lisp/my-functions.el | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/.emacs.d/lisp/my-functions.el b/.emacs.d/lisp/my-functions.el deleted file mode 100644 index 85eb60a..0000000 --- a/.emacs.d/lisp/my-functions.el +++ /dev/null @@ -1,45 +0,0 @@ -;;; package --- Summary -;;; Commentary: -;;; useful snippets of code for my daily use. -;;; Code: - - -(defun apollo/html-boostrap-boilerplate () - "Insert html boilerplate with boostrap link." - (interactive) - (insert -"<!DOCTYPE html> -<html lang=\"en\"> - <head> - <meta charset=\"UTF-8\"> - <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"> - <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\"> - <title>My Title</title> - <link rel=\"stylesheet\" href=\"./style.css\"> - <link href=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi\" crossorigin=\"anonymous\"> - </head> - <body> - <main> - <h1>Starting point</h1> - </main> - <script src=\"index.js\"></script> - </body> -</html>" )) - -(defun center-buffer () - "Center buffer." - (interactive) - (setq visual-fill-column-width 100 - visual-fill-column-center-text t) - (visual-fill-column-mode 1)) - -(defun center-buffer-undo () - "Undo center-buffer." - (interactive) - (setq visual-fill-column-width 2000 - visual-fill-column-center-text nil) - (visual-fill-column-mode 1)) - - -;;; my-functions.el ends here - |