Add custom_ids, move ediff and atomic-chrome to Editing

Move gnutls to Emacs
This commit is contained in:
contrapunctus 2022-01-14 13:00:18 +05:30
parent aee17834e2
commit 7f183de07d
1 changed files with 71 additions and 30 deletions

101
init.org
View File

@ -81,6 +81,9 @@ At first I decided to remap all Emacs, Boon, and Hydra bindings, but it turned o
(general-auto-unbind-keys t)
#+END_SRC
* ido-mini
:PROPERTIES:
:CUSTOM_ID: ido-mini
:END:
This needs to be before =boon=/=exwm=, or you get a "failed to define function ido-mini" error when you press the keybinding.
#+BEGIN_SRC emacs-lisp
(use-package ido-mini
@ -90,10 +93,12 @@ This needs to be before =boon=/=exwm=, or you get a "failed to define function i
:config
(ivy-mode))
#+END_SRC
* exwm :disabled:
:PROPERTIES:
:literate-load: no
:header-args: :load no :tangle no
:CUSTOM_ID: exwm
:END:
#+BEGIN_SRC emacs-lisp :load no
@ -182,6 +187,9 @@ NAME is the name of the process and its buffer."
("C-r" . volume-lower-10)))
#+END_SRC
* user interface
:PROPERTIES:
:CUSTOM_ID: ui
:END:
#+BEGIN_SRC emacs-lisp
;; Simplify the GUI, thanks
;; http://www.masteringemacs.org/articles/2010/10/04/beginners-guide-to-emacs/
@ -203,6 +211,9 @@ NAME is the name of the process and its buffer."
#+END_SRC
** shackle
:PROPERTIES:
:CUSTOM_ID: ui-shackle
:END:
#+BEGIN_SRC emacs-lisp
(use-package shackle
:init (shackle-mode)
@ -210,6 +221,9 @@ NAME is the name of the process and its buffer."
#+END_SRC
** moody
:PROPERTIES:
:CUSTOM_ID: ui-moody
:END:
#+BEGIN_SRC emacs-lisp
;; nicked from https://github.com/tarsius/moody
;; (use-package solarized-theme
@ -231,6 +245,9 @@ NAME is the name of the process and its buffer."
#+END_SRC
** theme
:PROPERTIES:
:CUSTOM_ID: ui-theme
:END:
#+BEGIN_SRC emacs-lisp
;(load-theme 'distinguished t)
@ -269,30 +286,10 @@ NAME is the name of the process and its buffer."
)
#+END_SRC
* ediff
#+BEGIN_SRC emacs-lisp
(use-package ediff
:config
(setq ediff-window-setup-function 'ediff-setup-windows-plain)
;; boon-like bindings
(add-hook 'ediff-keymap-setup-hook
(lambda ()
(define-key ediff-mode-map (kbd "c") 'ediff-previous-difference)
(define-key ediff-mode-map (kbd "r") 'ediff-next-difference))))
#+END_SRC
* atomic-chrome
Doesn't work in my current main browser (Tor Browser), and thus barely used of late...
#+BEGIN_SRC emacs-lisp
(use-package atomic-chrome
:demand t
:init (atomic-chrome-start-server)
:config
(setq atomic-chrome-url-major-mode-alist
'(("wikisource" . mediawiki-mode))))
#+END_SRC
* emacs settings
:PROPERTIES:
:CUSTOM_ID: emacs-settings
:END:
#+BEGIN_SRC emacs-lisp
(use-package emacs
:config
@ -311,13 +308,7 @@ Doesn't work in my current main browser (Tor Browser), and thus barely used of l
(load custom-file))
#+END_SRC
* esup, the Emacs StartUp Profiler
#+BEGIN_SRC emacs-lisp
(use-package esup
:config (setq esup-depth 0))
#+END_SRC
* gnutls
** gnutls
#+BEGIN_SRC emacs-lisp
(use-package gnutls
:config
@ -325,8 +316,20 @@ Doesn't work in my current main browser (Tor Browser), and thus barely used of l
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
#+END_SRC
* esup, the Emacs StartUp Profiler
#+BEGIN_SRC emacs-lisp
(use-package esup
:config (setq esup-depth 0))
#+END_SRC
* Searching
:PROPERTIES:
:CUSTOM_ID: search
:END:
** ag, the Silver Searcher
:PROPERTIES:
:CUSTOM_ID: search-ag
:END:
#+BEGIN_SRC emacs-lisp
(use-package ag
:bind
@ -337,6 +340,9 @@ Doesn't work in my current main browser (Tor Browser), and thus barely used of l
#+END_SRC
** Swiper
:PROPERTIES:
:CUSTOM_ID: search-swiper
:END:
#+BEGIN_SRC emacs-lisp
(use-package swiper
:bind
@ -360,6 +366,7 @@ Doesn't work in my current main browser (Tor Browser), and thus barely used of l
* Editing
:PROPERTIES:
:CREATED: 2022-01-13T20:48:58+0530
:CUSTOM_ID: editing
:END:
#+BEGIN_SRC emacs-lisp
@ -507,9 +514,25 @@ as links into an Org or Markdown document."
(markdown-display-inline-images)))
#+END_SRC
** ediff
:PROPERTIES:
:CUSTOM_ID: editing-ediff
:END:
#+BEGIN_SRC emacs-lisp
(use-package ediff
:config
(setq ediff-window-setup-function 'ediff-setup-windows-plain)
;; boon-like bindings
(add-hook 'ediff-keymap-setup-hook
(lambda ()
(define-key ediff-mode-map (kbd "c") 'ediff-previous-difference)
(define-key ediff-mode-map (kbd "r") 'ediff-next-difference))))
#+END_SRC
** iedit
:PROPERTIES:
:CREATED: 2022-01-13T20:51:14+0530
:CUSTOM_ID: editing-iedit
:END:
#+BEGIN_SRC emacs-lisp
(use-package iedit
@ -522,6 +545,7 @@ as links into an Org or Markdown document."
** multiple cursors
:PROPERTIES:
:CREATED: 2022-01-13T20:52:14+0530
:CUSTOM_ID: editing-multiple-cursors
:END:
#+BEGIN_SRC emacs-lisp
(use-package multiple-cursors
@ -541,6 +565,7 @@ as links into an Org or Markdown document."
** transpose commands
:PROPERTIES:
:CREATED: 2022-01-13T20:50:03+0530
:CUSTOM_ID: editing-transpose
:END:
#+BEGIN_SRC emacs-lisp
(global-unset-key (kbd "C-t"))
@ -555,6 +580,9 @@ as links into an Org or Markdown document."
#+END_SRC
** easy-kill :disabled:
:PROPERTIES:
:CUSTOM_ID: editing-easy-kill
:END:
#+BEGIN_SRC emacs-lisp
(use-package easy-kill
:disabled
@ -562,6 +590,19 @@ as links into an Org or Markdown document."
("M-d" . easy-kill-delete-region)))
#+END_SRC
** atomic-chrome
:PROPERTIES:
:CUSTOM_ID: editing-atomic-chrome
:END:
Doesn't work in my current main browser (Tor Browser), and thus barely used of late...
#+BEGIN_SRC emacs-lisp
(use-package atomic-chrome
:init (atomic-chrome-start-server)
:config
(setq atomic-chrome-url-major-mode-alist
'(("wikisource" . mediawiki-mode))))
#+END_SRC
* modal editing
** active boon config
#+BEGIN_SRC emacs-lisp