dotemacs/init.el

58 lines
2.1 KiB
EmacsLisp
Raw Normal View History

;; -*- lexical-binding: t; -*-
;; TODO - convert to use-package
2018-09-11 16:28:16 +00:00
;; TODO - drop cp/ prefix, use contrapunctus-, set up nameless package
;; names
2018-09-11 16:28:16 +00:00
;; TODO - create wrapper for
;; xref-find-definitions/xref-find-definitions-other-window
2018-09-07 17:06:18 +00:00
;; TODO - make ag suggest my last isearch term
;; TODO - make a completing prompt for Info manuals instead of the
;; current approach of either opening info and searching for a manual
;; or binding calls to (info "(something)") to keys.
2018-09-18 11:07:52 +00:00
;; TODO - add idle timer for recentf-cleanup
2018-09-14 07:43:07 +00:00
;; TODO - write command to deduce actions for directory based on
;; contents. e.g. if a directory has only/mostly videos, run `vlc
;; --recursive expand <dir>', mostly images - `sxiv -for <dir>', etc.
;; With prefix arg or when confused, ask for command (with
;; completion).
2018-09-18 11:07:52 +00:00
;; TODO - lets write something quicker to find files. Don't ask for
;; directory * - just start in the current working directory. Update
;; results as we type (after a little delay). Don't make user input
;; arguments to find(1) * - by default, search the whole path, put
;; filename matches first, path matches later.
;;
;; * maybe only with prefix arg.
2018-09-18 18:44:12 +00:00
;; TODO - stop desktop-save from saving my buffers - just save history etc (persp-mode?)
;; TODO - make idle timer to find all local git repos with uncommited changes
;; Reorganize into subdirectories?
;; text - org, md, tex
;; prog - lisp, lilypond
;; non-text - doc-view, emms
;; applications - eww, chronometrist, fm, irc
;; input - modal, hindi
;;;; Code:
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
2019-11-02 17:06:52 +00:00
(require 'package)
2021-12-20 09:57:21 +00:00
;; when GNU ELPA is down
(setq package-archives (assoc-delete-all "gnu" package-archives))
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See
;; `package-archive-priorities` and `package-pinned-packages`. Most
;; users will not need or want to do this.
;; (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(load "~/.emacs.d/init-org")
(put 'erase-buffer 'disabled nil)