dotemacs/init.el

66 lines
2.3 KiB
EmacsLisp
Raw Normal View History

2020-05-12 19:26:34 +00:00
;; -*- lexical-binding: t; -*-
2018-09-07 17:06:18 +00:00
;; TODO - convert to use-package
2018-09-11 16:28:16 +00:00
;; TODO - drop cp/ prefix, use contrapunctus-, set up nameless package
;; names
;; 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
2018-09-14 07:43:07 +00:00
;; 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
2018-09-18 11:07:52 +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 18:44:12 +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.
;; 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
2018-09-19 05:08:46 +00:00
2020-05-13 05:09:56 +00:00
;; Reorganize into subdirectories?
;; text - org, md, tex
;; prog - lisp, lilypond
;; non-text - doc-view, emms
;; applications - eww, chronometrist, fm, irc
;; input - modal, hindi
2019-09-12 15:23:07 +00:00
;;;; Code:
;; omitting the extension so that the byte-compiled file is preferred
(load "~/.emacs.d/elpa/literate-elisp-20210130.107/literate-elisp")
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(eval-when-compile
(add-to-list 'load-path "~/.emacs.d/elisp-git/use-package/")
(require 'use-package))
2020-04-23 08:50:37 +00:00
(require 'package)
(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)
2020-04-23 08:50:37 +00:00
(package-initialize)
(use-package literate-elisp
:commands (literate-elisp-load))
2019-11-02 17:06:52 +00:00
(literate-elisp-load "~/.emacs.d/init.org")