mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
update doom config
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
|
;;; .dotfiles/emacs/.doom.d/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(setq doom-font (font-spec :family "Fira Code" :size 16))
|
|
||||||
|
|
||||||
;; Place your private configuration here
|
;; Place your private configuration here
|
||||||
|
(setq doom-font (font-spec :family "Fira Code" :size 16))
|
||||||
|
|
||||||
|
|
||||||
(eval-after-load 'js-mode
|
(eval-after-load 'js-mode
|
||||||
'(add-hook 'js-mode-hook #'add-node-modules-path))
|
'(add-hook 'js-mode-hook #'add-node-modules-path))
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
;;; init.el -*- lexical-binding: t; -*-
|
;;; init.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Copy this file to ~/.doom.d/init.el or ~/.config/doom/init.el ('doom
|
;; Copy this file to ~/.doom.d/init.el or ~/.config/doom/init.el ('doom install'
|
||||||
;; quickstart' will do this for you). The `doom!' block below controls what
|
;; will do this for you). The `doom!' block below controls what modules are
|
||||||
;; modules are enabled and in what order they will be loaded. Remember to run
|
;; enabled and in what order they will be loaded. Remember to run 'doom refresh'
|
||||||
;; 'doom refresh' after modifying it.
|
;; after modifying it.
|
||||||
;;
|
;;
|
||||||
;; More information about these modules (and what flags they support) can be
|
;; More information about these modules (and what flags they support) can be
|
||||||
;; found in modules/README.org.
|
;; found in modules/README.org.
|
||||||
@@ -24,7 +24,8 @@
|
|||||||
doom-dashboard ; a nifty splash screen for Emacs
|
doom-dashboard ; a nifty splash screen for Emacs
|
||||||
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
|
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||||
fill-column ; a `fill-column' indicator
|
fill-column ; a `fill-column' indicator
|
||||||
hl-todo ; highlight TODO/FIXME/NOTE tags
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||||
|
;;hydra
|
||||||
;;indent-guides ; highlighted indent columns
|
;;indent-guides ; highlighted indent columns
|
||||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||||
nav-flash ; blink the current line after jumping
|
nav-flash ; blink the current line after jumping
|
||||||
@@ -34,7 +35,7 @@
|
|||||||
+all ; catch all popups that start with an asterix
|
+all ; catch all popups that start with an asterix
|
||||||
+defaults) ; default popup rules
|
+defaults) ; default popup rules
|
||||||
;;pretty-code ; replace bits of code with pretty symbols
|
;;pretty-code ; replace bits of code with pretty symbols
|
||||||
;;tabbar ; FIXME an (incomplete) tab bar for Emacs
|
;;tabs ; an tab bar for Emacs
|
||||||
treemacs ; a project drawer, like neotree but cooler
|
treemacs ; a project drawer, like neotree but cooler
|
||||||
;;unicode ; extended unicode support for various languages
|
;;unicode ; extended unicode support for various languages
|
||||||
vc-gutter ; vcs diff in the fringe
|
vc-gutter ; vcs diff in the fringe
|
||||||
@@ -53,12 +54,10 @@
|
|||||||
;;parinfer ; turn lisp into python, sort of
|
;;parinfer ; turn lisp into python, sort of
|
||||||
;;rotate-text ; cycle region at point between text candidates
|
;;rotate-text ; cycle region at point between text candidates
|
||||||
snippets ; my elves. They type so I don't have to
|
snippets ; my elves. They type so I don't have to
|
||||||
|
;;word-wrap ; soft wrapping with language-aware indent
|
||||||
|
|
||||||
:emacs
|
:emacs
|
||||||
(dired ; making dired pretty [functional]
|
(dired +ranger) ; making dired pretty [functional]
|
||||||
+ranger ; bringing the goodness of ranger to dired
|
|
||||||
+icons ; colorful icons for dired-mode
|
|
||||||
)
|
|
||||||
;;electric ; smarter, keyword-based electric-indent
|
;;electric ; smarter, keyword-based electric-indent
|
||||||
;;vc ; version-control and Emacs, sitting in a tree
|
;;vc ; version-control and Emacs, sitting in a tree
|
||||||
|
|
||||||
@@ -83,8 +82,7 @@
|
|||||||
+docsets) ; ...or in Dash docsets locally
|
+docsets) ; ...or in Dash docsets locally
|
||||||
lsp
|
lsp
|
||||||
(:if IS-MAC
|
(:if IS-MAC
|
||||||
macos ; MacOS-specific commands
|
macos) ; MacOS-specific commands
|
||||||
)
|
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
@@ -129,7 +127,7 @@
|
|||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
(org ; organize your plain life in plain text
|
(org ; organize your plain life in plain text
|
||||||
+dragndrop ; file drag & drop support
|
+dragndrop ; file drag & drop support
|
||||||
;; +ipython ; ipython support for babel
|
+ipython ; ipython support for babel
|
||||||
+pandoc ; pandoc integration into org's exporter
|
+pandoc ; pandoc integration into org's exporter
|
||||||
+gnuplot
|
+gnuplot
|
||||||
+present) ; using Emacs for presentations
|
+present) ; using Emacs for presentations
|
||||||
@@ -162,17 +160,13 @@
|
|||||||
;; should be loaded late.
|
;; should be loaded late.
|
||||||
:app
|
:app
|
||||||
;;calendar
|
;;calendar
|
||||||
;;irc ; how neckbeards socialize
|
;;irc ; how neckbeards socialize
|
||||||
;;(rss +org) ; emacs as an RSS reader
|
;;(rss +org) ; emacs as an RSS reader
|
||||||
;;twitter ; twitter client https://twitter.com/vnought
|
;;twitter ; twitter client https://twitter.com/vnought
|
||||||
;;(write ; emacs as a word processor (latex + org + markdown)
|
;;(write ; emacs for writers (fiction, notes, papers, etc.)
|
||||||
;; +wordnut ; wordnet (wn) search
|
;; +wordnut ; wordnet (wn) search
|
||||||
;; +langtool) ; a proofreader (grammar/style check) for Emacs
|
;; +langtool) ; a proofreader (grammar/style check) for Emacs
|
||||||
|
|
||||||
:collab
|
|
||||||
;;floobits ; peer programming for a price
|
|
||||||
;;impatient-mode ; show off code over HTTP
|
|
||||||
|
|
||||||
:config
|
:config
|
||||||
;; For literate config users. This will tangle+compile a config.org
|
;; For literate config users. This will tangle+compile a config.org
|
||||||
;; literate config in your `doom-private-dir' whenever it changes.
|
;; literate config in your `doom-private-dir' whenever it changes.
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
;; -*- no-byte-compile: t; -*-
|
;; -*- no-byte-compile: t; -*-
|
||||||
;;; ~/.doom.d/packages.el
|
;;; .dotfiles/emacs/.doom.d/packages.el
|
||||||
|
|
||||||
;;; Examples:
|
;;; Examples:
|
||||||
;; (package! some-package)
|
;; (package! some-package)
|
||||||
;; (package! another-package :recipe (:fetcher github :repo "username/repo"))
|
;; (package! another-package :recipe (:host github :repo "username/repo"))
|
||||||
;; (package! builtin-package :disable t)
|
;; (package! builtin-package :disable t)
|
||||||
|
|
||||||
(package! add-node-modules-path)
|
(package! add-node-modules-path)
|
||||||
|
|||||||
Reference in New Issue
Block a user