summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-11-06 13:55:15 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-11-06 13:55:15 -0500
commitc285815a9fc8c0e14ea0714f8990694270c77c70 (patch)
tree9dfd271e6f18e8bc4a392f5d29cb9de2d5c788ed /.emacs.d/init.el
parent69ea2d19de8c3321e59b92773c6b46ca0c9df6fc (diff)
iterm2 Colors and Emacs Config
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el46
1 files changed, 46 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
new file mode 100644
index 0000000..1bf3490
--- /dev/null
+++ b/.emacs.d/init.el
@@ -0,0 +1,46 @@
+(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
+(load-theme 'naysayer t)
+(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.
+ '(display-line-numbers-type 'relative)
+ '(indent-tabs-mode t)
+ '(indent-tabs-mode-hook nil)
+ '(package-selected-packages '(evil))
+ '(standard-indent 4)
+ '(tool-bar-mode nil)
+ '(tool-bar-style nil))
+(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.
+ )
+
+;; window
+(add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
+(add-to-list 'default-frame-alist '(ns-appearance . dark))
+
+;; Prevent Extraneous Tabs
+(setq-default indent-tabs-mode t)
+
+;; Relative Line Numbers
+(display-line-numbers-mode)
+(setq display-line-numbers 'relative)
+
+;; Set up package.el to work with MELPA
+(require 'package)
+(add-to-list 'package-archives
+ '("melpa" . "https://melpa.org/packages/"))
+(package-initialize)
+(package-refresh-contents)
+
+;; Download Evil
+(unless (package-installed-p 'evil)
+ (package-install 'evil))
+
+;; Enable Evil
+(require 'evil)
+(evil-mode 1)