diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-14 11:17:08 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-14 11:17:08 +0100 |
commit | 46a3719434e5cb3496fe872a4a0a9bbcad3a8d1c (patch) | |
tree | d1454e7b1816780b0b9ea11bc8ef8d0c2eec5db0 | |
parent | 8e336423d59cd4937d1e01b23644eabdbe8660ac (diff) |
Emacs configuration: fine-tune comment levels
-rw-r--r-- | emacs.el | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -3,27 +3,27 @@ (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize) -;; https://github.com/fimblo/dot.emacs -;; Theme Activation +;;; https://github.com/fimblo/dot.emacs +;;; Theme Activation (load-theme 'manoj-dark) -;; https://elpa.gnu.org/packages/aggressive-indent.html -;; Automatic Activation of Aggressive Indent +;;; https://elpa.gnu.org/packages/aggressive-indent.html +;;; Automatic Activation of Aggressive Indent (global-aggressive-indent-mode 1) -;; https://jeko.frama.io/en/emacs.html -;; Jeko's suggested configuration +;;; https://jeko.frama.io/en/emacs.html +;;; Jeko's suggested configuration -;;; Highlight cursor line +;; Highlight cursor line (global-hl-line-mode +1) -;;; Highlight the pair of delimiters under the cursor +;; Highlight the pair of delimiters under the cursor (show-paren-mode 1) (setq show-paren-delay 0) -;;; Add Geiser and its auto-completion +;; Add Geiser and its auto-completion (ac-config-default) (require 'ac-geiser) (add-hook 'geiser-mode-hook 'ac-geiser-setup) @@ -31,15 +31,15 @@ (eval-after-load "auto-complete" '(add-to-list 'ac-modes 'geiser-repl-mode)) -;;; Edit the code based on the S-expression structure +;; Edit the code based on the S-expression structure (require 'paredit) (autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t) (add-hook 'scheme-mode-hook #'enable-paredit-mode) -;;; Edit several strings of characters in the same way simultaneously +;; Edit several strings of characters in the same way simultaneously (require 'iedit) -;;; Edit several places in the file in the same way simultaneously +;; Edit several places in the file in the same way simultaneously ;; (require 'multiple-cursors) ;; (global-set-key (kbd "C-S-c C-S-c") ;; 'mc/edit-lines) @@ -50,7 +50,7 @@ ;; (global-set-key (kbd "C-c C-<") ;; 'mc/mark-all-like-this) -;;; Extract variables and functions +;; Extract variables and functions (if (not (package-installed-p 'emr)) (progn (package-refresh-contents) (package-install 'emr))) @@ -61,12 +61,12 @@ (global-set-key (kbd "M-v") 'emr-scm-extract-variable) (global-set-key (kbd "M-f") 'emr-scm-extract-function) -;; https://guix.gnu.org/manual/en/html_node/The-Perfect-Setup.html -;; Copyright Information +;;; https://guix.gnu.org/manual/en/html_node/The-Perfect-Setup.html +;;; Copyright Information (setq user-full-name "Marek Paśnikowski") (setq user-mail-address "marekpasnikowski@protonmail.com") -;; Startup Screen Inhibition +;;; Startup Screen Inhibition (setq inhibit-startup-screen t) |