General cleanup + minor tweaks

This commit is contained in:
Henrik Lissner 2017-03-16 23:39:35 -04:00
parent 923d4585fa
commit 3fee758e20
6 changed files with 17 additions and 19 deletions

View file

@ -146,7 +146,7 @@
:config :config
(set! :company-backend 'cmake-mode '(company-cmake company-yasnippet))) (set! :company-backend 'cmake-mode '(company-cmake company-yasnippet)))
(def-package! glsl-mode :mode ("\\.glsl\\'" "\\.vert\\'" "\\.frag\\'" "\\.geom\\'")) (def-package! glsl-mode :mode ("\\.glsl$" "\\.vert$" "\\.frag$" "\\.geom$"))
(def-package! cuda-mode :mode "\\.cuh?$") (def-package! cuda-mode :mode "\\.cuh?$")

View file

@ -1,7 +1,6 @@
;;; module-haskell.el ;;; module-haskell.el
;; Requires cabal installed for syntax-checking, and ghci (or hugs) to be ;; requires cabal (flycheck), ghci/hugs (repl)
;; installed for REPL support.
(def-package! haskell-mode (def-package! haskell-mode
:mode (("\\.hs$" . haskell-mode) :mode (("\\.hs$" . haskell-mode)

View file

@ -4,6 +4,7 @@
;; + `org-capture' in a popup frame (can be invoked from outside emacs too) ;; + `org-capture' in a popup frame (can be invoked from outside emacs too)
;; + Exported files are put in a centralized location (see ;; + Exported files are put in a centralized location (see
;; `org-export-directory') ;; `org-export-directory')
;; + Inline latex previews (requires latex and dvipng programs)
;; + TODO A simpler attachment system (with auto-deleting support) and ;; + TODO A simpler attachment system (with auto-deleting support) and
;; drag-and-drop for images and documents into org files ;; drag-and-drop for images and documents into org files
;; + TODO Custom links for class notes ;; + TODO Custom links for class notes

View file

@ -1,13 +1,11 @@
# Private modules # Private modules
Modules here are ignored by git and should contain personal settings Modules here are ignored by git and should contain personal settings you don't
you don't want DOOM updates to interfere with (if that matters to want DOOM updates to interfere with (if that matters to you).
you).
I include mine as a reference. However, keep in mind that it is I include mine as a reference. However, keep in mind that it is fiercely
fiercely evil-mode-oriented. I apologize to non-evil users, but you evil-mode-oriented. I apologize to non-evil users, but you will likely want to
will likely want to rewrite +bindings.el entirely and delete rewrite +bindings.el entirely and delete +commands.el.
+commands.el.
Fortunately, besides disabled the evil module, that should be all you Fortunately, besides disabled the evil module, that should be all you need to do
need to do to get an evil-less DOOM Emacs. to get an evil-less DOOM Emacs.

View file

@ -8,11 +8,11 @@
(expand-file-name "snippets/" (file-name-directory load-file-name))) (expand-file-name "snippets/" (file-name-directory load-file-name)))
;; On Arch, bspwm is my window manager. When I open GUI Emacs there's a gap on ;; On Arch, bspwm is my window manager. When I open GUI Emacs a gap forms on the
;; the right side of the frame (which causes display glitches). I fix this by ;; right side of the frame (which causes display glitches). Cycling fullscreen
;; simply cycling fullscreen: ;; fixing this.
(when (and (display-graphic-p) IS-LINUX) (when (and IS-LINUX (display-graphic-p))
(add-hook! 'after-init-hook (add-hook! 'window-setup-hook
(set-frame-parameter nil 'fullscreen 'fullboth) (set-frame-parameter nil 'fullscreen 'fullboth)
(set-frame-parameter nil 'fullscreen nil))) (set-frame-parameter nil 'fullscreen nil)))

View file

@ -8,7 +8,7 @@
"The font currently in use.") "The font currently in use.")
(defvar +doom-variable-pitch-font (defvar +doom-variable-pitch-font
(font-spec :family "Fira Sans" :size 12) (font-spec :family "Fira Sans" :size 14)
"The font currently in use.") "The font currently in use.")
(defvar +doom-unicode-font (defvar +doom-unicode-font
@ -32,7 +32,7 @@
;; The native border "consumes" a pixel of the fringe on righter-most splits, ;; The native border "consumes" a pixel of the fringe on righter-most splits,
;; `window-divider' does not. Available since Emacs 25.1. ;; `window-divider' does not. Available since Emacs 25.1.
(setq window-divider-default-places t (setq window-divider-default-places t
window-divider-default-bottom-width 0 window-divider-default-bottom-width 1
window-divider-default-right-width 1) window-divider-default-right-width 1)
(window-divider-mode +1) (window-divider-mode +1)