summaryrefslogtreecommitdiff
path: root/emacs.el
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-11-22 12:35:43 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-11-22 12:35:43 +0100
commit8f4399de7ef21786b57e884fdd398fa4495d3842 (patch)
tree1b1d8e1a226af1fd97792de2c064897c7c85cf6e /emacs.el
parentbace3496ff383423b4236dfc1be3bbe868a54d99 (diff)
Reintegrate Guix Home
Diffstat (limited to 'emacs.el')
-rw-r--r--emacs.el63
1 files changed, 16 insertions, 47 deletions
diff --git a/emacs.el b/emacs.el
index eb58dab..562cf00 100644
--- a/emacs.el
+++ b/emacs.el
@@ -1,13 +1,5 @@
;;; Disable auto-backup
-(setq-default make-backup-files
- nil)
-
-;;; Enable MELPA repository
-(require 'package)
-(add-to-list 'package-archives
- '("melpa" . "https://melpa.org/packages/")
- t)
-(package-initialize)
+(setq-default make-backup-files nil)
;;; https://github.com/fimblo/dot.emacs
;;; Theme Activation
@@ -15,52 +7,29 @@
;;; https://elpa.gnu.org/packages/aggressive-indent.html
;;; Automatic Activation of Aggressive Indent
-(setq-default global-aggressive-indent-mode
- 1)
-
-;;; https://jeko.frama.io/en/emacs.html
-;;; Jeko's suggested configuration
+(global-aggressive-indent-mode)
;; Highlight the pair of delimiters under the cursor
-(setq-default
- show-paren-mode 1
- show-paren-delay 0)
-
-;; Edit several strings of characters in the same way simultaneously
-(require 'iedit)
-
-;; 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)
-;; (global-set-key (kbd "C->")
-;; 'mc/mark-next-like-this)
-;; (global-set-key (kbd "C-<")
-;; 'mc/mark-previous-like-this)
-;; (global-set-key (kbd "C-c C-<")
-;; 'mc/mark-all-like-this)
+(setq-default show-paren-mode 1
+ show-paren-delay 0)
;;; https://guix.gnu.org/manual/en/html_node/The-Perfect-Setup.html
;;; Copyright Information
-(setq-default
- user-full-name "Marek Paśnikowski"
- user-mail-address "marekpasnikowski@protonmail.com")
+(setq-default user-full-name "Marek Paśnikowski"
+ user-mail-address "marekpasnikowski@protonmail.com")
;;; Startup Screen Inhibition
-(setq-default inhibit-startup-screen
- t)
+(setq-default inhibit-startup-screen t)
;; Enable the column-80 line
-(setq-default
- global-display-fill-column-indicator-mode 1
- display-fill-column-indicator-column 79)
+(setq-default display-fill-column-indicator 1
+ display-fill-column-indicator-column 79)
+(global-display-fill-column-indicator-mode)
;; Prepare Literate Programming
-(setq-default
- org-confirm-babel-evaluate nil
- org-src-fontify-natively t
- org-src-tab-acts-natively t)
-(org-babel-do-load-languages 'org-babel-load-languages
- '((emacs-lisp . t)
- (scheme . t )
- (shell . t )))
+(setq-default org-confirm-babel-evaluate nil
+ org-src-fontify-natively t
+ org-src-tab-acts-natively t)
+(org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t)
+ (scheme . t )
+ (shell . t )))