add more emacs pkgs

This commit is contained in:
zongor 2023-04-25 01:06:49 -04:00
parent d0165d882e
commit cbc29b7e3b
1 changed files with 53 additions and 11 deletions

64
.emacs
View File

@ -100,6 +100,13 @@
(evil-define-key 'normal neotree-mode-map (kbd "A") 'neotree-stretch-toggle) (evil-define-key 'normal neotree-mode-map (kbd "A") 'neotree-stretch-toggle)
(evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle)) (evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle))
(use-package verb)
(use-package org
:after verb
:mode ("\\.org\\'" . org-mode)
:config (define-key org-mode-map (kbd "C-c C-r") verb-command-map))
(use-package evil-org (use-package evil-org
:ensure t :ensure t
:after org evil :after org evil
@ -126,26 +133,36 @@
;; Corrects (and improves) org-mode's native fontification. ;; Corrects (and improves) org-mode's native fontification.
(doom-themes-org-config)) (doom-themes-org-config))
(use-package all-the-icons (use-package all-the-icons)
:if (display-graphic-p))
(use-package neotree (use-package neotree
:config :config
(global-set-key [f8] 'neotree-toggle)) (global-set-key [f8] 'neotree-toggle))
(use-package dashboard
:ensure t
:config
(dashboard-setup-startup-hook))
(use-package centaur-tabs
:demand
:config
(centaur-tabs-mode t)
:bind
("C-<prior>" . centaur-tabs-backward)
("C-<next>" . centaur-tabs-forward))
(use-package undo-tree (use-package undo-tree
:config (global-undo-tree-mode 1) :config (global-undo-tree-mode 1)
:diminish undo-tree-mode) :diminish undo-tree-mode)
(use-package format-all (use-package format-all
:hook :hook ((format-all-mode-hook . format-all-ensure-formatter)))
(
(format-all-mode-hook . format-all-ensure-formatter)
)
)
(use-package dumb-jump) (use-package rainbow-delimiters
:hook ((prog-mode-hook . rainbow-delimiters-mode)))
(add-hook 'xref-backend-functions #'dumb-jump-xref-activate) (use-package dumb-jump
:hook ((xref-backend-functions . dumb-jump-xref-activate)))
(use-package elfeed (use-package elfeed
:config :config
@ -162,6 +179,20 @@
:bind ("C-c d" . docker)) :bind ("C-c d" . docker))
(use-package docker-compose-mode) (use-package docker-compose-mode)
(use-package web-mode
:config
(add-to-list 'auto-mode-alist '("\\.jsx?$" . web-mode))
(setq web-mode-content-types-alist '(("jsx" . "\\.js[x]?\\'"))))
(use-package typescript-mode)
(use-package tide
:ensure t
:after (typescript-mode company flycheck)
:hook ((typescript-mode . tide-setup)
(typescript-mode . tide-hl-identifier-mode)
(before-save . tide-format-before-save)))
(use-package elm-mode)
(use-package go-mode) (use-package go-mode)
(use-package rust-mode) (use-package rust-mode)
(use-package cargo) (use-package cargo)
@ -183,10 +214,18 @@
:ensure t :ensure t
:init (setq ccls-executable "/usr/bin/ccls")) :init (setq ccls-executable "/usr/bin/ccls"))
(use-package vterm
:ensure t)
(use-package dash) (use-package dash)
(use-package column-enforce-mode) (use-package column-enforce-mode)
(use-package desktop) (use-package desktop)
(use-package git) (use-package magit)
(use-package magit-lfs
:ensure t
:pin melpa)
(use-package forge
:after magit)
(use-package ripgrep) (use-package ripgrep)
(use-package projectile) (use-package projectile)
(use-package ivy) (use-package ivy)
@ -257,7 +296,10 @@
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(inhibit-startup-screen t)) '(elfeed-feeds
'("https://lemmy.ml/feeds/local.xml?sort=Active" "https://www.hexbear.net/feeds/all.xml?sort=Active" "https://xkcd.com/atom.xml" "https://www.existentialcomics.com/rss.xml" "https://hackaday.com/blog/feed/" "https://itsfoss.com/feed/" "http://git.9front.org/plan9front/plan9front/HEAD/feed.rss" "https://www.gnu.org/software/hurd/index.rss" "https://steamcommunity.com/groups/GrabFreeGames/rss/" "https://feeds.npr.org/1001/rss.xml" "https://www.scmp.com/rss/91/feed" "https://www.currentaffairs.org/feed" "https://libcom.org/rss.xml/feed" "https://itsgoingdown.org/feed" "https://cosmonaut.blog/rss" "https://yewtu.be/feed/private?token=QaRbw6HeUUNTi5K24U6eMWSw9xYjYc0ARTeUcZK1pJA=" "http://feeds.ancientfaith.com/AmonSul" "https://feeds.transistor.fm/the-magnificast" "https://anchor.fm/s/c38df04/podcast/rss" "https://yogpod.libsyn.com/rss" "https://revolutionspodcast.libsyn.com/rss" "https://feeds.acast.com/public/shows/5e7b777ba085cbe7192b0607" "https://www.omnycontent.com/d/playlist/aaea4e69-af51-495e-afc9-a9760146922b/48da3539-5da0-41ed-a1c3-aac50170b88f/f7810480-e2d3-4be5-a559-aac50170b8a6/podcast.rss" "https://feeds.soundcloud.com/users/soundcloud:users:672423809/sounds.rss" "https://www.omnycontent.com/d/playlist/aaea4e69-af51-495e-afc9-a9760146922b/4a3ca742-9a68-4850-a727-ab790176c0e9/d04153b0-fc4c-4191-ab18-ab790179c563/podcast.rss" "https://feeds.soundcloud.com/users/soundcloud:users:211911700/sounds.rss" "https://access.acast.com/rss/5fd1001d81367d4cb41fe325/Q6BVQ6VF" "https://feeds.npr.org/344098539/podcast.xml"))
'(inhibit-startup-screen t)
'(neo-theme 'icons))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.