46 lines
1.1 KiB
EmacsLisp
46 lines
1.1 KiB
EmacsLisp
(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 up the visible bell
|
|
(setq visible-bell t)
|
|
|
|
(set-face-attribute 'default nil :font "Fira Code" :height 120)
|
|
|
|
(defvar bootstrap-version)
|
|
(let ((bootstrap-file
|
|
(expand-file-name
|
|
"straight/repos/straight.el/bootstrap.el"
|
|
(or (bound-and-true-p straight-base-dir)
|
|
user-emacs-directory)))
|
|
(bootstrap-version 7))
|
|
(unless (file-exists-p bootstrap-file)
|
|
(with-current-buffer
|
|
(url-retrieve-synchronously
|
|
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
|
|
'silent 'inhibit-cookies)
|
|
(goto-char (point-max))
|
|
(eval-print-last-sexp)))
|
|
(load bootstrap-file nil 'nomessage))
|
|
|
|
(straight-use-package 'use-package)
|
|
|
|
(use-package doom-themes
|
|
:straight t)
|
|
|
|
(load-theme doom-dark+)
|
|
|
|
(use-package magit
|
|
:straight t)
|
|
|
|
(use-package vertico
|
|
:straight t
|
|
:init
|
|
(vertico-mode))
|
|
|
|
(use-package smartparens
|
|
:straight t
|
|
:config (require 'smartparens-config)
|
|
:init (smartparens-global-mode))
|