Ref: https://gist.github.com/rnwolf/e09ae9ad6d3ac759767d129d52cab1f1
| Key Binding | Description |
|---|---|
| SPC | < space > |
| RET | < return > |
| C | < ctrl > |
| M | < alt >, M stands for Meta |
Ref: https://gist.github.com/rnwolf/e09ae9ad6d3ac759767d129d52cab1f1
| Key Binding | Description |
|---|---|
| SPC | < space > |
| RET | < return > |
| C | < ctrl > |
| M | < alt >, M stands for Meta |
This script removes the input length limit which can trip up Plover users.
Simply install the script into TamperMonkey (Chrome) or GreaseMonkey (Firefox) and get racing.
The script was created by community member nimble
| (defun isearch-delete-me () | |
| (interactive) | |
| (delete-char (- (length isearch-string)))) | |
| (define-key isearch-mode-map (kbd "<C-backspace>") 'isearch-delete-me) | |
| ;; An attempt at this Emacs SX question: | |
| ;; https://emacs.stackexchange.com/questions/10359/delete-portion-of-isearch-string-that-does-not-match-or-last-char-if-complete-m | |
| (defun isearch-delete-something () | |
| "Delete non-matching text or the last character." | |
| ;; Mostly copied from `isearch-del-char' and Drew's answer on the page above | |
| (interactive) | |
| (if (= 0 (length isearch-string)) | |
| (ding) | |
| (setq isearch-string |
| # adapted from https://gist.github.com/johdax/771943 | |
| # modified to work without creating new String methods | |
| class StringDistance | |
| def self.damerau_levenshtein(str1, str2) | |
| d = Array.new(str1.size+1){Array.new(str2.size+1)} | |
| for i in (0..str1.size) | |
| d[i][0] = i | |
| end | |
| for j in (0..str2.size) |
| # PKGW customizations | |
| # Greek ambiguities: epsilon/eta, theta/tau, pi/phi/psi, omega/omicron | |
| <Multi_key> <backslash> <comma> : " " U202F # thin nonbreaking space | |
| <Multi_key> <g> <a> : "α" | |
| <Multi_key> <g> <b> : "β" | |
| <Multi_key> <g> <g> : "γ" | |
| <Multi_key> <g> <d> : "δ" | |
| <Multi_key> <g> <3> : "ε" # note! |
In the mid-80s, while reading through my roommate's collection of Scientific American back issues, I encountered this introduction to Lisp written by Douglas Hofstadter. I found it very charming at the time, and provide it here (somewhat illegally) for the edification of a new generation of Lispers.
In a testament to the timelessness of Lisp, you can still run all the examples below in emacs if you install these aliases:
(defalias 'plus #'+)
(defalias 'quotient #'/)
(defalias 'times #'*)
(defalias 'difference #'-)