Created
September 5, 2017 03:07
-
-
Save tvhung83/f23e7f82b55860bd7fe90256c997f4fc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; init.el -*- lexical-binding: t; -*- | |
;; | |
;; Author: Henrik Lissner <[email protected]> | |
;; URL: https://github.com/hlissner/.emacs.d | |
;; | |
;; ================= =============== =============== ======== ======== | |
;; \\ . . . . . . .\\ //. . . . . . .\\ //. . . . . . .\\ \\. . .\\// . . // | |
;; ||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\/ . . .|| | |
;; || . .|| ||. . || || . .|| ||. . || || . .|| ||. . || ||. . . . . . . || | |
;; ||. . || || . .|| ||. . || || . .|| ||. . || || . .|| || . | . . . . .|| | |
;; || . .|| ||. _-|| ||-_ .|| ||. . || || . .|| ||. _-|| ||-_.|\ . . . . || | |
;; ||. . || ||-' || || `-|| || . .|| ||. . || ||-' || || `|\_ . .|. .|| | |
;; || . _|| || || || || ||_ . || || . _|| || || || |\ `-_/| . || | |
;; ||_-' || .|/ || || \|. || `-_|| ||_-' || .|/ || || | \ / |-_.|| | |
;; || ||_-' || || `-_|| || || ||_-' || || | \ / | `|| | |
;; || `' || || `' || || `' || || | \ / | || | |
;; || .===' `===. .==='.`===. .===' /==. | \/ | || | |
;; || .==' \_|-_ `===. .===' _|_ `===. .===' _-|/ `== \/ | || | |
;; || .==' _-' `-_ `=' _-' `-_ `=' _-' `-_ /| \/ | || | |
;; || .==' _-' '-__\._-' '-_./__-' `' |. /| | || | |
;; ||.==' _-' `' | /==.|| | |
;; ==' _-' \/ `== | |
;; \ _-' `-_ / | |
;; `'' ``' | |
;; | |
;; These demons are not part of GNU Emacs. | |
;; | |
;;; License: MIT | |
(require 'core (concat user-emacs-directory "core/core")) | |
(doom! :feature | |
evil ; come to the dark side, we have cookies | |
jump ; helping you get around | |
snippets ; my elves. They type so I don't have to | |
file-templates ; auto-snippets for empty files | |
hydra ; keybindings that stick around | |
spellcheck ; tasing you for misspelling mispelling | |
syntax-checker ; tasing you for every semicolon you forget | |
version-control ; remember, remember that commit in November | |
workspaces ; tab emulation, persistence & separate workspaces | |
eval ; repls, runners 'n builders; run code, run | |
;debug ; FIXME stepping through code, to help you add bugs | |
:completion | |
company ; the ultimate code completion backend | |
ivy ; a search engine for love and life | |
;helm ; the *other* search engine for love and life | |
;ido ; the other *other* search engine... | |
:ui | |
doom ; what makes DOOM look the way it does | |
doom-dashboard ; a nifty splash screen for Emacs | |
doom-modeline ; a snazzy Atom-inspired mode-line | |
doom-quit ; DOOM quit-message prompts when you quit Emacs | |
hl-todo ; highlight TODO/FIXME/NOTE tags | |
;nav-flash ; blink the current line after jumping | |
evil-goggles ; display visual hints when editing in evil | |
;unicode ; extended unicode support for various languages | |
;tabbar ; FIXME an (incomplete) tab bar for Emacs | |
:tools | |
dired ; making dired pretty [functional] | |
electric-indent ; smarter, keyword-based electric-indent | |
eshell ; a consistent, cross-platform shell (WIP) | |
gist ; interacting with github gists | |
impatient-mode ; show off code over HTTP | |
macos ; MacOS-specific commands | |
neotree ; a project drawer, like NERDTree for vim | |
;password-store ; password manager for nerds | |
prodigy ; manage external services from within emacs | |
rotate-text ; cycle region at point between text candidates | |
term ; terminals in Emacs | |
;tmux ; an API for interacting with tmux | |
upload ; map local to remote projects via ssh/ftp | |
:lang | |
;assembly ; assembly for fun or debugging | |
cc ; C/C++/Obj-C madness | |
crystal ; ruby at the speed of c | |
;csharp ; unity, .NET, and mono shenanigans | |
data ; config/data formats | |
;elixir ; erlang done right | |
;elm ; care for a cup of TEA? | |
emacs-lisp ; drown in parentheses | |
go ; the hipster dialect | |
;haskell ; a language that's lazier than I am | |
;hy ; readability of scheme w/ speed of python | |
java ; the poster child for carpal tunnel syndrome | |
javascript ; all(hope(abandon(ye(who(enter(here)))))) | |
;julia ; a better, faster MATLAB | |
;latex ; writing papers in Emacs has never been so fun | |
lua ; one-based indices? one-based indices | |
markdown ; writing docs for people to ignore | |
;ocaml ; an objective camel | |
;perl ; write code no one else can comprehend | |
;php ; make php less awful to work with | |
;plantuml ; diagrams for confusing people more | |
;purescript ; javascript, but functional | |
python ; beautiful is better than ugly | |
rest ; Emacs as a REST client | |
ruby ; 1.step do {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} | |
;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() | |
scala ; java, but good | |
sh ; she sells (ba|z)sh shells on the C xor | |
;swift ; who asked for emoji variables? | |
;typescript ; javascript, but better | |
web ; the tubes | |
:org | |
org ; organize your plain life in plain text | |
org-babel ; executable code snippets in org-mode | |
;org-attach ; FIXME my own, simpler attachment system | |
org-capture ; a better org-capture, in or outside of Emacs | |
;org-export ; a custom, centralized export system | |
org-notebook ; org-mode as a notebook | |
org-present ; using org-mode for presentations | |
;org-sync ; TODO sync with mobile | |
;org-publish ; TODO org + blogs | |
;; Applications are complex and opinionated modules that transform Emacs | |
;; toward a specific purpose. They may have additional dependencies and | |
;; should be loaded last. | |
;:app | |
;email ; emacs as an email client | |
;irc ; how neckbeards socialize | |
;rss ; emacs as an RSS reader | |
;twitter ; twitter client https://twitter.com/vnought | |
;write ; emacs as a word processor (latex + org + markdown) | |
;; Private modules named after your username are loaded automatically. | |
;; Leaving this here is harmless though. Also, they are omitted from | |
;; source control (except for mine; use it as a reference). | |
:private hlissner) | |
; My custom settings | |
(set! :font "Roboto Mono for Powerline" :size 14) | |
(set! :big-font "Roboto Mono for Powerline" :size 18) | |
(set! :variable-font "Roboto" :size 10) | |
(set! :unicode-font "Roboto Mono for Powerline" :size 12) | |
(setq insert-directory-program "/usr/local/bin/gls") | |
(setq ns-use-native-fullscreen t) | |
(defvar +latex-bibtex-dir "~/workspace/writing/biblio/" | |
"Where bibtex files are kept.") | |
(defvar +org-dir (expand-file-name "~/workspace/notes/") | |
"The directory where org files are kept.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment