Add Modules/Packages/Settings from Personal Config

- Enable treemacs, Jupyter notebook, make, and haskell modules in init.el
- Add projectile search path in config.el
- Add org-auto-tangle, tab-width, and highlight-indent-guides config to config.el
- Add org-auto-tangle, fish-mode, git file modes, and vimrc mode to packages.el
This commit is contained in:
Sravan Balaji
2021-09-16 10:47:24 -04:00
parent 1ff3fd0aa7
commit 82682917cd
4 changed files with 50 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ This file controls what Doom modules are enabled and what order they load in. Re
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
;;tabs ; a 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
vc-gutter ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB
@@ -109,13 +109,13 @@ This file controls what Doom modules are enabled and what order they load in. Re
;;direnv
;;docker
;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
lsp ; M-x vscode
magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs
make ; run make tasks from Emacs
;;pass ; password manager for nerds
pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders
@@ -152,7 +152,7 @@ This file controls what Doom modules are enabled and what order they load in. Re
;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for
;;(go +lsp) ; the hipster dialect
;;(haskell +dante) ; a language that's lazier than I am
(haskell +dante) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
json ; At least it ain't XML
@@ -249,6 +249,7 @@ Place your private configuration here! Remember, you do not need to run =doom sy
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)
(setq projectile-project-search-path '("~/Projects/" "~/.config/"))
;; Here are some additional functions/macros that could help you configure Doom:
;;
@@ -266,6 +267,19 @@ Place your private configuration here! Remember, you do not need to run =doom sy
;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
(use-package! org-auto-tangle
:defer t
:hook (org-mode . org-auto-tangle-mode)
:config
(setq org-auto-tangle-default t)
)
(setq-default tab-width 4)
(setq highlight-indent-guides-method 'fill)
(setq highlight-indent-guides-responsive 'stack)
(setq highlight-indent-guides-delay 0)
#+END_SRC
** packages.el
@@ -321,4 +335,11 @@ Place your private configuration here! Remember, you do not need to run =doom sy
;(unpin! pinned-package another-pinned-package)
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t)
(package! org-auto-tangle)
(package! fish-mode)
(package! gitattributes-mode)
(package! gitconfig-mode)
(package! gitignore-mode)
(package! vimrc-mode)
#+END_SRC

View File

@@ -33,6 +33,7 @@
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)
(setq projectile-project-search-path '("~/Projects/" "~/.config/"))
;; Here are some additional functions/macros that could help you configure Doom:
;;
@@ -50,3 +51,16 @@
;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
(use-package! org-auto-tangle
:defer t
:hook (org-mode . org-auto-tangle-mode)
:config
(setq org-auto-tangle-default t)
)
(setq-default tab-width 4)
(setq highlight-indent-guides-method 'fill)
(setq highlight-indent-guides-responsive 'stack)
(setq highlight-indent-guides-delay 0)

View File

@@ -40,7 +40,7 @@
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
;;tabs ; a 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
vc-gutter ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB
@@ -86,13 +86,13 @@
;;direnv
;;docker
;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
lsp ; M-x vscode
magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs
make ; run make tasks from Emacs
;;pass ; password manager for nerds
pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders
@@ -129,7 +129,7 @@
;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for
;;(go +lsp) ; the hipster dialect
;;(haskell +dante) ; a language that's lazier than I am
(haskell +dante) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
json ; At least it ain't XML

View File

@@ -48,3 +48,10 @@
;(unpin! pinned-package another-pinned-package)
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t)
(package! org-auto-tangle)
(package! fish-mode)
(package! gitattributes-mode)
(package! gitconfig-mode)
(package! gitignore-mode)
(package! vimrc-mode)