From 2abf7d23eb53f14cb0ea361c1fbcfacac642e6ab Mon Sep 17 00:00:00 2001 From: Curt Spark Date: Sun, 12 Apr 2020 00:31:20 +0100 Subject: [PATCH] Initial Commit --- README.org | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ config.org | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ init.el | 37 +++++++++++++++++++++++++++ 3 files changed, 187 insertions(+) create mode 100644 README.org create mode 100644 config.org create mode 100644 init.el diff --git a/README.org b/README.org new file mode 100644 index 0000000..9536da3 --- /dev/null +++ b/README.org @@ -0,0 +1,75 @@ +#+TITLE: Bloxie's Emacs Configuration +#+CREATOR: Bloxiebird + +* Introduction +Welcome to my Emacs configuration! + + +* Config +** Appearance +*** Remove Tool Bar +#+BEGIN_SRC emacs-lisp + (tool-bar-mode -1) +#+END_SRC +*** Remove Menu Bar +#+BEGIN_SRC emacs-lisp + (menu-bar-mode -1) +#+END_SRC +*** Remove Scroll Bar +#+BEGIN_SRC emacs-lisp + (scroll-bar-mode -1) +#+END_SRC +** Evil Mode +#+BEGIN_SRC emacs-lisp + (use-package evil + :ensure t + :init + (evil-mode 1)) +#+END_SRC +** Org Mode +*** Org Bullets +#+BEGIN_SRC emacs-lisp + (use-package org-bullets + :ensure t + :config + (add-hook 'org-mode-hook (lambda () (org-bullets-mode)))) +#+END_SRC +*** Enable Indent Mode +#+BEGIN_SRC emacs-lisp + (add-hook 'org-mode-hook 'org-indent-mode) +#+END_SRC +*** Enable Beamer Support +#+BEGIN_SRC emacs-lisp + (add-hook 'org-mode-hook 'org-beamer-mode) +#+END_SRC +** Auto Completion +*** Ivy +#+BEGIN_SRC emacs-lisp + (use-package ivy + :ensure t + :init + (ivy-mode 1)) +#+END_SRC +*** Company +#+BEGIN_SRC emacs-lisp + (use-package company + :ensure t + :init + (global-company-mode 1)) +#+END_SRC +*** Which Key +#+BEGIN_SRC emacs-lisp + (use-package which-key + :ensure t + :init + (which-key-mode)) +#+END_SRC +** Spell Correction +*** Flyspell Correct Ivy +#+BEGIN_SRC emacs-lisp + (use-package flyspell-correct-ivy + :ensure t + :bind ("C-M-;" . flyspell-correct-wrapper) + :init + (setq flyspell-correct-interface #'flyspell-correct-ivy)) +#+END_SRC diff --git a/config.org b/config.org new file mode 100644 index 0000000..9536da3 --- /dev/null +++ b/config.org @@ -0,0 +1,75 @@ +#+TITLE: Bloxie's Emacs Configuration +#+CREATOR: Bloxiebird + +* Introduction +Welcome to my Emacs configuration! + + +* Config +** Appearance +*** Remove Tool Bar +#+BEGIN_SRC emacs-lisp + (tool-bar-mode -1) +#+END_SRC +*** Remove Menu Bar +#+BEGIN_SRC emacs-lisp + (menu-bar-mode -1) +#+END_SRC +*** Remove Scroll Bar +#+BEGIN_SRC emacs-lisp + (scroll-bar-mode -1) +#+END_SRC +** Evil Mode +#+BEGIN_SRC emacs-lisp + (use-package evil + :ensure t + :init + (evil-mode 1)) +#+END_SRC +** Org Mode +*** Org Bullets +#+BEGIN_SRC emacs-lisp + (use-package org-bullets + :ensure t + :config + (add-hook 'org-mode-hook (lambda () (org-bullets-mode)))) +#+END_SRC +*** Enable Indent Mode +#+BEGIN_SRC emacs-lisp + (add-hook 'org-mode-hook 'org-indent-mode) +#+END_SRC +*** Enable Beamer Support +#+BEGIN_SRC emacs-lisp + (add-hook 'org-mode-hook 'org-beamer-mode) +#+END_SRC +** Auto Completion +*** Ivy +#+BEGIN_SRC emacs-lisp + (use-package ivy + :ensure t + :init + (ivy-mode 1)) +#+END_SRC +*** Company +#+BEGIN_SRC emacs-lisp + (use-package company + :ensure t + :init + (global-company-mode 1)) +#+END_SRC +*** Which Key +#+BEGIN_SRC emacs-lisp + (use-package which-key + :ensure t + :init + (which-key-mode)) +#+END_SRC +** Spell Correction +*** Flyspell Correct Ivy +#+BEGIN_SRC emacs-lisp + (use-package flyspell-correct-ivy + :ensure t + :bind ("C-M-;" . flyspell-correct-wrapper) + :init + (setq flyspell-correct-interface #'flyspell-correct-ivy)) +#+END_SRC diff --git a/init.el b/init.el new file mode 100644 index 0000000..edf56a1 --- /dev/null +++ b/init.el @@ -0,0 +1,37 @@ +;; Added by Package.el. This must come before configurations of +;; installed packages. Don't delete this line. If you don't want it, +;; just comment it out by adding a semicolon to the start of the line. +;; You may delete these explanatory comments. +(require 'package) +(setq package-enable-at-startup nil) +(add-to-list 'package-archives + '("melpa" . "https://melpa.org/packages/")) +(package-initialize) + +;; Packages + +;; Use-Package + +(unless (package-installed-p 'use-package) + (package-refresh-contents) + (package-install 'use-package)) + +;; Read the Org Configuration +(when (file-readable-p "~/.emacs.d/config.org") + (org-babel-load-file (expand-file-name "~/.emacs.d/config.org"))) + +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(custom-enabled-themes (quote (wombat))) + '(package-selected-packages + (quote + (org-bullets company flyspell-correct-ivy evil ivy which-key use-package)))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + )