diff options
Diffstat (limited to 'emacs.el')
-rw-r--r-- | emacs.el | 63 |
1 files changed, 16 insertions, 47 deletions
@@ -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 ))) |