Initial Commit

This commit is contained in:
Curt Spark 2020-04-12 00:31:20 +01:00
commit 2abf7d23eb
3 changed files with 187 additions and 0 deletions

75
README.org Normal file
View File

@ -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

75
config.org Normal file
View File

@ -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

37
init.el Normal file
View File

@ -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.
)