Add config for doom emacs
This commit is contained in:
		
							
								
								
									
										1
									
								
								dotfiles/doom/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								dotfiles/doom/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
snippets/
 | 
			
		||||
							
								
								
									
										5
									
								
								dotfiles/doom/bin/appt-notification
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								dotfiles/doom/bin/appt-notification
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
TIME="$1"TODO
 | 
			
		||||
MSG="$2"
 | 
			
		||||
 | 
			
		||||
dunstify --replace=85401 "Event in $TIME minutes" "$MSG"
 | 
			
		||||
							
								
								
									
										2770
									
								
								dotfiles/doom/config.org
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2770
									
								
								dotfiles/doom/config.org
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										139
									
								
								dotfiles/doom/init.el
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										139
									
								
								dotfiles/doom/init.el
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,139 @@
 | 
			
		||||
;;; init.el -*- lexical-binding: t; -*-
 | 
			
		||||
 | 
			
		||||
;; Copy this file to ~/.doom.d/init.el or ~/.config/doom/init.el ('doom install'
 | 
			
		||||
;; will do this for you). The `doom!' block below controls what modules are
 | 
			
		||||
;; enabled and in what order they will be loaded. Remember to run 'doom refresh'
 | 
			
		||||
;; after modifying it.
 | 
			
		||||
;;
 | 
			
		||||
;; More information about these modules (and what flags they support) can be
 | 
			
		||||
;; found in modules/README.org.
 | 
			
		||||
 | 
			
		||||
(doom! :completion
 | 
			
		||||
       company           ; the ultimate code completion backend
 | 
			
		||||
       helm              ; the *other* search engine for love and life
 | 
			
		||||
       ivy               ; a search engine for love and life
 | 
			
		||||
 | 
			
		||||
       :ui
 | 
			
		||||
       doom              ; what makes DOOM look the way it does
 | 
			
		||||
       doom-dashboard    ; a nifty splash screen for Emacs
 | 
			
		||||
       hl-todo           ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
 | 
			
		||||
       hydra
 | 
			
		||||
       modeline          ; snazzy, Atom-inspired modeline, plus API
 | 
			
		||||
       nav-flash         ; blink the current line after jumping
 | 
			
		||||
       ophints           ; highlight the region an operation acts on
 | 
			
		||||
       (popup            ; tame sudden yet inevitable temporary windows
 | 
			
		||||
        +all             ; catch all popups that start with an asterix
 | 
			
		||||
        +defaults)       ; default popup rules
 | 
			
		||||
       unicode           ; extended unicode support for various languages
 | 
			
		||||
       vc-gutter         ; vcs diff in the fringe
 | 
			
		||||
       vi-tilde-fringe   ; fringe tildes to mark beyond EOB
 | 
			
		||||
       window-select     ; visually switch windows
 | 
			
		||||
       workspaces        ; tab emulation, persistence & separate workspaces
 | 
			
		||||
 | 
			
		||||
       :editor
 | 
			
		||||
       (evil +everywhere); come to the dark side, we have cookies
 | 
			
		||||
       fold              ; (nigh) universal code folding
 | 
			
		||||
       rotate-text       ; cycle region at point between text candidates
 | 
			
		||||
       snippets          ; my elves. They type so I don't have to
 | 
			
		||||
       word-wrap         ; soft wrapping with language-aware indent
 | 
			
		||||
 | 
			
		||||
       :emacs
 | 
			
		||||
       dired             ; making dired pretty [functional]
 | 
			
		||||
       electric          ; smarter, keyword-based electric-indent
 | 
			
		||||
       ibuffer           ; interactive buffer management
 | 
			
		||||
       vc                ; version-control and Emacs, sitting in a tree
 | 
			
		||||
 | 
			
		||||
       :term
 | 
			
		||||
       eshell            ; a consistent, cross-platform shell (WIP)
 | 
			
		||||
 | 
			
		||||
       :tools
 | 
			
		||||
       debugger          ; FIXME stepping through code, to help you add bugs
 | 
			
		||||
       ;;ein               ; tame Jupyter notebooks with emacs
 | 
			
		||||
       (eval +overlay)     ; run code, run (also, repls)
 | 
			
		||||
       (lookup           ; helps you navigate your code and documentation
 | 
			
		||||
        +docsets)        ; ...or in Dash docsets locally
 | 
			
		||||
       ;;lsp
 | 
			
		||||
       magit             ; a git porcelain for Emacs
 | 
			
		||||
       ;;make              ; run make tasks from Emacs
 | 
			
		||||
       ;;pass              ; password manager for nerds
 | 
			
		||||
       pdf               ; pdf enhancements
 | 
			
		||||
       ;;rgb               ; creating color strings
 | 
			
		||||
       ;;upload            ; map local to remote projects via ssh/ftp
 | 
			
		||||
 | 
			
		||||
       :checkers
 | 
			
		||||
       syntax          ; tasing you for every semicolon you forget
 | 
			
		||||
       spell          ; tasing you for misspelling mispelling
 | 
			
		||||
 | 
			
		||||
       :lang
 | 
			
		||||
       data              ; config/data formats
 | 
			
		||||
       emacs-lisp        ; drown in parentheses
 | 
			
		||||
       ;;ess               ; emacs speaks statistics
 | 
			
		||||
       ;;go                ; the hipster dialect
 | 
			
		||||
       ;;(haskell +dante)  ; a language that's lazier than I am
 | 
			
		||||
       ;;javascript        ; all(hope(abandon(ye(who(enter(here))))))
 | 
			
		||||
       latex             ; writing papers in Emacs has never been so fun
 | 
			
		||||
       markdown          ; writing docs for people to ignore
 | 
			
		||||
       (org              ; organize your plain life in plain text
 | 
			
		||||
        +dragndrop       ; drag & drop files/images into org buffers
 | 
			
		||||
        +hugo            ; use Emacs for hugo blogging
 | 
			
		||||
        +journal         ;
 | 
			
		||||
        ;;+pomodoro        ; be fruitful with the tomato technique
 | 
			
		||||
        +present)        ; using org-mode for presentations
 | 
			
		||||
       ;;python            ; beautiful is better than ugly
 | 
			
		||||
       sh                ; she sells {ba,z,fi}sh shells on the C xor
 | 
			
		||||
       ;;web               ; the tubes
 | 
			
		||||
 | 
			
		||||
       :email
 | 
			
		||||
       ;;(mu4e +gmail)
 | 
			
		||||
 | 
			
		||||
       :app
 | 
			
		||||
       ;;calendar
 | 
			
		||||
       ;;(rss +org)        ; emacs as an RSS reader
 | 
			
		||||
       ;;write             ; emacs for writers (fiction, notes, papers, etc.)
 | 
			
		||||
 | 
			
		||||
       :config
 | 
			
		||||
       literate
 | 
			
		||||
       (default +bindings +smartparens))
 | 
			
		||||
(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-safe-themes
 | 
			
		||||
   (quote
 | 
			
		||||
    ("15ba8081651869ec689c9004288bed79003de5b4ee9c51a9d4a208d9e3439706" "f7b230ac0a42fc7e93cd0a5976979bd448a857cd82a097048de24e985ca7e4b2" "c19e5291471680e72d8bd98f8d6e84f781754a9e8fc089536cda3f0b7c3550e3" default)))
 | 
			
		||||
 '(fci-rule-color "#405A61")
 | 
			
		||||
 '(jdee-db-active-breakpoint-face-colors (cons "#073642" "#268bd2"))
 | 
			
		||||
 '(jdee-db-requested-breakpoint-face-colors (cons "#073642" "#859900"))
 | 
			
		||||
 '(jdee-db-spec-breakpoint-face-colors (cons "#073642" "#56697A"))
 | 
			
		||||
 '(line-spacing 0.2)
 | 
			
		||||
 '(objed-cursor-color "#dc322f")
 | 
			
		||||
 '(pdf-view-midnight-colors (cons "#839496" "#002b36"))
 | 
			
		||||
 '(vc-annotate-background "#002b36")
 | 
			
		||||
 '(vc-annotate-color-map
 | 
			
		||||
   (list
 | 
			
		||||
    (cons 20 "#859900")
 | 
			
		||||
    (cons 40 "#959300")
 | 
			
		||||
    (cons 60 "#a58e00")
 | 
			
		||||
    (cons 80 "#b58900")
 | 
			
		||||
    (cons 100 "#bc7407")
 | 
			
		||||
    (cons 120 "#c35f0e")
 | 
			
		||||
    (cons 140 "#cb4b16")
 | 
			
		||||
    (cons 160 "#cd4439")
 | 
			
		||||
    (cons 180 "#d03d5d")
 | 
			
		||||
    (cons 200 "#d33682")
 | 
			
		||||
    (cons 220 "#d63466")
 | 
			
		||||
    (cons 240 "#d9334a")
 | 
			
		||||
    (cons 260 "#dc322f")
 | 
			
		||||
    (cons 280 "#ba3f41")
 | 
			
		||||
    (cons 300 "#994d54")
 | 
			
		||||
    (cons 320 "#775b67")
 | 
			
		||||
    (cons 340 "#405A61")
 | 
			
		||||
    (cons 360 "#405A61")))
 | 
			
		||||
 '(vc-annotate-very-old-color nil))
 | 
			
		||||
(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.
 | 
			
		||||
 )
 | 
			
		||||
							
								
								
									
										2176
									
								
								dotfiles/doom/local/cdlatex.el
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2176
									
								
								dotfiles/doom/local/cdlatex.el
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										0
									
								
								dotfiles/doom/my-abbreviations.el
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								dotfiles/doom/my-abbreviations.el
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										12
									
								
								dotfiles/doom/packages.el
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								dotfiles/doom/packages.el
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
;; -*- no-byte-compile: t; -*-
 | 
			
		||||
;;; $DOOMDIR/packages.el
 | 
			
		||||
 | 
			
		||||
(package! org-noter)
 | 
			
		||||
(package! poet-theme)
 | 
			
		||||
(package! org-alert)
 | 
			
		||||
(package! org-gcal)
 | 
			
		||||
(package! ox-latex-subfigure
 | 
			
		||||
  :recipe (:host github :repo "linktohack/ox-latex-subfigure"))
 | 
			
		||||
(package! matlab-mode
 | 
			
		||||
  :recipe (:host github :repo "matlab-mode/mirror"))
 | 
			
		||||
(package! org-ref)
 | 
			
		||||
		Reference in New Issue
	
	Block a user