summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el26
1 files changed, 0 insertions, 26 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 51311ac..b2dfd2f 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -68,17 +68,13 @@
(use-package xclip)
(unless (display-graphic-p) (xclip-mode 1))
-
-
;; Don't advertise gnu on startup
(setq inhibit-startup-echo-area-message "noa") ;; #userfreedom
-
;; Make tooltip information appear consistently in the echo area
(use-package tooltip
:custom (tooltip-mode nil))
-
;; startup.el does not provide itself, cannot be used with use-package
(setopt inhibit-startup-screen t)
@@ -164,7 +160,6 @@
;; (marginalia-mode t)
)
-
;; Basic matches candidates with the same text before the point, and the text after the point as a substring.
;; Orderless takes any number of space separated components and displays candidates that much every component in any order.
;; I don't actually know if these make any difference when i've specified a different completion style.
@@ -178,8 +173,6 @@
(completion-styles '(orderless basic))
(completion-category-overrides '((file (styles basic partial-completion)))))
-
-
(use-package consult
:defer t
;; :commands (consult-complete-in-region)
@@ -210,7 +203,6 @@
;;; Offline web browsing
-
;; Despite the name, eww is a delight to use for text-heavy websites.
(use-package browse-url
:defer t
@@ -243,7 +235,6 @@
(goto-address-url-face 'link)
(goto-address-url-mouse-face 'highlight))
-
(defvar noa/record-url-file "~/Documents/Library/urls")
(defun noa/record-url (url &rest args)
"An alternative browser function that appends the url to a file. We do not pay attention to any arguments."
@@ -299,10 +290,8 @@
:custom
(compilation-scroll-output 'first-error))
-
;;; Writing prose
-
;; Use abbrev as a simple autocorrect mode. M-x list-abbrevs for stats.
;; Check ~/.config/emacs/abbrev_defs to update any mistakes
(use-package abbrev
@@ -334,9 +323,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
(define-abbrev global-abbrev-table abbrev word)))
(advice-add 'jinx--correct-replace :before #'jinx--add-to-abbrev)
-
-
-
;; Make sentence navigation commands work for people who are wrong
;; NOTE: paragraphs does not provide itself
(use-package paragraphs
@@ -530,7 +516,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
(org-cite-csl-styles-dir "~/Documents/Library/CSL/Styles")
(org-cite-csl-locales-dir "~/Documents/Library/CSL/Locales"))
-
;; Not working how i want
(use-package org-capture
:bind ("C-c c" . org-capture)
@@ -572,7 +557,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
(consult-ripgrep "~/Documents/Notes"))
(global-set-key (kbd "C-j C-s") #'noa/consult-rg-notes)
-
(defvar note/directory "~/Documents/Notes"
"The directory in which notes are stored.")
(defvar note/file-ending "md"
@@ -589,7 +573,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
(find-file note))
))
-
;; Markdown
(use-package markdown-mode
:mode ("\\.\\(?:md\\|markdown\\|mkd\\|mdown\\|mkdn\\|mdwn\\)\\'" . markdown-mode)
@@ -613,7 +596,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
(proced-enable-color-flag nil)
(proced-show-remote-processes t))
-
;;; Completion
;; Some settings for nicer completion with the default emacs completion buffer. I don't use this, because i use vertico.
@@ -644,8 +626,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
;; People who have used computers in the last forty years or so will likely be familiar with this innovation.
(delete-by-moving-to-trash t)
-
-
;; -l is required by dired
;; -a to also show dotfiles
;; -v to sort numbers properly
@@ -667,7 +647,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
:custom
(dired-du-size-format t))
-
(use-package recentf
:hook (after-init . recentf-mode)
:custom
@@ -682,7 +661,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
(use-package saveplace
:hook (after-init . save-place-mode))
-
;;; Window and buffer navigation
(use-package isearch
@@ -714,7 +692,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
(use-package ace-window
:bind ([remap other-window] . ace-window))
-
;; Better buffer naming
(use-package uniquify
:custom
@@ -936,7 +913,6 @@ With prefix argument TIME, also add the current time."
(save-silently t) ;; don't message when saving
)
-
;; Disable disabled commands
(setq disabled-command-function nil)
@@ -945,7 +921,6 @@ With prefix argument TIME, also add the current time."
:custom
(custom-file (make-temp-file "custom")))
-
;; Emacs server
;; (unless (server-running-p) (server-start)))
@@ -963,7 +938,6 @@ With prefix argument TIME, also add the current time."
:custom
(vc-follow-symlinks 'ask))
-
;; Zap up to char
(global-set-key (kbd "M-z") 'zap-up-to-char)