From 856d9dfc9623f07affa1e6edf8903028c5f6e315 Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Thu, 26 Dec 2024 21:58:19 -0700 Subject: [PATCH] More changes to .emacs --- .emacs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.emacs b/.emacs index 3832961..56b62c1 100644 --- a/.emacs +++ b/.emacs @@ -17,9 +17,6 @@ ;; Fonts (add-to-list 'default-frame-alist '(font . "Iosevka Extended-16")) -;; Colors -;; (set-background-color "#f6f6f6") -;; this is identical with the highlight color ;; Remove startup screen (setq inhibit-startup-screen t) @@ -56,6 +53,12 @@ (set-window-buffer (split-window-horizontally) (cadr buffers))))) (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 ;; For getting definitions of words (defun dict () @@ -127,3 +130,8 @@ (shell-command (concat "xdg-open " tmp-out-file)) ) ) + +;; File bookmarks +(defun proximate () + (interactive) + (find-file "~/Cloud/Notes/Proximate.md"))