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
(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?$")

View file

@ -1,7 +1,6 @@
;;; module-haskell.el
;; Requires cabal installed for syntax-checking, and ghci (or hugs) to be
;; installed for REPL support.
;; requires cabal (flycheck), ghci/hugs (repl)
(def-package! 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)
;; + Exported files are put in a centralized location (see
;; `org-export-directory')
;; + Inline latex previews (requires latex and dvipng programs)
;; + TODO A simpler attachment system (with auto-deleting support) and
;; drag-and-drop for images and documents into org files
;; + TODO Custom links for class notes

View file

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

View file

@ -8,11 +8,11 @@
(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
;; the right side of the frame (which causes display glitches). I fix this by
;; simply cycling fullscreen:
(when (and (display-graphic-p) IS-LINUX)
(add-hook! 'after-init-hook
;; On Arch, bspwm is my window manager. When I open GUI Emacs a gap forms on the
;; right side of the frame (which causes display glitches). Cycling fullscreen
;; fixing this.
(when (and IS-LINUX (display-graphic-p))
(add-hook! 'window-setup-hook
(set-frame-parameter nil 'fullscreen 'fullboth)
(set-frame-parameter nil 'fullscreen nil)))

View file

@ -8,7 +8,7 @@
"The font currently in use.")
(defvar +doom-variable-pitch-font
(font-spec :family "Fira Sans" :size 12)
(font-spec :family "Fira Sans" :size 14)
"The font currently in use.")
(defvar +doom-unicode-font
@ -32,7 +32,7 @@
;; The native border "consumes" a pixel of the fringe on righter-most splits,
;; `window-divider' does not. Available since Emacs 25.1.
(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-mode +1)