summaryrefslogtreecommitdiffstats
path: root/myinit.org
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-11-17 14:39:34 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-11-17 14:39:34 +0000
commit0742efc81ac9a6ac27522b66a9cb7c309fbff86c (patch)
tree9910c1d0316f0e438ddf75b0589fb67454078570 /myinit.org
parentf9b9eae3d663cd2f120cb3d0cf21ae3d0a70145c (diff)
added gruber-darker-theme
Diffstat (limited to '')
-rw-r--r--myinit.org109
1 files changed, 57 insertions, 52 deletions
diff --git a/myinit.org b/myinit.org
index 5af19ee..a63d5fe 100644
--- a/myinit.org
+++ b/myinit.org
@@ -34,67 +34,72 @@
* Fundamentals
#+BEGIN_SRC emacs-lisp
-(setq inhibit-startup-message 1)
-(scroll-bar-mode -1)
-(tool-bar-mode -1)
-(tooltip-mode -1)
-(set-fringe-mode 10)
-
-(put 'narrow-to-defun 'disabled nil)
-(put 'narrow-to-page 'disabled nil)
-(put 'narrow-to-region 'disabled nil)
-
-;; Put backups in /tmp where they belong
-(setq backup-directory-alist
- `((".*" . ,temporary-file-directory)))
-(setq auto-save-file-name-transforms
- `((".*" ,temporary-file-directory t)))
-
-;; recursively copy by default
-(setq dired-recursive-copies 'always)
-
-;; y or n instead of yes or no
-(fset 'yes-or-no-p 'y-or-n-p)
+ (setq inhibit-startup-message 1)
+ (scroll-bar-mode -1)
+ (tool-bar-mode -1)
+ (tooltip-mode -1)
+ (set-fringe-mode 10)
-;; auto revert files
-(global-auto-revert-mode t)
+ (put 'narrow-to-defun 'disabled nil)
+ (put 'narrow-to-page 'disabled nil)
+ (put 'narrow-to-region 'disabled nil)
-;; Display the current time
-(display-time-mode t)
+ ;; Put backups in /tmp where they belong
+ (setq backup-directory-alist
+ `((".*" . ,temporary-file-directory)))
+ (setq auto-save-file-name-transforms
+ `((".*" ,temporary-file-directory t)))
-(setq visible-bell t)
+ ;; recursively copy by default
+ (setq dired-recursive-copies 'always)
-(set-face-attribute 'default nil :font "Iosevka Regular" :height 130)
+ ;; y or n instead of yes or no
+ (fset 'yes-or-no-p 'y-or-n-p)
-(load-theme 'gruvbox-dark-hard t)
+ ;; auto revert files
+ (global-auto-revert-mode t)
-;; calendar proper Monday start
-(setq calendar-week-start-day 1)
-(setq calendar-date-style (quote european))
+ ;; Display the current time
+ (display-time-mode t)
-;; Handling tabs (for programming)
-(setq-default tab-width 2)
-(setq-default tab-width 2 indent-tabs-mode nil)
-(setq-default indent-tabs-mode nil)
-(setq js-indent-level 2)
-(setq python-indent 2)
-(setq css-indent-offset 2)
-(add-hook 'sh-mode-hook
- (lambda ()
- (setq sh-basic-offset 2
- sh-indentation 2)))
-(setq web-mode-markup-indent-offset 2)
+ (setq visible-bell t)
-;; Highlight matching parens
-(show-paren-mode t)
+ (set-frame-font "Hack-10" nil t)
-;; Stop C-z suspending emacs
-(global-set-key (kbd "C-z") 'nil)
-
-;; encoding
-(prefer-coding-system 'utf-8)
-(setq coding-system-for-read 'utf-8)
-(setq coding-system-for-write 'utf-8)
+ (use-package gruber-darker-theme
+ :ensure t
+ :config
+ (load-theme 'gruber-darker t))
+
+ ;; (load-theme 'gruvbox-dark-hard t)
+
+ ;; calendar proper Monday start
+ (setq calendar-week-start-day 1)
+ (setq calendar-date-style (quote european))
+
+ ;; Handling tabs (for programming)
+ (setq-default tab-width 2)
+ (setq-default tab-width 2 indent-tabs-mode nil)
+ (setq-default indent-tabs-mode nil)
+ (setq js-indent-level 2)
+ (setq python-indent 2)
+ (setq css-indent-offset 2)
+ (add-hook 'sh-mode-hook
+ (lambda ()
+ (setq sh-basic-offset 2
+ sh-indentation 2)))
+ (setq web-mode-markup-indent-offset 2)
+
+ ;; Highlight matching parens
+ (show-paren-mode t)
+
+ ;; Stop C-z suspending emacs
+ (global-set-key (kbd "C-z") 'nil)
+
+ ;; encoding
+ (prefer-coding-system 'utf-8)
+ (setq coding-system-for-read 'utf-8)
+ (setq coding-system-for-write 'utf-8)
#+END_SRC
* Packages
** yasnippet