Get rid of bootstrap/non-LP init.el
This commit is contained in:
parent
364753b025
commit
13aca6aea8
57
init.el
57
init.el
|
@ -1,57 +0,0 @@
|
|||
;; -*- lexical-binding: t; -*-
|
||||
;; TODO - convert to use-package
|
||||
|
||||
;; TODO - drop cp/ prefix, use contrapunctus-, set up nameless package
|
||||
;; names
|
||||
|
||||
;; TODO - create wrapper for
|
||||
;; xref-find-definitions/xref-find-definitions-other-window
|
||||
|
||||
;; 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.
|
||||
|
||||
;; TODO - add idle timer for recentf-cleanup
|
||||
|
||||
;; 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).
|
||||
|
||||
;; 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
|
||||
|
||||
;; 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")
|
||||
|
||||
(require 'package)
|
||||
;; 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)
|
15
init.org
15
init.org
|
@ -1,12 +1,25 @@
|
|||
#+TODO: TODO WIP WISH CLEANUP FIXME REVIEW |
|
||||
#+OPTIONS: use-property-inheritance:t
|
||||
#+PROPERTY: header-args :load yes :tangle init-org.el :comments link
|
||||
#+PROPERTY: header-args :load yes :tangle init.el :comments link
|
||||
|
||||
Some background about my keybinding choices is important -
|
||||
1. I use modifier-less bindings wherever possible.
|
||||
2. I use Kmonad to have Space act as Control when held. This makes Control the modifier requiring the least movement to hold. It is also held with the thumbs - the strongest digits - reducing fatigue. So if I must use a modifier, I use Control.
|
||||
3. I use the Dvorak layout.
|
||||
|
||||
* package.el :package:
|
||||
<2021-12-20T20:41:17+0530>
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(require 'package)
|
||||
;; ;; 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)
|
||||
#+END_SRC
|
||||
|
||||
* use-package
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
|
Loading…
Reference in New Issue