More changes to .emacs

This commit is contained in:
Nathan Schneider
2024-12-26 21:58:19 -07:00
parent b27f05284f
commit 856d9dfc96
+11 -3
View File
@@ -17,9 +17,6 @@
;; Fonts ;; Fonts
(add-to-list 'default-frame-alist (add-to-list 'default-frame-alist
'(font . "Iosevka Extended-16")) '(font . "Iosevka Extended-16"))
;; Colors
;; (set-background-color "#f6f6f6")
;; this is identical with the highlight color
;; Remove startup screen ;; Remove startup screen
(setq inhibit-startup-screen t) (setq inhibit-startup-screen t)
@@ -56,6 +53,12 @@
(set-window-buffer (split-window-horizontally) (cadr buffers))))) (set-window-buffer (split-window-horizontally) (cadr buffers)))))
(add-hook 'emacs-startup-hook '2-windows-vertical-to-horizontal) (add-hook 'emacs-startup-hook '2-windows-vertical-to-horizontal)
;; MARGINS
(setq-default left-margin-width 1)
(setq-default right-margin-width 1)
;; FUNCTIONS
;; DICT ;; DICT
;; For getting definitions of words ;; For getting definitions of words
(defun dict () (defun dict ()
@@ -127,3 +130,8 @@
(shell-command (concat "xdg-open " tmp-out-file)) (shell-command (concat "xdg-open " tmp-out-file))
) )
) )
;; File bookmarks
(defun proximate ()
(interactive)
(find-file "~/Cloud/Notes/Proximate.md"))