From 41e85002dcf8dc14e188c60f531711de0acade02 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 10 May 2024 01:57:42 +0530 Subject: (Emacs)-Emacs Lisp snippets Don't use ANY of them anyway. --- .../yasnippet/snippets/emacs-lisp-mode/advise | 9 ------- .../.config/yasnippet/snippets/emacs-lisp-mode/and | 4 --- .../yasnippet/snippets/emacs-lisp-mode/append | 4 --- .../yasnippet/snippets/emacs-lisp-mode/apply | 6 ----- .../yasnippet/snippets/emacs-lisp-mode/aref | 4 --- .../yasnippet/snippets/emacs-lisp-mode/aset | 4 --- .../yasnippet/snippets/emacs-lisp-mode/assq | 4 --- .../.config/yasnippet/snippets/emacs-lisp-mode/au | 4 --- .../yasnippet/snippets/emacs-lisp-mode/autodef | 6 ----- .../yasnippet/snippets/emacs-lisp-mode/autoload | 4 --- .../snippets/emacs-lisp-mode/backward-char | 8 ------ .../snippets/emacs-lisp-mode/beginning-of-line | 8 ------ .../emacs-lisp-mode/bounds-of-thing-at-point | 8 ------ .../snippets/emacs-lisp-mode/buffer-file-name | 6 ----- .../snippets/emacs-lisp-mode/buffer-modified-p | 8 ------ .../snippets/emacs-lisp-mode/buffer-substring | 6 ----- .../emacs-lisp-mode/buffer-substring-no-properties | 6 ----- .../.config/yasnippet/snippets/emacs-lisp-mode/car | 4 --- .../.config/yasnippet/snippets/emacs-lisp-mode/cdr | 4 --- .../snippets/emacs-lisp-mode/cl-destructuring-bind | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/concat | 4 --- .../snippets/emacs-lisp-mode/condition-case | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/cons | 4 --- .../yasnippet/snippets/emacs-lisp-mode/consp | 7 ----- .../snippets/emacs-lisp-mode/copy-directory | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/copy-file | 8 ------ .../snippets/emacs-lisp-mode/current-buffer | 6 ----- .../snippets/emacs-lisp-mode/custom-autoload | 8 ------ .../snippets/emacs-lisp-mode/def-package! | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/defalias | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/defconst | 5 ---- .../yasnippet/snippets/emacs-lisp-mode/defcustom | 4 --- .../yasnippet/snippets/emacs-lisp-mode/define-key | 6 ----- .../yasnippet/snippets/emacs-lisp-mode/defsubst | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/defvar | 5 ---- .../yasnippet/snippets/emacs-lisp-mode/delete-char | 8 ------ .../snippets/emacs-lisp-mode/delete-directory | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/delete-file | 8 ------ .../snippets/emacs-lisp-mode/delete-region | 8 ------ .../snippets/emacs-lisp-mode/directory-files | 8 ------ .../snippets/emacs-lisp-mode/dired.process_marked | 17 ------------ .../yasnippet/snippets/emacs-lisp-mode/end-of-line | 8 ------ .../.config/yasnippet/snippets/emacs-lisp-mode/eq | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/equal | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/error | 7 ----- .../snippets/emacs-lisp-mode/expand-file-name | 4 --- .../yasnippet/snippets/emacs-lisp-mode/fboundp | 4 --- .../snippets/emacs-lisp-mode/file-name-directory | 8 ------ .../snippets/emacs-lisp-mode/file-name-extension | 4 --- .../emacs-lisp-mode/file-name-nondirectory | 8 ------ .../emacs-lisp-mode/file-name-sans-extension | 8 ------ .../snippets/emacs-lisp-mode/file-relative-name | 8 ------ .../snippets/emacs-lisp-mode/file.process | 18 ------------- .../snippets/emacs-lisp-mode/file.read-lines | 18 ------------- .../yasnippet/snippets/emacs-lisp-mode/find-file | 8 ------ .../snippets/emacs-lisp-mode/find-replace | 18 ------------- .../yasnippet/snippets/emacs-lisp-mode/format | 4 --- .../snippets/emacs-lisp-mode/forward-char | 8 ------ .../snippets/emacs-lisp-mode/forward-line | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/funcall | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/function | 4 --- .../.config/yasnippet/snippets/emacs-lisp-mode/get | 7 ----- .../snippets/emacs-lisp-mode/global-set-key | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/goto-char | 4 --- .../yasnippet/snippets/emacs-lisp-mode/grabstring | 5 ---- .../yasnippet/snippets/emacs-lisp-mode/grabthing | 5 ---- .../yasnippet/snippets/emacs-lisp-mode/if-let | 5 ---- .../yasnippet/snippets/emacs-lisp-mode/if-let-2 | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/insert | 8 ------ .../snippets/emacs-lisp-mode/insert-file-contents | 8 ------ .../.config/yasnippet/snippets/emacs-lisp-mode/int | 5 ---- .../yasnippet/snippets/emacs-lisp-mode/interactive | 5 ---- .../.config/yasnippet/snippets/emacs-lisp-mode/kbd | 4 --- .../yasnippet/snippets/emacs-lisp-mode/kill-buffer | 8 ------ .../.config/yasnippet/snippets/emacs-lisp-mode/lam | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/length | 4 --- .../emacs-lisp-mode/line-beginning-position | 8 ------ .../snippets/emacs-lisp-mode/line-end-position | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/list | 4 --- .../yasnippet/snippets/emacs-lisp-mode/looking-at | 4 --- .../snippets/emacs-lisp-mode/make-directory | 8 ------ .../snippets/emacs-lisp-mode/make-hash-table | 6 ----- .../snippets/emacs-lisp-mode/make-local-variable | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/mapc | 4 --- .../yasnippet/snippets/emacs-lisp-mode/mapcar | 4 --- .../snippets/emacs-lisp-mode/match-beginning | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/match-end | 8 ------ .../snippets/emacs-lisp-mode/match-string | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/memq | 4 --- .../yasnippet/snippets/emacs-lisp-mode/message | 6 ----- .../yasnippet/snippets/emacs-lisp-mode/minor_mode | 21 --------------- .../.config/yasnippet/snippets/emacs-lisp-mode/not | 4 --- .../.config/yasnippet/snippets/emacs-lisp-mode/nth | 4 --- .../yasnippet/snippets/emacs-lisp-mode/optional | 5 ---- .../.config/yasnippet/snippets/emacs-lisp-mode/or | 4 --- .../yasnippet/snippets/emacs-lisp-mode/point | 5 ---- .../yasnippet/snippets/emacs-lisp-mode/point-max | 6 ----- .../yasnippet/snippets/emacs-lisp-mode/point-min | 6 ----- .../yasnippet/snippets/emacs-lisp-mode/princ | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/print | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/provide | 4 --- .../.config/yasnippet/snippets/emacs-lisp-mode/put | 7 ----- .../snippets/emacs-lisp-mode/re-search-backward | 8 ------ .../snippets/emacs-lisp-mode/re-search-forward | 8 ------ .../snippets/emacs-lisp-mode/region-active-p | 8 ------ .../snippets/emacs-lisp-mode/region-beginning | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/region-end | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/rename-file | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/repeat | 7 ----- .../snippets/emacs-lisp-mode/replace-regexp | 8 ------ .../emacs-lisp-mode/replace-regexp-in-string | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/require | 4 --- .../yasnippet/snippets/emacs-lisp-mode/rest | 4 --- .../yasnippet/snippets/emacs-lisp-mode/save-buffer | 8 ------ .../snippets/emacs-lisp-mode/search-backward | 8 ------ .../emacs-lisp-mode/search-backward-regexp | 8 ------ .../snippets/emacs-lisp-mode/search-forward | 8 ------ .../snippets/emacs-lisp-mode/search-forward-regexp | 8 ------ .../.config/yasnippet/snippets/emacs-lisp-mode/set | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/set-buffer | 8 ------ .../snippets/emacs-lisp-mode/set-file-modes | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/set-mark | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/setq | 4 --- .../snippets/emacs-lisp-mode/setq-default | 6 ----- .../snippets/emacs-lisp-mode/skip-chars-backward | 8 ------ .../snippets/emacs-lisp-mode/skip-chars-forward | 8 ------ .../snippets/emacs-lisp-mode/split-string | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/string | 7 ----- .../snippets/emacs-lisp-mode/string-match | 4 --- .../snippets/emacs-lisp-mode/string-match-p | 4 --- .../snippets/emacs-lisp-mode/string-to-number | 6 ----- .../yasnippet/snippets/emacs-lisp-mode/string= | 6 ----- .../yasnippet/snippets/emacs-lisp-mode/stringp | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/substring | 7 ----- .../snippets/emacs-lisp-mode/thing-at-point | 8 ------ .../snippets/emacs-lisp-mode/traverse_dir | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/use-package | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/vector | 8 ------ .../yasnippet/snippets/emacs-lisp-mode/widget-get | 8 ------ .../snippets/emacs-lisp-mode/word-or-region | 28 -------------------- .../yasnippet/snippets/emacs-lisp-mode/word_regexp | 6 ----- .../emacs-lisp-mode/x-dired.process_marked | 19 -------------- .../snippets/emacs-lisp-mode/x-file.process | 20 --------------- .../snippets/emacs-lisp-mode/x-file.read-lines | 20 --------------- .../snippets/emacs-lisp-mode/x-find-replace | 20 --------------- .../snippets/emacs-lisp-mode/x-grabstring | 7 ----- .../yasnippet/snippets/emacs-lisp-mode/x-grabthing | 7 ----- .../snippets/emacs-lisp-mode/x-traverse_dir | 9 ------- .../snippets/emacs-lisp-mode/x-word-or-region | 30 ---------------------- .../yasnippet/snippets/emacs-lisp-mode/y-or-n-p | 5 ---- .../yasnippet/snippets/emacs-lisp-mode/yes-or-no-p | 5 ---- 151 files changed, 1131 deletions(-) delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/advise delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/and delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/append delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/apply delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aref delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aset delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/assq delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/au delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autodef delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autoload delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/backward-char delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/beginning-of-line delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/bounds-of-thing-at-point delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-file-name delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-modified-p delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring-no-properties delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/car delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cdr delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cl-destructuring-bind delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/concat delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/condition-case delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cons delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/consp delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-directory delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-file delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/current-buffer delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/custom-autoload delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/def-package! delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defalias delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defconst delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defcustom delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/define-key delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defsubst delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defvar delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-char delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-directory delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-file delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-region delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/directory-files delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/dired.process_marked delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/end-of-line delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/eq delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/equal delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/error delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/expand-file-name delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/fboundp delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-directory delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-extension delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-nondirectory delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-sans-extension delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-relative-name delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.process delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.read-lines delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-file delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-replace delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/format delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-char delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-line delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/funcall delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/function delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/get delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/global-set-key delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/goto-char delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabstring delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabthing delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let-2 delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert-file-contents delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/int delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/interactive delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kbd delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kill-buffer delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/lam delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/length delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-beginning-position delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-end-position delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/list delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/looking-at delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-directory delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-hash-table delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-local-variable delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapc delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapcar delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-beginning delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-end delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-string delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/memq delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/message delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/minor_mode delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/not delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/nth delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/optional delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/or delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-max delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-min delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/princ delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/print delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/provide delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/put delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-backward delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-forward delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-active-p delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-beginning delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-end delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rename-file delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/repeat delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp-in-string delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/require delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rest delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/save-buffer delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward-regexp delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward-regexp delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-buffer delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-file-modes delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-mark delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq-default delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-backward delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-forward delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/split-string delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match-p delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-to-number delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string= delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/stringp delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/substring delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/thing-at-point delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/traverse_dir delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/use-package delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/vector delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/widget-get delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word-or-region delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word_regexp delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-dired.process_marked delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.process delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.read-lines delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-find-replace delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabstring delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabthing delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-traverse_dir delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-word-or-region delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/y-or-n-p delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/yes-or-no-p (limited to 'Emacs') diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/advise b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/advise deleted file mode 100644 index 2e74532..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/advise +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: advise function -# key: adv -# uuid: adv -# -- -(defun ${3:adviser-name} (orig-fn &rest args) - ${4:} - (apply orig-fn args)) -(advice-add #'${1:function-name} ${2::around} #'${3:adviser-name}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/and b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/and deleted file mode 100644 index 63a0fc2..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/and +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: and -# -- -(and $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/append b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/append deleted file mode 100644 index 86c62c7..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/append +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: append -# -- -(append $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/apply b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/apply deleted file mode 100644 index 894e746..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/apply +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: apply -# key: apply -# uuid: apply -# -- -(apply $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aref b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aref deleted file mode 100644 index 1bc181a..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aref +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: aref -# -- -(aref ${1:array} ${0:index}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aset b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aset deleted file mode 100644 index 40ed691..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aset +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: aset -# -- -(aset ${1:array} ${2:index} ${3:newelt}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/assq b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/assq deleted file mode 100644 index f2de7c6..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/assq +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: assq -# -- -(assq ${0:sym} ${1:list}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/au b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/au deleted file mode 100644 index b76c3a1..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/au +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: autoload tag -# -- -;;;###autoload`(%emacs-lisp-evil-autoload)`$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autodef b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autodef deleted file mode 100644 index 0658ee4..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autodef +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: doom autodef tag -# key: ad -# uuid: ad -# -- -;;;###autodef \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autoload b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autoload deleted file mode 100644 index 7ffdf3b..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autoload +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: autoload -# -- -(autoload '${1:fn} "${2:file}"${3:"${4:doc}" ${5:t} ${6:type}}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/backward-char b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/backward-char deleted file mode 100644 index d483463..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/backward-char +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: backward-char -# key: backward-char -# uuid: backward-char -# key: bc -# -- -(backward-char $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/beginning-of-line b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/beginning-of-line deleted file mode 100644 index f0d4359..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/beginning-of-line +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: beginning-of-line -# key: beginning-of-line -# uuid: beginning-of-line -# key: bol -# -- -(beginning-of-line) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/bounds-of-thing-at-point b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/bounds-of-thing-at-point deleted file mode 100644 index d74228f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/bounds-of-thing-at-point +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: bounds-of-thing-at-point -# key: bounds-of-thing-at-point -# uuid: bounds-of-thing-at-point -# key: botap -# -- -(bounds-of-thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ... \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-file-name b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-file-name deleted file mode 100644 index 9fe30b6..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-file-name +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: buffer-file-name -# key: bfn -# uuid: bfn -# -- -buffer-file-name \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-modified-p b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-modified-p deleted file mode 100644 index cf4f2df..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-modified-p +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: buffer-modified-p -# key: buffer-modified-p -# uuid: buffer-modified-p -# key: bmp -# -- -(buffer-modified-p $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring deleted file mode 100644 index d9c9dba..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: buffer-substring -# key: bs -# uuid: bs -# -- -(buffer-substring ${1:start} ${2:end}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring-no-properties b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring-no-properties deleted file mode 100644 index d286c08..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring-no-properties +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: buffer-substring-no-properties -# key: bsnp -# uuid: bsnp -# -- -(buffer-substring-no-properties ${1:start} ${2:end}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/car b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/car deleted file mode 100644 index f18c455..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/car +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: car -# -- -(car ${0:}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cdr b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cdr deleted file mode 100644 index c5a2e1e..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cdr +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: cdr -# -- -(cdr ${0:}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cl-destructuring-bind b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cl-destructuring-bind deleted file mode 100644 index 6f08a67..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cl-destructuring-bind +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: cl-destructuring-bind -# key: cdb -# uuid: cdb -# -- -(cl-destructuring-bind (${1:args}) - ${2:expr} - $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/concat b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/concat deleted file mode 100644 index bc7bd50..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/concat +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: concat -# -- -(concat $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/condition-case b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/condition-case deleted file mode 100644 index 5e80e4b..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/condition-case +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: condition-case -# key: cc -# uuid: cc -# -- -(condition-case ex - $>${0:} - (error $0)) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cons b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cons deleted file mode 100644 index 82e8c98..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cons +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: cons -# -- -(cons ${1:} $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/consp b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/consp deleted file mode 100644 index 869e831..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/consp +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: consp -# key: consp -# uuid: consp -# -- -(consp $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-directory b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-directory deleted file mode 100644 index 9c89c78..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-directory +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: copy-directory -# key: copy-directory -# uuid: copy-directory -# key: cd -# -- -(copy-directory $0 NEWNAME &optional KEEP-TIME PARENTS) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-file b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-file deleted file mode 100644 index d79e1aa..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-file +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: copy-file -# key: copy-file -# uuid: copy-file -# key: cf -# -- -(copy-file FILE$0 NEWNAME &optional OK-IF-ALREADY-EXISTS KEEP-TIME PRESERVE-UID-GID) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/current-buffer b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/current-buffer deleted file mode 100644 index 4d8217f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/current-buffer +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: current-buffer -# key: cb -# uuid: cb -# -- -(current-buffer) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/custom-autoload b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/custom-autoload deleted file mode 100644 index c84d862..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/custom-autoload +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: custom-autoload -# key: custom-autoload -# uuid: custom-autoload -# key: ca -# -- -(custom-autoload$0 SYMBOL LOAD &optional NOSET) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/def-package! b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/def-package! deleted file mode 100644 index 4579471..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/def-package! +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: def-package! ... -# key: dp -# uuid: dp -# -- -(def-package! ${1:package} - :${2:config} - $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defalias b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defalias deleted file mode 100644 index 80f18df..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defalias +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: defalias -# key: defalias -# uuid: defalias -# -- -(defalias 'SYMBOL$0 'DEFINITION &optional DOCSTRING) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defconst b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defconst deleted file mode 100644 index f8b3749..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defconst +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: defconst -# -- -(defconst ${1:var} ${2:`(or % "value")`} - $>"${3:TODO}") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defcustom b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defcustom deleted file mode 100644 index 865cf39..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defcustom +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: defcustom -# -- -(defcustom $1 ${2:VALUE} "${3:doc}" $4) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/define-key b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/define-key deleted file mode 100644 index 6f0126b..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/define-key +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: define-key -# key: dk -# uuid: dk -# -- -(define-key ${1:keymap} ${2:key} ${0:fn}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defsubst b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defsubst deleted file mode 100644 index db7c62f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defsubst +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: defsubst -# key: defsubst -# uuid: defsubst -# -- -(defsubst $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defvar b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defvar deleted file mode 100644 index 96647f7..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defvar +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: defvar -# -- -(defvar ${1:var} ${2:`(or % "value")`} - $>"${3:TODO}") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-char b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-char deleted file mode 100644 index b003ee4..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-char +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: delete-char -# key: delete-char -# uuid: delete-char -# key: dc -# -- -(delete-char $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-directory b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-directory deleted file mode 100644 index 3cd42e4..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-directory +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: delete-directory -# key: delete-directory -# uuid: delete-directory -# key: dd -# -- -(delete-directory $0 &optional RECURSIVE) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-file b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-file deleted file mode 100644 index 3d280ec..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-file +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: delete-file -# key: delete-file -# uuid: delete-file -# key: df -# -- -(delete-file $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-region b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-region deleted file mode 100644 index 8df1afa..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-region +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: delete-region -# key: delete-region -# uuid: delete-region -# key: dr -# -- -(delete-region $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/directory-files b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/directory-files deleted file mode 100644 index 444bb03..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/directory-files +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: directory-files -# key: directory-files -# uuid: directory-files -# key: df -# -- -(directory-files $0 &optional FULL MATCH NOSORT) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/dired.process_marked b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/dired.process_marked deleted file mode 100644 index ec2df13..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/dired.process_marked +++ /dev/null @@ -1,17 +0,0 @@ -# -*- mode: snippet -*- -# name: process marked files in dired -# contributor: Xah Lee -# -- -;; idiom for processing a list of files in dired's marked files - -;; suppose myProcessFile is your function that takes a file path -;; and do some processing on the file - -(defun dired-myProcessFile () - "apply myProcessFile function to marked files in dired." - (interactive) - (require 'dired) - (mapc 'myProcessFile (dired-get-marked-files)) -) - -;; to use it, type M-x dired-myProcessFile diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/end-of-line b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/end-of-line deleted file mode 100644 index e01053d..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/end-of-line +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: end-of-line -# key: end-of-line -# uuid: end-of-line -# key: eol -# -- -(end-of-line) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/eq b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/eq deleted file mode 100644 index 704f6a3..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/eq +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: eq -# key: eq -# uuid: eq -# -- -(eq $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/equal b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/equal deleted file mode 100644 index 2387712..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/equal +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: equal -# key: equal -# uuid: equal -# -- -(equal $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/error b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/error deleted file mode 100644 index 5f8d3c7..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/error +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: error -# key: error -# uuid: error -# -- -(error "$0" &optional ARGS) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/expand-file-name b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/expand-file-name deleted file mode 100644 index fee7367..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/expand-file-name +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: expand-file-name -# -- -(expand-file-name $0${1: ${2:default-directory}}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/fboundp b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/fboundp deleted file mode 100644 index af9d098..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/fboundp +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: fboundp -# -- -(fboundp '$0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-directory b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-directory deleted file mode 100644 index f899866..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-directory +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: file-name-directory -# key: file-name-directory -# uuid: file-name-directory -# key: fnd -# -- -(file-name-directory $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-extension b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-extension deleted file mode 100644 index 8e2665f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-extension +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: file-name-extension -# -- -(file-name-extension $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-nondirectory b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-nondirectory deleted file mode 100644 index a637eb7..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-nondirectory +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: file-name-nondirectory -# key: file-name-nondirectory -# uuid: file-name-nondirectory -# key: fnn -# -- -(file-name-nondirectory $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-sans-extension b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-sans-extension deleted file mode 100644 index c97007c..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-sans-extension +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: file-name-sans-extension -# key: file-name-sans-extension -# uuid: file-name-sans-extension -# key: fnse -# -- -(file-name-sans-extension $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-relative-name b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-relative-name deleted file mode 100644 index 634caaf..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-relative-name +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: file-relative-name -# key: file-relative-name -# uuid: file-relative-name -# key: frn -# -- -(file-relative-name $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.process b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.process deleted file mode 100644 index cbf0563..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.process +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: a function that process a file -# contributor: Xah Lee -# -- -(defun doThisFile (fpath) - "Process the file at path FPATH ..." - (let () - ;; create temp buffer without undo record or font lock. (more efficient) - ;; first space in temp buff name is necessary - (set-buffer (get-buffer-create " myTemp")) - (insert-file-contents fpath nil nil nil t) - - ;; process it ... - ;; (goto-char 0) ; move to begining of file's content (in case it was open) - ;; ... do something here - ;; (write-file fpath) ;; write back to the file - - (kill-buffer " myTemp"))) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.read-lines b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.read-lines deleted file mode 100644 index 0cf8d25..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.read-lines +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: read lines of a file -# contributor: Xah Lee -# -- -(defun read-lines (filePath) - "Return a list of lines in FILEPATH." - (with-temp-buffer - (insert-file-contents filePath) - (split-string - (buffer-string) "\n" t)) ) - -;; process all lines -(mapc - (lambda (aLine) - (message aLine) ; do your stuff here - ) - (read-lines "inputFilePath") -) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-file b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-file deleted file mode 100644 index 8f74392..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-file +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: find-file -# key: find-file -# uuid: find-file -# key: ff -# -- -(find-file $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-replace b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-replace deleted file mode 100644 index 3372a23..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-replace +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: snippet -*- -# name: find and replace on region -# contributor: Xah Lee -# -- -(defun replace-html-chars-region (start end) - "Replace “<” to “<” and other chars in HTML. -This works on the current region." - (interactive "r") - (save-restriction - (narrow-to-region start end) - (goto-char (point-min)) - (while (search-forward "&" nil t) (replace-match "&" nil t)) - (goto-char (point-min)) - (while (search-forward "<" nil t) (replace-match "<" nil t)) - (goto-char (point-min)) - (while (search-forward ">" nil t) (replace-match ">" nil t)) - ) - ) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/format b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/format deleted file mode 100644 index 993ac1d..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/format +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: format -# -- -(format "$0" $1) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-char b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-char deleted file mode 100644 index c1aa8a0..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-char +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: forward-char -# key: forward-char -# uuid: forward-char -# key: fc -# -- -(forward-char $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-line b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-line deleted file mode 100644 index 79d91ca..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-line +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: forward-line -# key: forward-line -# uuid: forward-line -# key: fl -# -- -(forward-line $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/funcall b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/funcall deleted file mode 100644 index df30971..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/funcall +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: funcall -# key: funcall -# uuid: funcall -# -- -(funcall $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/function b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/function deleted file mode 100644 index db9565a..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/function +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: function -# -- -(function $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/get b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/get deleted file mode 100644 index 1fa0a11..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/get +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: get -# key: get -# uuid: get -# -- -(get SYMBOL$0 PROPNAME) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/global-set-key b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/global-set-key deleted file mode 100644 index 0c9f70e..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/global-set-key +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: global-set-key -# key: global-set-key -# uuid: global-set-key -# key: gsk -# -- -(global-set-key (kbd "C-$0") 'COMMAND) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/goto-char b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/goto-char deleted file mode 100644 index 3eeec19..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/goto-char +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: goto-char -# -- -(goto-char $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabstring b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabstring deleted file mode 100644 index 95f52b6..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabstring +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: grab buffer substring -# contributor: Xah Lee -# -- -(setq $0 (buffer-substring-no-properties myStartPos myEndPos)) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabthing b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabthing deleted file mode 100644 index de0cd3f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabthing +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: grab word under cursor -# contributor: Xah Lee -# -- -(setq $0 (thing-at-point 'symbol)) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let deleted file mode 100644 index 18398b5..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: if-let -# condition: (<= (doom-snippets-count-lines %) 1) -# -- -(if-let* (($1)) $0)`(doom-snippets-newline-or-eol)` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let-2 b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let-2 deleted file mode 100644 index 2adf3e7..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let-2 +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: if-let -# uuid: if-let-2 -# key: if-let -# condition: (> (doom-snippets-count-lines %) 1) -# -- -(if-let (($1)) $0 `(doom-snippets-format "%n%s")`)`(doom-snippets-newline-or-eol)` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert deleted file mode 100644 index ea1a081..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: insert -# key: insert -# uuid: insert -# key: i -# -- -(insert $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert-file-contents b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert-file-contents deleted file mode 100644 index 1fcc121..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert-file-contents +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: insert-file-contents -# key: insert-file-contents -# uuid: insert-file-contents -# key: ifc -# -- -(insert-file-contents $0 &optional VISIT BEG END REPLACE) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/int b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/int deleted file mode 100644 index 3413c41..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/int +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: interactive -# uuid: int -# -- -(interactive)$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/interactive b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/interactive deleted file mode 100644 index 916bc85..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/interactive +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: interactive -# -- -(interactive$1)$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kbd b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kbd deleted file mode 100644 index 50b26c0..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kbd +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: kbd -# -- -(kbd "${0:}") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kill-buffer b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kill-buffer deleted file mode 100644 index 27d0f44..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kill-buffer +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: kill-buffer -# key: kill-buffer -# uuid: kill-buffer -# key: kb -# -- -(kill-buffer $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/lam b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/lam deleted file mode 100644 index 50cf6ff..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/lam +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Henrik Lissner (henrik.io) -# name: lambda shortcut -# key: lam -# uuid: lam -# -- -(λ! $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/length b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/length deleted file mode 100644 index 8f89a17..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/length +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: length -# -- -(length $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-beginning-position b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-beginning-position deleted file mode 100644 index d6f9bcc..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-beginning-position +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: line-beginning-position -# key: line-beginning-position -# uuid: line-beginning-position -# key: lbp -# -- -(line-beginning-position) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-end-position b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-end-position deleted file mode 100644 index 986732b..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-end-position +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: line-end-position -# key: line-end-position -# uuid: line-end-position -# key: lep -# -- -(line-end-position) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/list b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/list deleted file mode 100644 index b19d670..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/list +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: list -# -- -(list $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/looking-at b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/looking-at deleted file mode 100644 index 79d554a..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/looking-at +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: looking-at -# -- -(looking-at $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-directory b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-directory deleted file mode 100644 index 6eec6ff..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-directory +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: make-directory -# key: make-directory -# uuid: make-directory -# key: md -# -- -(make-directory $0 &optional PARENTS) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-hash-table b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-hash-table deleted file mode 100644 index ee3a5e6..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-hash-table +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: hash -# key: mht -# uuid: mht -# -- -(make-hash-table${1: :test '${2:equal}}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-local-variable b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-local-variable deleted file mode 100644 index fea5a14..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-local-variable +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: make-local-variable -# key: make-local-variable -# uuid: make-local-variable -# key: mlv -# -- -(make-local-variable $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapc b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapc deleted file mode 100644 index 4ea1bed..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapc +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: mapc -# -- -(mapc ${1:fn} ${0:list}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapcar b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapcar deleted file mode 100644 index f1ef8e9..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapcar +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: mapcar -# -- -(mapcar ${1:fn} ${0:list}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-beginning b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-beginning deleted file mode 100644 index 6694bb7..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-beginning +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: match-beginning -# key: match-beginning -# uuid: match-beginning -# key: mb -# -- -(match-beginning N$0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-end b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-end deleted file mode 100644 index 9fc2690..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-end +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: match-end -# key: match-end -# uuid: match-end -# key: me -# -- -(match-end N$0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-string b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-string deleted file mode 100644 index c64d45b..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-string +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: match-string -# key: match-string -# uuid: match-string -# key: ms -# -- -(match-string $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/memq b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/memq deleted file mode 100644 index 33fbf30..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/memq +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: memq -# -- -(memq ${0:sym} ${1:list}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/message b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/message deleted file mode 100644 index 76f2650..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/message +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: message -# key: m -# uuid: m -# -- -(message "${1:}"$0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/minor_mode b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/minor_mode deleted file mode 100644 index 214a00c..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/minor_mode +++ /dev/null @@ -1,21 +0,0 @@ -# -*- mode: snippet -*- -# name: minor_mode -# key: minor -# uuid: minor -# -- -(defvar ${1:mode}-modeline-indicator " ${2:INDICATOR}" - "call ($1-install-mode) again if this is changed") - -(defvar $1-mode nil) -(make-variable-buffer-local '$1-mode) -(put '$1-mode 'permanent-local t) - -(defun $1-mode (&optional arg) - "$0" - (interactive "P") - (setq $1-mode - (if (null arg) (not $1-mode) - (> (prefix-numeric-value arg) 0))) - (force-mode-line-update)) - -(provide '$1-mode) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/not b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/not deleted file mode 100644 index 78bec14..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/not +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: not -# -- -(not $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/nth b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/nth deleted file mode 100644 index b8b6351..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/nth +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: nth -# -- -(nth ${0:n} ${1:list}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/optional b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/optional deleted file mode 100644 index 006715b..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/optional +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: &optional ... -# uuid: optional -# -- -&optional $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/or b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/or deleted file mode 100644 index e865ba5..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/or +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: or -# -- -(or $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point deleted file mode 100644 index 55b6623..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: point -# key: pt -# -- -(point) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-max b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-max deleted file mode 100644 index 389a243..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-max +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: point-max -# uuid: point-max -# key: pma -# -- -(point-max) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-min b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-min deleted file mode 100644 index 9bf5c5e..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-min +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: point-min -# uuid: point-min -# key: pmi -# -- -(point-min) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/princ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/princ deleted file mode 100644 index f0c308c..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/princ +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: princ -# key: princ -# uuid: princ -# -- -(princ $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/print b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/print deleted file mode 100644 index 2649da8..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/print +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: print -# key: print -# uuid: print -# -- -(print $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/provide b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/provide deleted file mode 100644 index 374effc..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/provide +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: provide -# -- -(provide '`(file-name-base buffer-file-name)`) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/put b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/put deleted file mode 100644 index 0f8b96f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/put +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: put -# key: put -# uuid: put -# -- -(put $0 PROPNAME VALUE) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-backward b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-backward deleted file mode 100644 index eb3f210..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-backward +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: re-search-backward -# key: re-search-backward -# uuid: re-search-backward -# key: rsb -# -- -(re-search-backward REGEXP$0 &optional BOUND NOERROR COUNT) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-forward b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-forward deleted file mode 100644 index 970b23e..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-forward +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: re-search-forward -# key: re-search-forward -# uuid: re-search-forward -# key: rsf -# -- -(re-search-forward REGEXP$0 &optional BOUND NOERROR COUNT) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-active-p b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-active-p deleted file mode 100644 index d696b97..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-active-p +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: region-active-p -# key: region-active-p -# uuid: region-active-p -# key: rap -# -- -(region-active-p) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-beginning b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-beginning deleted file mode 100644 index 8c06c3f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-beginning +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: region-beginning -# key: region-beginning -# uuid: region-beginning -# key: rb -# -- -(region-beginning) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-end b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-end deleted file mode 100644 index 1ab4f60..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-end +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: region-end -# key: region-end -# uuid: region-end -# key: re -# -- -(region-end) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rename-file b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rename-file deleted file mode 100644 index e61ee95..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rename-file +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: rename-file -# key: rename-file -# uuid: rename-file -# key: rf -# -- -(rename-file FILE$0 NEWNAME &optional OK-IF-ALREADY-EXISTS) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/repeat b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/repeat deleted file mode 100644 index 754fd26..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/repeat +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: repeat -# key: repeat -# uuid: repeat -# -- -(repeat $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp deleted file mode 100644 index b2a78aa..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: replace-regexp -# key: replace-regexp -# uuid: replace-regexp -# key: rr -# -- -(replace-regexp REGEXP$0 TO-STRING &optional DELIMITED START END) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp-in-string b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp-in-string deleted file mode 100644 index 4648f3d..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp-in-string +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: replace-regexp-in-string -# key: replace-regexp-in-string -# uuid: replace-regexp-in-string -# key: rris -# -- -(replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/require b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/require deleted file mode 100644 index eed355f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/require +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: require -# -- -(require '${1:package}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rest b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rest deleted file mode 100644 index af50300..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rest +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: &rest ... -# -- -&rest $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/save-buffer b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/save-buffer deleted file mode 100644 index 0f7df36..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/save-buffer +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: save-buffer -# key: save-buffer -# uuid: save-buffer -# key: sb -# -- -(save-buffer $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward deleted file mode 100644 index 9ef33cc..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: search-backward -# key: search-backward -# uuid: search-backward -# key: sb -# -- -(search-backward "$0" &optional BOUND NOERROR COUNT) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward-regexp b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward-regexp deleted file mode 100644 index 43f4bb1..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward-regexp +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: search-backward-regexp -# key: search-backward-regexp -# uuid: search-backward-regexp -# key: sbr -# -- -(search-backward-regexp "$0" &optional BOUND NOERROR COUNT) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward deleted file mode 100644 index cb20dd2..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: search-forward -# key: search-forward -# uuid: search-forward -# key: sf -# -- -(search-forward "$0" &optional BOUND NOERROR COUNT) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward-regexp b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward-regexp deleted file mode 100644 index e70e3cb..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward-regexp +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: search-forward-regexp -# key: search-forward-regexp -# uuid: search-forward-regexp -# key: sfr -# -- -(search-forward-regexp "$0" &optional BOUND NOERROR COUNT) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set deleted file mode 100644 index c6f34aa..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: set -# key: set -# uuid: set -# -- -(set $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-buffer b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-buffer deleted file mode 100644 index b8692a9..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-buffer +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: set-buffer -# key: set-buffer -# uuid: set-buffer -# key: sb -# -- -(set-buffer $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-file-modes b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-file-modes deleted file mode 100644 index bc3aa1e..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-file-modes +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: set-file-modes -# key: set-file-modes -# uuid: set-file-modes -# key: sfm -# -- -(set-file-modes $0 MODE) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-mark b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-mark deleted file mode 100644 index 245cea9..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-mark +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: set-mark -# key: set-mark -# uuid: set-mark -# key: sm -# -- -(set-mark $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq deleted file mode 100644 index 8dcb8c4..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: setq -# -- -(setq ${1:var} ${0:}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq-default b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq-default deleted file mode 100644 index c69fe3a..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq-default +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: setq-default -# key: setqd -# uuid: setqd -# -- -(setq-default ${1:} ${0:value}) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-backward b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-backward deleted file mode 100644 index c51cc5e..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-backward +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: skip-chars-backward -# key: skip-chars-backward -# uuid: skip-chars-backward -# key: scb -# -- -(skip-chars-backward "$0" &optional LIM) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-forward b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-forward deleted file mode 100644 index e3a6b00..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-forward +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: skip-chars-forward -# key: skip-chars-forward -# uuid: skip-chars-forward -# key: scf -# -- -(skip-chars-forward "$0" &optional LIM) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/split-string b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/split-string deleted file mode 100644 index 9a59963..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/split-string +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: split-string -# key: split-string -# uuid: split-string -# key: ss -# -- -(split-string $0 &optional SEPARATORS OMIT-NULLS) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string deleted file mode 100644 index b102d6e..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: string -# key: string -# uuid: string -# -- -(string $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match deleted file mode 100644 index 67ae912..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: string-match -# -- -(string-match "${0:regexp}" ${1:string}${2: ${3:START}}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match-p b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match-p deleted file mode 100644 index d7ab230..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match-p +++ /dev/null @@ -1,4 +0,0 @@ -# -*- mode: snippet -*- -# name: string-match-p -# -- -(string-match-p "${0:regexp}" ${1:string}${2: ${3:START}}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-to-number b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-to-number deleted file mode 100644 index 3a108bd..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-to-number +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: string-to-number -# key: stn -# uuid: stn -# -- -(string-to-number "$0") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string= b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string= deleted file mode 100644 index c6d2743..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string= +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: string= -# key: string= -# uuid: string= -# -- -(string= ${1:} ${2:str}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/stringp b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/stringp deleted file mode 100644 index 7827762..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/stringp +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: stringp -# key: stringp -# uuid: stringp -# -- -(stringp $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/substring b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/substring deleted file mode 100644 index 0df2462..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/substring +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: substring -# key: substring -# uuid: substring -# -- -(substring STRING$0 FROM &optional TO) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/thing-at-point b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/thing-at-point deleted file mode 100644 index eb0ef1b..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/thing-at-point +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: thing-at-point -# key: thing-at-point -# uuid: thing-at-point -# key: tap -# -- -(thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ... \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/traverse_dir b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/traverse_dir deleted file mode 100644 index 1bf675f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/traverse_dir +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: traversing a directory -# contributor: Xah Lee -# -- -;; apply a function to all files in a dir -(require 'find-lisp) -(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$")) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/use-package b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/use-package deleted file mode 100644 index 3c1bbba..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/use-package +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: use-package -# key: up -# uuid: up -# -- -(use-package ${1:package} - :${2:config} - $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/vector b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/vector deleted file mode 100644 index af13f98..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/vector +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: vector -# key: vector -# uuid: vector -# key: v -# -- -(vector $0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/widget-get b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/widget-get deleted file mode 100644 index e74471a..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/widget-get +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: widget-get -# key: widget-get -# uuid: widget-get -# key: wg -# -- -(widget-get $0 ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word-or-region b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word-or-region deleted file mode 100644 index e2cadda..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word-or-region +++ /dev/null @@ -1,28 +0,0 @@ -# -*- mode: snippet -*- -# name: Command that works on region or word -# contributor: Xah Lee -# -- -;; example of a command that works on current word or text selection -(defun down-case-word-or-region () - "Lower case the current word or text selection." -(interactive) -(let (pos1 pos2 meat) - (if (and transient-mark-mode mark-active) - (setq pos1 (region-beginning) - pos2 (region-end)) - (setq pos1 (car (bounds-of-thing-at-point 'symbol)) - pos2 (cdr (bounds-of-thing-at-point 'symbol)))) - - ; now, pos1 and pos2 are the starting and ending positions - ; of the current word, or current text selection if exists - - ;; put your code here. - $0 - ;; Some example of things you might want to do - (downcase-region pos1 pos2) ; example of a func that takes region as args - (setq meat (buffer-substring-no-properties pos1 pos2)) ; grab the text. - (delete-region pos1 pos2) ; get rid of it - (insert "newText") ; insert your new text - - ) -) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word_regexp b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word_regexp deleted file mode 100644 index c94419d..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word_regexp +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: word_regexp -# key: < -# uuid: < -# -- -"\\_<${1:word}\\_>" \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-dired.process_marked b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-dired.process_marked deleted file mode 100644 index 81becbd..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-dired.process_marked +++ /dev/null @@ -1,19 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: process marked files in dired -# key: x-dired -# uuid: x-dired -# -- -;; idiom for processing a list of files in dired's marked files - -;; suppose myProcessFile is your function that takes a file path -;; and do some processing on the file - -(defun dired-myProcessFile () - "apply myProcessFile function to marked files in dired." - (interactive) - (require 'dired) - (mapc 'myProcessFile (dired-get-marked-files)) -) - -;; to use it, type M-x dired-myProcessFile \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.process b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.process deleted file mode 100644 index ec6870a..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.process +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: a function that process a file -# key: x-file -# uuid: x-file -# -- -(defun doThisFile (fpath) - "Process the file at path FPATH ..." - (let () - ;; create temp buffer without undo record or font lock. (more efficient) - ;; first space in temp buff name is necessary - (set-buffer (get-buffer-create " myTemp")) - (insert-file-contents fpath nil nil nil t) - - ;; process it ... - ;; (goto-char 0) ; move to begining of file's content (in case it was open) - ;; ... do something here - ;; (write-file fpath) ;; write back to the file - - (kill-buffer " myTemp"))) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.read-lines b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.read-lines deleted file mode 100644 index 0b034a1..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.read-lines +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: read lines of a file -# key: x-file -# uuid: x-file -# -- -(defun read-lines (filePath) - "Return a list of lines in FILEPATH." - (with-temp-buffer - (insert-file-contents filePath) - (split-string - (buffer-string) "\n" t)) ) - -;; process all lines -(mapc - (lambda (aLine) - (message aLine) ; do your stuff here - ) - (read-lines "inputFilePath") -) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-find-replace b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-find-replace deleted file mode 100644 index 8aadfc9..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-find-replace +++ /dev/null @@ -1,20 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: find and replace on region -# key: x-find-replace -# uuid: x-find-replace -# -- -(defun replace-html-chars-region (start end) - "Replace “<” to “<” and other chars in HTML. -This works on the current region." - (interactive "r") - (save-restriction - (narrow-to-region start end) - (goto-char (point-min)) - (while (search-forward "&" nil t) (replace-match "&" nil t)) - (goto-char (point-min)) - (while (search-forward "<" nil t) (replace-match "<" nil t)) - (goto-char (point-min)) - (while (search-forward ">" nil t) (replace-match ">" nil t)) - ) - ) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabstring b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabstring deleted file mode 100644 index 4a5c008..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabstring +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: grab buffer substring -# key: x-grabstring -# uuid: x-grabstring -# -- -(setq $0 (buffer-substring-no-properties myStartPos myEndPos)) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabthing b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabthing deleted file mode 100644 index f59a37d..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabthing +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: grab word under cursor -# key: x-grabthing -# uuid: x-grabthing -# -- -(setq $0 (thing-at-point 'symbol)) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-traverse_dir b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-traverse_dir deleted file mode 100644 index 57c487d..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-traverse_dir +++ /dev/null @@ -1,9 +0,0 @@ -# -*- mode: snippet -*- -# name: traversing a directory -# contributor: Xah Lee (XahLee.org) -# key: x-traverse_dir -# uuid: x-traverse_dir -# -- -;; apply a function to all files in a dir -(require 'find-lisp) -(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$")) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-word-or-region b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-word-or-region deleted file mode 100644 index 846c59f..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-word-or-region +++ /dev/null @@ -1,30 +0,0 @@ -# -*- mode: snippet -*- -# contributor: Xah Lee (XahLee.org) -# name: Command that works on region or word -# key: x-word-or-region -# uuid: x-word-or-region -# -- -;; example of a command that works on current word or text selection -(defun down-case-word-or-region () - "Lower case the current word or text selection." -(interactive) -(let (pos1 pos2 meat) - (if (and transient-mark-mode mark-active) - (setq pos1 (region-beginning) - pos2 (region-end)) - (setq pos1 (car (bounds-of-thing-at-point 'symbol)) - pos2 (cdr (bounds-of-thing-at-point 'symbol)))) - - ; now, pos1 and pos2 are the starting and ending positions - ; of the current word, or current text selection if exists - - ;; put your code here. - $0 - ;; Some example of things you might want to do - (downcase-region pos1 pos2) ; example of a func that takes region as args - (setq meat (buffer-substring-no-properties pos1 pos2)) ; grab the text. - (delete-region pos1 pos2) ; get rid of it - (insert "newText") ; insert your new text - - ) -) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/y-or-n-p b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/y-or-n-p deleted file mode 100644 index c47d287..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/y-or-n-p +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: y-or-n-p -# key: yn -# -- -(y-or-n-p "$1") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/yes-or-no-p b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/yes-or-no-p deleted file mode 100644 index fb2b64b..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/yes-or-no-p +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: y-or-n-p -# key: yesno -# -- -(yes-or-no-p "$1") \ No newline at end of file -- cgit v1.2.3-13-gbd6f