Change summary
dot_doom.d/config.el | 111 ----------------------------------------------
1 file changed, 111 deletions(-)
Detailed changes
@@ -1,111 +0,0 @@
-;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
-
-(setq user-full-name "Amolith"
- user-mail-address "amolith@secluded.site")
-
-(setq doom-font (font-spec :family "Triplicate T4c" :size 16)
- doom-variable-pitch-font (font-spec :family "Valkyrie T4" :size 16))
-
-(setq doom-theme 'doom-dracula)
-
-(setq display-line-numbers-type t)
-
-(use-package smooth-scrolling
- :ensure t
- :config
- (smooth-scrolling-mode 1)
- (setq smooth-scroll-margin 20))
-
-(global-prettify-symbols-mode t)
-
-(defun amo/split-window-below-and-switch ()
- "Split the window horizontally, then switch to the new pane."
- (interactive)
- (split-window-below)
- (balance-windows)
- (other-window 1))
-(defun amo/split-window-right-and-switch ()
- "Split the window vertically, then switch to the new pane."
- (interactive)
- (split-window-right)
- (balance-windows)
- (other-window 1))
-(global-set-key (kbd "C-x 2") 'amo/split-window-below-and-switch)
-(global-set-key (kbd "C-x 3") 'amo/split-window-right-and-switch)
-
-(setq org-directory "~/Org/")
-
-(use-package org-bullets
- :init
- (add-hook 'org-mode-hook 'org-bullets-mode))
-
-(setq org-ellipsis " โคต")
-
-(setq org-hide-emphasis-markers t)
-
-(setq org-adapt-indentation nil)
-
-(require 'ox-md)
-(require 'ox-beamer)
-
-(setq org-confirm-babel-evaluate nil)
-
-(use-package htmlize)
-
-(setq org-export-with-smart-quotes t)
-
-(use-package ox-hugo
- :ensure t
- :after ox)
-
-(add-to-list 'auto-mode-alist '("/tmp/neomutt-*" . mail-mode))
-
-(setq TeX-PDF-mode t)
-
-(setq auto-mode-alist (cons '("\\.cho$" . chordpro-mode) auto-mode-alist))
-(autoload 'chordpro-mode "chordpro-mode")
-
-(require 'lilypond-mode)
-(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
-;; Set PDF viewer to zathura, my personal preference
-(setq LilyPond-pdf-command "zathura")
-
-(defvar prose-modes
- '(gfm-mode
- git-commit-mode
- markdown-mode
- message-mode
- mail-mode
- org-mode
- text-mode))
-(defvar prose-mode-hooks
- (mapcar (lambda (mode) (intern (format "%s-hook" mode)))
- prose-modes))
-
-(use-package flyspell
- :config
- (dolist (hook prose-mode-hooks)
- (add-hook hook 'flyspell-mode)))
-
-(dolist (hook prose-mode-hooks)
- (add-hook hook 'turn-on-auto-fill))
-
-(use-package markdown-mode
- :commands gfm-mode
- :mode (("\\.md$" . gfm-mode))
- :config
- (custom-set-faces
- '(markdown-pre-face ((t nil))))
- (setq markdown-command "pandoc --standalone --mathjax --from=markdown"
- markdown-fontify-code-blocks-natively t))
-
-(defun amo/append-to-path (path)
- (setenv "PATH" (concat (getenv "PATH") ":" path))
- (add-to-list 'exec-path path))
-
-(amo/append-to-path "/usr/local/bin")
-(amo/append-to-path "~/.local/bin")
-
-(add-hook 'python-mode-hook 'auto-virtualenv-set-virtualenv)
-
-(global-set-key (kbd "SPC g p") 'magit-push-current-to-upstream)