···33;; Place your private configuration here! Remember, you do not need to run 'doom
44;; sync' after modifying this file!
5566-77-;; Some functionality uses this to identify you, e.g. GPG configuration, email
88-;; clients, file templates and snippets.
99-(setq user-full-name "Kaushik Chakraborty"
1010- user-mail-address (if (string-equal system-type "darwin") "kaushik.chakraborty3@cognizant.com" "git@kaushikc.org"))
66+(load! "configs/base.el")
77+(load! "configs/ui.el")
88+(load! "configs/theme.el")
99+(load! "configs/font.el")
1010+(load! "configs/extra-packages.el")
1111+(load! "configs/org-config.el")
1212+(load! "configs/projects.el")
1313+(load! "configs/js.el")
1414+(load! "configs/haskell.el")
11151212-;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
1313-;; are the three important ones:
1414-;;
1515-;; + `doom-font'
1616-;; + `doom-variable-pitch-font'
1717-;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
1818-;; presentations or streaming.
1919-;;
2020-;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
2121-;; font string. You generally only need these two:
2222-(setq doom-font (font-spec :family "JetBrains Mono" :size 28))
2323-2424-;; There are two ways to load a theme. Both assume the theme is installed and
2525-;; available. You can either set `doom-theme' or manually load a theme with the
2626-;; `load-theme' function. This is the default:
2727-(setq doom-theme 'doom-one)
2828-2929-(setq-default indent-tabs-mode nil)
3030-(setq-default tab-width 2)
3131-(setq indent-line-function 'insert-tab)
3232-3333-3434-(add-to-list 'default-frame-alist '(inhibit-double-buffering . t))
3535-(add-to-list 'default-frame-alist '(fullscreen . maximized))
3636-3737-3838-(setq evil-split-window-below t
3939- evil-vsplit-window-right t)
4040-4141-4242-;; If you use `org' and don't want your org files in the default location below,
4343-;; change `org-directory'. It must be set before org loads!
4444-4545-(defun org-todo-age-time (&optional pos)
4646- (let ((stamp (org-entry-get (or pos (point)) "CREATED" t)))
4747- (when stamp
4848- (time-subtract (current-time)
4949- (org-time-string-to-time
5050- (org-entry-get (or pos (point)) "CREATED" t))))))
5151-(defun org-todo-age (&optional pos)
5252- (let ((days (time-to-number-of-days (org-todo-age-time pos))))
5353- (cond
5454- ((< days 1) "today")
5555- ((< days 7) (format "%dd" days))
5656- ((< days 30) (format "%.1fw" (/ days 7.0)))
5757- ((< days 358) (format "%.1fM" (/ days 30.0)))
5858- (t (format "%.1fY" (/ days 365.0))))))
5959-6060-(set-popup-rule! "^\\*Org Agenda" :ignore t)
6161-6262-6363-(after! org
6464- (setq org-directory (if (string-equal system-type "darwin") "~/developer/src/personal/notes" "~/Documents/notes")
6565- org-default-notes-file (concat (if (string-equal system-type "darwin") "~/developer/src/personal/notes" "~/Documents/notes") "/inbox.org")
6666- org-agenda-files (list
6767- (if (string-equal system-type "darwin") "~/developer/src/personal/notes" "~/Documents/notes"))
6868- org-todo-keywords '((sequence
6969- "TODO(t)"
7070- "RECUR(R)"
7171- "PROJECT(P)"
7272- "NOTE(n@)"
7373- "STARTED(s@/!)"
7474- "WAITING(w@)"
7575- "|"
7676- "DONE(d!)"
7777- "SOMEDAY(y!)"
7878- "CANCELLED(c@)"
7979- "DEFERRED(r@)"
8080- ))
8181-8282- org-todo-keyword-faces (quote (
8383- ("TODO" :foreground "#00BFFF" :weight bold)
8484- ("RECUR" :foreground "cornflowerblue" :weight bold)
8585- ("NOTE" :foreground "brown" :weight bold)
8686- ("STARTED" :foreground "#FF8247" :weight bold)
8787- ("WAITING" :foreground "#EE6363" :weight bold)
8888- ("DEFERRED" :foreground "#4876FF" :weight bold)
8989- ("SOMEDAY" :foreground "#EEDC82" :weight bold)
9090- ("PROJECT" :foreground "#088e8e" :weight bold)
9191- ))
9292- org-todo-repeat-to-state "TODO"
9393- org-pretty-entities t
9494- org-use-tag-inheritance nil
9595- ;; org-agenda-ndays 1
9696- ;; org-agenda-show-all-dates t
9797- org-agenda-start-on-weekday nil
9898- ;; org-agenda-tags-column -100
9999-100100- org-archive-location "TODO-archive::"
101101- ;; org-archive-save-context-info (quote (time category itags))
102102- )
103103- ;; (add-hook 'org-capture-mode-hook #'org-align-all-tags)
104104- (setq org-roam-directory (concat org-directory "/zettels/")
105105- org-roam-link-title-format "%s")
106106-107107- (setq org-capture-templates
108108- '(
109109- ("a" "Add Task"
110110- entry
111111- (file (lambda () (concat org-directory "/inbox.org")))
112112- "* TODO %^{Add task}\n:PROPERTIES:\n:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U\n:END:" :prepend t)
113113-114114- ("w" "Add Work Task"
115115- entry
116116- (file (lambda () (concat org-directory "/inbox.org")))
117117- "* TODO %^{Add work task} :workday:\n:PROPERTIES:\n:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U\n:END:\nSCHEDULED: %t" :prepend t)
118118-119119- ("m" "New Micro Blog"
120120- plain
121121- (file (lambda ()
122122- (expand-file-name (concat (format-time-string "%Y%m%d%H%M%S")
123123- ".md")
124124- (if (string-equal system-type "darwin") "~/developer/src/personal/blog/public/micro-posts/" "~/src/blog/public/micro-posts"))))
125125- "---\npublished : %<%Y-%m-%d %H:%M:%S%z>\n---\n\n%c%?")
126126-127127- ("n" "New Note"
128128- entry
129129- (file (lambda() (concat org-directory "/notes.org") ))
130130- "* NOTE %?\n:PROPERTIES:\n:ID: %(shell-command-to-string \"uuidgen\"):CREATED: %U\n:END:" :prepend t)
131131-132132- ;;;
133133- ;;; FROM DOOM DEFAULT TEMPLATES
134134- ;;;
135135-136136- ;; Will use {project-root}/{todo,notes,changelog}.org, unless a
137137- ;; {todo,notes,changelog}.org file is found in a parent directory.
138138- ;; Uses the basename from `+org-capture-todo-file',
139139- ;; `+org-capture-changelog-file' and `+org-capture-notes-file'.
140140- ("p" "Templates for projects")
141141- ("pt" "Project-local todo" entry ; {project-root}/todo.org
142142- (file+headline +org-capture-project-todo-file "Inbox")
143143- "* TODO %?\n%i\n%a" :prepend t)
144144- ("pn" "Project-local notes" entry ; {project-root}/notes.org
145145- (file+headline +org-capture-project-notes-file "Inbox")
146146- "* %U %?\n%i\n%a" :prepend t)
147147- ("pc" "Project-local changelog" entry ; {project-root}/changelog.org
148148- (file+headline +org-capture-project-changelog-file "Unreleased")
149149- "* %U %?\n%i\n%a" :prepend t))
150150- )
151151-152152- (setq org-roam-capture-templates
153153- '(
154154- ("z" "New Zettel"
155155- plain
156156- (function org-roam--capture-get-point)
157157- "%?"
158158- :file-name "%<%Y%m%d%H%M%S>-${slug}"
159159- :head "#+TITLE: ${title}\n#+roam_tags: \n:PROPERTIES:\n:ID: %(shell-command-to-string \"uuidgen\")\n:CREATED: %U\n:TITLE: ${title}\n:STYLE: zettel\n:END:\n\n** Tags:: \n"
160160- :unarrowed t)
161161- ))
162162- (setq org-roam-capture-ref-templates
163163- '(("r" "Ref" plain (function org-roam--capture-get-point)
164164- "%?"
165165- :file-name "${slug}"
166166- :head "#+ROAM_KEY: ${ref}\n#+TITLE: ${title}\n:PROPERTIES:\n:ID: %(shell-command-to-string \"uuidgen\")\n:CREATED: %U\n:TITLE: ${title}\n:STYLE: zettel\n:END:\n\n** Tags:: [[file:captures.org][captures]]\n"
167167- :unnarrowed t)))
168168-169169- (setq org-noter-notes-search-path (list (concat org-directory "/zettels/")))
170170-171171- (setq org-agenda-custom-commands
172172- (quote
173173- (
174174- ("P" "All Projects" todo-tree "PROJECT"
175175- ((org-agenda-overriding-header "All Projects")))
176176- ("A" "Priority #A tasks\"" agenda ""
177177- ((org-agenda-span
178178- (quote day))
179179- (org-agenda-overriding-header "Today's priority #A tasks: ")
180180- (org-agenda-skip-function
181181- (quote
182182- (org-agenda-skip-entry-if
183183- (quote notregexp)
184184- "\\=.*\\[#A\\]")))))
185185- ("b" "Priority #A and #B tasks" agenda ""
186186- ((org-agenda-span
187187- (quote day))
188188- (org-agenda-overriding-header "Today's priority #A and #B tasks: ")
189189- (org-agenda-skip-function
190190- (quote
191191- (org-agenda-skip-entry-if
192192- (quote regexp)
193193- "\\=.*\\[#C\\]")))))
194194- ("u" "Unscheduled tasks" tags "TODO<>\"\"&TODO<>{DONE\\|CANCELLED\\|DEFERRED\\|SOMEDAY\\|PROJECT\\|NOTE}"
195195- ((org-agenda-overriding-header "Unscheduled tasks: ")
196196- (org-agenda-skip-function
197197- (quote
198198- (org-agenda-skip-entry-if
199199- (quote scheduled)
200200- (quote deadline)
201201- (quote timestamp)
202202- )))
203203- (org-agenda-sorting-strategy
204204- (quote
205205- (user-defined-up)))
206206- (org-agenda-prefix-format "%-11c%5(org-todo-age) ")))
207207- ("w" "Work Day Tasks" tags-todo "workday"
208208- (
209209- (org-agenda-span (quote day))
210210- (org-agenda-overriding-header "Today's Work Tasks")
211211- ))
212212- ("U" "Deferred tasks" tags "TODO=\"DEFERRED\""
213213- ((org-agenda-overriding-header "Deferred tasks:")
214214- (org-agenda-sorting-strategy
215215- (quote
216216- (user-defined-up)))
217217- (org-agenda-prefix-format "%-11c%5(org-todo-age) ")))
218218- ("Y" "Someday tasks" tags "TODO=\"SOMEDAY\""
219219- ((org-agenda-overriding-header "Someday tasks:")
220220- (org-agenda-sorting-strategy
221221- (quote
222222- (user-defined-up)))
223223- (org-agenda-prefix-format "%-11c%5(org-todo-age) ")))
224224- ("S" "Scheduled tasks" tags "TODO<>\"\"&TODO<>{DONE\\|CANCELLED\\|NOTE\\|PROJECT\\|DEFERRED}&STYLE<>\"habit\""
225225- ((org-agenda-overriding-header "Scheduled tasks: ")
226226- (org-agenda-skip-function
227227- (quote
228228- (org-agenda-skip-entry-if
229229- (quote notscheduled))))
230230- (org-agenda-sorting-strategy
231231- (quote
232232- (category-up)))))
233233- )))
234234- )
235235-236236- (use-package! org-roam
237237- :commands (org-roam-insert org-roam-find-file org-roam-switch-to-buffer)
238238- :hook
239239- (after-init . org-roam-mode)
240240- :custom-face
241241- (org-roam-link ((t (:inherit org-link :foreground "#5afc03")))))
242242-243243-(defun my-org-protocol-focus-advice (orig &rest args)
244244- (x-focus-frame nil)
245245- (apply orig args))
246246-247247-(advice-add 'org-roam-protocol-open-ref :around
248248- #'my-org-protocol-focus-advice)
249249-(advice-add 'org-roam-protocol-open-file :around
250250- #'my-org-protocol-focus-advice)
251251-252252-(after! deft
253253- (setq deft-directory org-directory
254254- deft-recursive t
255255- deft-org-mode-title-prefix t))
256256-257257-;; This determines the style of line numbers in effect. If set to `nil', line
258258-;; numbers are disabled. For relative line numbers, set this to `relative'.
259259-(setq display-line-numbers-type t)
260260-261261-;; projectile
262262-(setq projectile-project-search-path (if (string-equal system-type "darwin")
263263- '(
264264- "~/developer/src/personal/"
265265- "~/developer/src/work/")
266266- '(
267267- "~/src"
268268- "~/src/repo"
269269- "~/src/ops"
270270- "~/src/projects"
271271- "~/src/learn")))
272272-273273-(use-package! super-save
274274- :config
275275- (setq auto-save-default nil)
276276- (setq super-save-remote-files nil)
277277- (setq super-save-auto-save-when-idle t)
278278-279279- (dolist (item '(evil-switch-to-windows-last-buffer
280280- counsel-projectile-switch-to-buffer
281281- magit
282282- magit-status
283283- treemacs
284284- ace-window
285285- persp-switch
286286- dired-jump
287287- dired-jump-other-window
288288- +default/search-project
289289- find-file
290290- ivy
291291- evil-insert-state-exit-hook
292292- switch-to-buffer
293293- focus-out-hook))
294294- (add-to-list 'super-save-triggers item))
295295- (super-save-mode +1)
296296- )
297297-298298-;; Haskell
299299-(setq haskell-process-type 'cabal-new-repl
300300- lsp-haskell-process-path-hie "ghcide"
301301- lsp-haskell-process-args-hie '())
1616+;; keybindings
3021730318;; Here are some additional functions/macros that could help you configure Doom:
30419;;
+30
doom-config/configs/base.el
···11+;;; base.el --- configurations without which are most essential -*- lexical-binding: t; -*-
22+;;
33+;; Copyright (C) 2021 Kaushik Chakraborty
44+;;
55+;; Author: Kaushik Chakraborty <https://github.com/kaychaks>
66+;; Maintainer: Kaushik Chakraborty <kaushik.chakraborty3@cognizant.com>
77+;; Created: August 01, 2021
88+;; Modified: August 01, 2021
99+;; Version: 0.0.1
1010+;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp
1111+;; Homepage: https://github.com/139137/base
1212+;; Package-Requires: ((emacs "24.3"))
1313+;;
1414+;; This file is not part of GNU Emacs.
1515+;;
1616+;;; Commentary:
1717+;;
1818+;; configurations without which are most essential
1919+;;
2020+;;; Code:
2121+2222+(setq user-full-name "Kaushik Chakraborty"
2323+ user-mail-address (if (string-equal system-type "darwin") "kaushik.chakraborty3@cognizant.com" "git@kaushikc.org"))
2424+2525+(setq-default indent-tabs-mode nil)
2626+(setq-default tab-width 2)
2727+(setq indent-line-function 'insert-tab)
2828+2929+3030+;;; base.el ends here
+47
doom-config/configs/extra-packages.el
···11+;;; extra-packages.el --- custom packages not part of doom -*- lexical-binding: t; -*-
22+;;
33+;; Copyright (C) 2021 Kaushik Chakraborty
44+;;
55+;; Author: Kaushik Chakraborty <https://github.com/kaychaks>
66+;; Maintainer: Kaushik Chakraborty <kaushik.chakraborty3@cognizant.com>
77+;; Created: August 01, 2021
88+;; Modified: August 01, 2021
99+;; Version: 0.0.1
1010+;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp
1111+;; Homepage: https://github.com/139137/tools
1212+;; Package-Requires: ((emacs "24.3"))
1313+;;
1414+;; This file is not part of GNU Emacs.
1515+;;
1616+;;; Commentary:
1717+;;
1818+;; custom packages not part of doom
1919+;;
2020+;;; Code:
2121+2222+2323+(use-package! super-save
2424+ :config
2525+ (setq auto-save-default nil)
2626+ (setq super-save-remote-files nil)
2727+ (setq super-save-auto-save-when-idle t)
2828+ (dolist (item '(evil-switch-to-windows-last-buffer
2929+ counsel-projectile-switch-to-buffer
3030+ magit
3131+ magit-status
3232+ treemacs
3333+ ace-window
3434+ persp-switch
3535+ dired-jump
3636+ dired-jump-other-window
3737+ +default/search-project
3838+ find-file
3939+ ivy
4040+ evil-insert-state-exit-hook
4141+ switch-to-buffer
4242+ focus-out-hook))
4343+ (add-to-list 'super-save-triggers item))
4444+ (super-save-mode +1)
4545+ )
4646+4747+;;; tools.el ends here
+33
doom-config/configs/font.el
···11+;;; font.el --- font configurations -*- lexical-binding: t; -*-
22+;;
33+;; Copyright (C) 2021 Kaushik Chakraborty
44+;;
55+;; Author: Kaushik Chakraborty <https://github.com/kaychaks>
66+;; Maintainer: Kaushik Chakraborty <kaushik.chakraborty3@cognizant.com>
77+;; Created: August 01, 2021
88+;; Modified: August 01, 2021
99+;; Version: 0.0.1
1010+;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp
1111+;; Homepage: https://github.com/139137/font
1212+;; Package-Requires: ((emacs "24.3"))
1313+;;
1414+;; This file is not part of GNU Emacs.
1515+;;
1616+;;; Commentary:
1717+;;
1818+;; font configurations
1919+;;
2020+;;; Code:
2121+2222+;; + `doom-font'
2323+;; + `doom-variable-pitch-font'
2424+;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
2525+;; presentations or streaming.
2626+;;
2727+;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
2828+;; font string. You generally only need these two:
2929+(setq doom-font (font-spec :family "Iosevka SS04" :size 18 :weight 'regular)
3030+ doom-variable-pitch-font (font-spec :family "Iosevka SS04" :size 18))
3131+3232+3333+;;; font.el ends here
+28
doom-config/configs/haskell.el
···11+;;; haskell.el --- haskell configuration -*- lexical-binding: t; -*-
22+;;
33+;; Copyright (C) 2021 Kaushik Chakraborty
44+;;
55+;; Author: Kaushik Chakraborty <https://github.com/kaychaks>
66+;; Maintainer: Kaushik Chakraborty <kaushik.chakraborty3@cognizant.com>
77+;; Created: August 01, 2021
88+;; Modified: August 01, 2021
99+;; Version: 0.0.1
1010+;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp
1111+;; Homepage: https://github.com/139137/haskell
1212+;; Package-Requires: ((emacs "24.3"))
1313+;;
1414+;; This file is not part of GNU Emacs.
1515+;;
1616+;;; Commentary:
1717+;;
1818+;; haskell configuration
1919+;;
2020+;;; Code:
2121+2222+2323+;; ;; Haskell
2424+;; (setq haskell-process-type 'cabal-new-repl
2525+;; lsp-haskell-process-path-hie "ghcide"
2626+;; lsp-haskell-process-args-hie '())
2727+2828+;;; haskell.el ends here
+40
doom-config/configs/js.el
···11+;;; js.el --- JS configuration -*- lexical-binding: t; -*-
22+;;
33+;; Copyright (C) 2021 Kaushik Chakraborty
44+;;
55+;; Author: Kaushik Chakraborty <https://github.com/kaychaks>
66+;; Maintainer: Kaushik Chakraborty <kaushik.chakraborty3@cognizant.com>
77+;; Created: August 01, 2021
88+;; Modified: August 01, 2021
99+;; Version: 0.0.1
1010+;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp
1111+;; Homepage: https://github.com/139137/js
1212+;; Package-Requires: ((emacs "24.3"))
1313+;;
1414+;; This file is not part of GNU Emacs.
1515+;;
1616+;;; Commentary:
1717+;;
1818+;; JS configuration
1919+;;
2020+;;; Code:
2121+2222+;; local prettier setup from https://github.com/lassik/emacs-format-all-the-code/issues/25
2323+;; (defun my/prettier-setup ()
2424+;; (let* ((root (locate-dominating-file
2525+;; (or (buffer-file-name) default-directory)
2626+;; "node_modules"))
2727+;; (prettier (and root
2828+;; (expand-file-name "node_modules/.bin/prettier"
2929+;; root))))
3030+;; (if (not (and prettier (file-executable-p prettier)))
3131+;; ;; hack to remove formatting for js files if prettier is not installed locally
3232+;; ;; doom-emacs uses advice for format-all
3333+;; (advice-remove #'format-all-buffer :override #'+format/buffer)
3434+;; )))
3535+3636+;; (add-hook 'rjsx-mode-hook #'my/prettier-setup)
3737+;; (add-hook 'typescript-mode-hook #'my/prettier-setup)
3838+3939+4040+;;; js.el ends here
···11+;;; projects.el --- project specific configuration -*- lexical-binding: t; -*-
22+;;
33+;; Copyright (C) 2021 Kaushik Chakraborty
44+;;
55+;; Author: Kaushik Chakraborty <https://github.com/kaychaks>
66+;; Maintainer: Kaushik Chakraborty <kaushik.chakraborty3@cognizant.com>
77+;; Created: August 01, 2021
88+;; Modified: August 01, 2021
99+;; Version: 0.0.1
1010+;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp
1111+;; Homepage: https://github.com/139137/projects
1212+;; Package-Requires: ((emacs "24.3"))
1313+;;
1414+;; This file is not part of GNU Emacs.
1515+;;
1616+;;; Commentary:
1717+;;
1818+;; project specific configuration
1919+;;
2020+;;; Code:
2121+2222+2323+(setq projectile-project-search-path (if (string-equal system-type "darwin")
2424+ '(
2525+ "~/developer/src/personal/"
2626+ "~/developer/src/work/")
2727+ '(
2828+ "~/src"
2929+ "~/src/repo"
3030+ "~/src/ops"
3131+ "~/src/projects"
3232+ "~/src/learn")))
3333+3434+;;; projects.el ends here
+28
doom-config/configs/theme.el
···11+;;; theme.el --- theme configuration -*- lexical-binding: t; -*-
22+;;
33+;; Copyright (C) 2021 Kaushik Chakraborty
44+;;
55+;; Author: Kaushik Chakraborty <https://github.com/kaychaks>
66+;; Maintainer: Kaushik Chakraborty <kaushik.chakraborty3@cognizant.com>
77+;; Created: August 01, 2021
88+;; Modified: August 01, 2021
99+;; Version: 0.0.1
1010+;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp
1111+;; Homepage: https://github.com/139137/theme
1212+;; Package-Requires: ((emacs "24.3"))
1313+;;
1414+;; This file is not part of GNU Emacs.
1515+;;
1616+;;; Commentary:
1717+;;
1818+;; theme configuration
1919+;;
2020+;;; Code:
2121+2222+2323+;; There are two ways to load a theme. Both assume the theme is installed and
2424+;; available. You can either set `doom-theme' or manually load a theme with the
2525+;; `load-theme' function. This is the default:
2626+(setq doom-theme 'doom-xcode)
2727+2828+;;; theme.el ends here
+29
doom-config/configs/ui.el
···11+;;; ui.el --- basic UI niceties -*- lexical-binding: t; -*-
22+;;
33+;; Copyright (C) 2021 Kaushik Chakraborty
44+;;
55+;; Author: Kaushik Chakraborty <https://github.com/kaychaks>
66+;; Maintainer: Kaushik Chakraborty <kaushik.chakraborty3@cognizant.com>
77+;; Created: August 01, 2021
88+;; Modified: August 01, 2021
99+;; Version: 0.0.1
1010+;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp
1111+;; Homepage: https://github.com/139137/ui
1212+;; Package-Requires: ((emacs "24.3"))
1313+;;
1414+;; This file is not part of GNU Emacs.
1515+;;
1616+;;; Commentary:
1717+;;
1818+;; basic UI niceties
1919+;;
2020+;;; Code:
2121+2222+2323+;; this was to take care of the flickering issue in old emacs, not required in 28.0
2424+;; (add-to-list 'default-frame-alist '(inhibit-double-buffering . t))
2525+2626+;; start maximised
2727+(add-to-list 'default-frame-alist '(fullscreen . maximized))
2828+2929+;;; ui.el ends here
+25-25
doom-config/init.el
···2929 ;;deft ; notational velocity for Emacs
3030 doom ; what makes DOOM look the way it does
3131 doom-dashboard ; a nifty splash screen for Emacs
3232- doom-quit ; DOOM quit-message prompts when you quit Emacs
3333- (emoji +unicode) ; 🙂
3232+ ;; doom-quit ; DOOM quit-message prompts when you quit Emacs
3333+ ;; (emoji +unicode) ; 🙂
3434 ;;fill-column ; a `fill-column' indicator
3535 hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
3636 ;;hydra
3737 ;;indent-guides ; highlighted indent columns
3838- ;;ligatures ; ligatures and symbols to make your code pretty again
3838+ ;; ligatures ; ligatures and symbols to make your code pretty again
3939 ;;minimap ; show a map of the code on the side
4040- modeline ; snazzy, Atom-inspired modeline, plus API
4040+ (modeline +light) ; snazzy, Atom-inspired modeline, plus API
4141 nav-flash ; blink cursor line after big motions
4242 ;;neotree ; a project drawer, like NERDTree for vim
4343 ophints ; highlight the region an operation acts on
4444 (popup +all +defaults) ; tame sudden yet inevitable temporary windows
4545- (pretty-code +iosevka)
4645 ;;tabs ; a tab bar for Emacs
4747- treemacs ; a project drawer, like neotree but cooler
4646+ (treemacs +lsp) ; a project drawer, like neotree but cooler
4847 ;;unicode ; extended unicode support for various languages
4949- vc-gutter ; vcs diff in the fringe
4848+ ;; vc-gutter ; vcs diff in the fringe
5049 vi-tilde-fringe ; fringe tildes to mark beyond EOB
5151- window-select ; visually switch windows
5050+ ;; window-select ; visually switch windows
5251 workspaces ; tab emulation, persistence & separate workspaces
5352 ;;zen ; distraction-free coding or writing
5453···5655 (evil +everywhere); come to the dark side, we have cookies
5756 file-templates ; auto-snippets for empty files
5857 fold ; (nigh) universal code folding
5959- (format +onsave) ; automated prettiness
5858+ format ; automated prettiness
6059 ;;god ; run Emacs commands without modifier keys
6160 ;;lispy ; vim for lisp, for people who don't like vim
6261 ;;multiple-cursors ; editing in many places at once
···7069 dired ; making dired pretty [functional]
7170 electric ; smarter, keyword-based electric-indent
7271 ;;ibuffer ; interactive buffer management
7373- undo ; persistent, smarter undo for your inevitable mistakes
7272+ (undo +tree) ; persistent, smarter undo for your inevitable mistakes
7473 vc ; version-control and Emacs, sitting in a tree
75747675 :term
···111110 tty ; improve the terminal Emacs experience
112111113112 :lang
114114- (agda +local) ; types of types of types of types...
115115- cc ; C/C++/Obj-C madness
113113+ ;; (agda +local) ; types of types of types of types...
114114+ cc ; C/C++/Obj-C madness
116115 ;;clojure ; java with a lisp
117116 ;;common-lisp ; if you've seen one lisp, you've seen them all
118117 ;;coq ; proofs-as-programs
···133132 (haskell +lsp) ; a language that's lazier than I am
134133 ;;hy ; readability of scheme w/ speed of python
135134 ;;idris ; a language you can depend on
136136- json ; At least it ain't XML
135135+ (json +lsp) ; At least it ain't XML
137136 ;;(java +meghanada) ; the poster child for carpal tunnel syndrome
138138- javascript ; all(hope(abandon(ye(who(enter(here))))))
137137+ (javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
139138 ;;julia ; a better, faster MATLAB
140139 ;;kotlin ; a better, slicker Java(Script)
141140 ;;latex ; writing papers in Emacs has never been so fun
142142- ;;lean
141141+ lean
143142 ;;factor
144143 ;;ledger ; an accounting system in Emacs
145144 ;;lua ; one-based indices? one-based indices
···148147 nix ; I hereby declare "nix geht mehr!"
149148 ;;ocaml ; an objective camel
150149 (org
151151- +dragdrop
152152- +habit
153153- +protocol
154154- +pandoc
155155- +present
156156- +noter
157157- +roam) ; organize your plain life in plain text
150150+ +dragdrop
151151+ +habit
152152+ +protocol
153153+ +pandoc
154154+ +present
155155+ +noter
156156+ +roam2
157157+ ) ; organize your plain life in plain text
158158 ;;php ; perl's insecure younger brother
159159 plantuml ; diagrams for confusing people more
160160 ;;purescript ; javascript, but functional
161161- python ; beautiful is better than ugly
161161+ ;; python ; beautiful is better than ugly
162162 ;;qt ; the 'cutest' gui framework ever
163163 ;;racket ; a DSL for DSLs
164164 ;;raku ; the artist formerly known as perl6
165165- ;;rest ; Emacs as a REST client
165165+ ;; rest ; Emacs as a REST client
166166 ;;rst ; ReST in peace
167167 ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
168168 ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
169169 ;;scala ; java, but good
170170 ;;scheme ; a fully conniving family of lisps
171171- (sh +lsp) ; she sells {ba,z,fi}sh shells on the C xor
171171+ sh ; she sells {ba,z,fi}sh shells on the C xor
172172 ;;sml
173173 ;;solidity ; do you need a blockchain? No.
174174 ;;swift ; who asked for emoji variables?
+2-1
doom-config/packages.el
···1717;(unpin! pinned-package)
1818;; Use it to unpin multiple packages
1919;(unpin! pinned-package another-pinned-package)
2020-(unpin! org-roam)
2020+;(unpin! org-roam)
2121+(unpin! lsp-mode)
212222232324;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror: