revert changes, new sway stuffs

This commit is contained in:
minhtrannhat
2021-12-27 20:30:07 -05:00
parent 05f95dc6a2
commit 3bd44c6b48
9 changed files with 45 additions and 390 deletions

View File

@@ -38,6 +38,9 @@
(run-with-timer 0 900 'synchronize-theme)
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled
(with-eval-after-load 'doom-themes
(doom-themes-treemacs-config))
(setq doom-themes-treemacs-theme "doom-colors")
@@ -47,11 +50,6 @@
(setq display-line-numbers-type 'relative)
;; Discord Rich Presence
(require 'elcord)
(elcord-mode)
(setq elcord-use-major-mode-as-main-icon 't)
;; Clangd lsp for C/C++ dev
(setq lsp-clients-clangd-args '("-j=3"
"--background-index"
@@ -75,10 +73,7 @@
(global-tree-sitter-mode)
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
;; for verifying commits with gpg
(use-package! pinentry
:init (setq epg-pinentry-mode `loopback)
(pinentry-start))
(setq epg-pinentry-mode 'loopback)
;; both jk and kj now works
(setq evil-escape-unordered-key-sequence 't)
@@ -105,8 +100,7 @@
(add-hook 'after-change-major-mode-hook #'doom-modeline-conditional-buffer-encoding)
(after! company
(setq company-idle-delay 0
company-minimum-prefix-length 2)
(setq company-idle-delay 1)
(add-hook 'evil-normal-state-entry-hook #'company-abort)) ;; make aborting less annoying.
(setq-default history-length 1000)
@@ -164,3 +158,7 @@
(map! :leader
:desc "Insert node immediately"
"n r I" #'org-roam-node-insert-immediate)
(setq avy-all-windows 't)
(lsp-treemacs-sync-mode 1)

View File

@@ -11,7 +11,8 @@
'(smtpmail-smtp-service 25)
'(warning-suppress-log-types '((iedit) (iedit) (iedit) (iedit) (iedit) (iedit) (iedit)))
'(warning-suppress-types
'((org-load-hook)
'((org-element-cache)
(org-load-hook)
(org-load-hook)
(iedit)
(iedit)

View File

@@ -35,7 +35,7 @@
indent-guides ; highlighted indent columns
ligatures ; ligatures and symbols to make your code pretty again
;;minimap ; show a map of the code on the side
modeline ; snazzy, Atom-inspired modeline, plus API
modeline ; snazzy, Atom-inspired modeline, plus API
;;nav-flash ; blink cursor line after big motions
;;neotree ; a project drawer, like NERDTree for vim
ophints ; highlight the region an operation acts on
@@ -94,7 +94,7 @@
lsp ; M-x vscode
magit ; a git porcelain for Emacs
make ; run make tasks from Emacs
;;pass ; password manager for nerds
(pass +auth) ; password manager for nerds
pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders
;;rgb ; creating color strings
@@ -130,10 +130,10 @@
;;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 +lsp) ; 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
(json +lsp) ; At least it ain't XML
(java +lsp) ; the poster child for carpal tunnel syndrome
javascript ; all(hope(abandon(ye(who(enter(here))))))
(julia +lsp) ; a better, faster MATLAB

View File

@@ -48,10 +48,9 @@
;(unpin! pinned-package another-pinned-package)
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t)
(package! elcord)
;;(package! elcord)
(package! tree-sitter)
(package! tree-sitter-langs)
(package! pinentry)
(unpin! org-roam)
(package! websocket)
(package! org-roam-ui :recipe (:host github :repo "org-roam/org-roam-ui" :files ("*.el" "out")))