55 lines
1.5 KiB
EmacsLisp
55 lines
1.5 KiB
EmacsLisp
;; Mostly following along with System Crafter's videos.
|
|
;; So this will look pretty familiar.
|
|
(setq inhibit-startup-message t)
|
|
|
|
(scroll-bar-mode -1)
|
|
(tool-bar-mode -1)
|
|
(tooltip-mode -1)
|
|
(set-fringe-mode 10)
|
|
|
|
(menu-bar-mode -1)
|
|
|
|
(set-face-attribute 'default nil :font "IBM Plex Mono" :height 120)
|
|
|
|
;; Packages stuff.
|
|
(require 'package)
|
|
|
|
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
|
|
("org" . "https://orgmode.org/elpa")
|
|
("elpa" . "https://elpa.gnu.org/packages")))
|
|
|
|
(package-initialize)
|
|
(unless package-archive-contents
|
|
(package-refresh-contents))
|
|
|
|
(unless (package-installed-p 'use-package)
|
|
(package-install 'use-package))
|
|
|
|
(require 'use-package)
|
|
(setq use-package-always-ensure t)
|
|
|
|
(use-package monokai-pro-theme
|
|
:ensure t
|
|
:config
|
|
(load-theme 'monokai-pro-spectrum t))
|
|
|
|
(use-package treemacs
|
|
:ensure t
|
|
:defer t
|
|
:ini
|
|
:bind (:map global-map
|
|
("M-0" . treemacs-select-window)
|
|
("C-x t t" . treemacs)))
|
|
(custom-set-variables
|
|
;; custom-set-variables was added by Custom.
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
;; Your init file should contain only one such instance.
|
|
;; If there is more than one, they won't work right.
|
|
'(package-selected-packages '(treemacs use-package monokai-pro-theme)))
|
|
(custom-set-faces
|
|
;; custom-set-faces was added by Custom.
|
|
;; If you edit it by hand, you could mess it up, so be careful.
|
|
;; Your init file should contain only one such instance.
|
|
;; If there is more than one, they won't work right.
|
|
)
|