projectile ignores, cleanup init.el

This commit is contained in:
Nikolai Shields 2024-10-21 17:38:01 -05:00
parent 5754dab06c
commit 8e7aa7505b
No known key found for this signature in database
2 changed files with 15 additions and 10 deletions

2
.gitignore vendored
View file

@ -17,3 +17,5 @@
/.lsp-session-v1
/.dap-breakpoints
/.cache/
projectile-bookmarks.eld
projectile.cache

23
init.el
View file

@ -18,20 +18,28 @@
(global-auto-revert-mode 1)
(setq global-auto-rever-non-file-buffers t)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;;(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;;(require 'package)
;;(setq package-archives '(("melpa" . "https://melpa.org/packages/")
;; ("org" . "https://orgmode.org/elpa/")
;; ("elpa" . "https://elpa.gnu.org/packages/")))
;;(package-initialize)
;;(package-refresh-contents)
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")
("elpa" . "https://elpa.gnu.org/packages/")))
("org" . "https://orgmode.org/elpa/")
("elpa" . "https://elpa.gnu.org/packages/")))
(package-initialize)
(package-refresh-contents)
;; Initialize use-package on non-linux platforms
;; Initialize use-package
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(require 'use-package)
(setq use-package-always-ensure t)
(use-package catppuccin-theme)
(use-package doom-modeline
:ensure t
@ -206,11 +214,6 @@
;; optionally if you want to use debugger
(use-package dap-mode)
;; optional if you want which-key integration
(use-package which-key
:config
(which-key-mode))
(use-package magit
:bind ("C-M-;" . magit-status)
:commands (magit-status magit-get-current-branch)