From 91c8da0e835a83afef27f707f16ec6c24c30430b Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 23 Jul 2021 21:36:29 +0100 Subject: (Emacs)+snippets from doom-snippet and removed default package I've re-enabled yasnippet for ease of use, and added a ton of snippets directly into my Dotfiles so only I get to curate what snippets are removed. Screw downloading them off someone else's repository at their total mercy. --- .../yasnippet/snippets/c++-mode/.yas-parents | 1 + .../.config/yasnippet/snippets/c++-mode/accumulate | 5 ++++ .../snippets/c++-mode/accumulate-with-closure | 7 +++++ .../yasnippet/snippets/c++-mode/adjacent_find | 8 ++++++ .../.config/yasnippet/snippets/c++-mode/all_of | 9 +++++++ .../.config/yasnippet/snippets/c++-mode/any_of | 9 +++++++ .../.config/yasnippet/snippets/c++-mode/assert | 4 +++ .../.config/yasnippet/snippets/c++-mode/beginend | 6 +++++ .../yasnippet/snippets/c++-mode/boost_require | 8 ++++++ .../.config/yasnippet/snippets/c++-mode/class | 9 +++++++ .../.config/yasnippet/snippets/c++-mode/const_[] | 9 +++++++ .../yasnippet/snippets/c++-mode/constructor | 8 ++++++ .../emacs/.config/yasnippet/snippets/c++-mode/copy | 5 ++++ .../yasnippet/snippets/c++-mode/copy_backward | 5 ++++ .../.config/yasnippet/snippets/c++-mode/copy_if | 8 ++++++ .../.config/yasnippet/snippets/c++-mode/copy_n | 5 ++++ .../yasnippet/snippets/c++-mode/copy_ostream_iter | 7 +++++ .../.config/yasnippet/snippets/c++-mode/count | 5 ++++ .../.config/yasnippet/snippets/c++-mode/count_if | 7 +++++ .../emacs/.config/yasnippet/snippets/c++-mode/cstd | 6 +++++ .../emacs/.config/yasnippet/snippets/c++-mode/d+= | 6 +++++ .../.config/yasnippet/snippets/c++-mode/d_operator | 6 +++++ .../yasnippet/snippets/c++-mode/d_operator[] | 6 +++++ .../yasnippet/snippets/c++-mode/d_operator[]_const | 6 +++++ .../yasnippet/snippets/c++-mode/d_operator_istream | 5 ++++ .../yasnippet/snippets/c++-mode/d_operator_ostream | 5 ++++ .../.config/yasnippet/snippets/c++-mode/delete | 6 +++++ .../.config/yasnippet/snippets/c++-mode/delete[] | 6 +++++ .../emacs/.config/yasnippet/snippets/c++-mode/doc | 8 ++++++ .../yasnippet/snippets/c++-mode/dynamic_casting | 6 +++++ .../emacs/.config/yasnippet/snippets/c++-mode/enum | 4 +++ .../.config/yasnippet/snippets/c++-mode/equal | 7 +++++ .../.config/yasnippet/snippets/c++-mode/erase | 5 ++++ .../snippets/c++-mode/erase_find_last_not_of | 5 ++++ .../emacs/.config/yasnippet/snippets/c++-mode/fill | 5 ++++ .../.config/yasnippet/snippets/c++-mode/fill_n | 5 ++++ .../emacs/.config/yasnippet/snippets/c++-mode/fin | 11 ++++++++ .../emacs/.config/yasnippet/snippets/c++-mode/find | 8 ++++++ .../.config/yasnippet/snippets/c++-mode/find_end | 11 ++++++++ .../yasnippet/snippets/c++-mode/find_first_of | 11 ++++++++ .../.config/yasnippet/snippets/c++-mode/find_if | 10 ++++++++ .../.config/yasnippet/snippets/c++-mode/fixture | 10 ++++++++ .../.config/yasnippet/snippets/c++-mode/for_each | 7 +++++ .../.config/yasnippet/snippets/c++-mode/for_iter | 8 ++++++ .../.config/yasnippet/snippets/c++-mode/friend | 6 +++++ .../yasnippet/snippets/c++-mode/fun_declaration | 6 +++++ .../.config/yasnippet/snippets/c++-mode/function | 6 +++++ .../.config/yasnippet/snippets/c++-mode/generate | 7 +++++ .../.config/yasnippet/snippets/c++-mode/generate_n | 7 +++++ .../.config/yasnippet/snippets/c++-mode/gtest | 7 +++++ .../.config/yasnippet/snippets/c++-mode/ignore | 6 +++++ .../.config/yasnippet/snippets/c++-mode/include | 5 ++++ .../yasnippet/snippets/c++-mode/include_iostream | 6 +++++ .../yasnippet/snippets/c++-mode/include_sstream | 6 +++++ .../yasnippet/snippets/c++-mode/include_string | 6 +++++ .../.config/yasnippet/snippets/c++-mode/inline | 6 +++++ .../emacs/.config/yasnippet/snippets/c++-mode/iota | 5 ++++ .../.config/yasnippet/snippets/c++-mode/is_heap | 7 +++++ .../yasnippet/snippets/c++-mode/is_heap_until | 8 ++++++ .../yasnippet/snippets/c++-mode/is_partitioned | 9 +++++++ .../yasnippet/snippets/c++-mode/is_permutation | 7 +++++ .../.config/yasnippet/snippets/c++-mode/is_sorted | 7 +++++ .../yasnippet/snippets/c++-mode/is_sorted_until | 8 ++++++ .../.config/yasnippet/snippets/c++-mode/iterator | 6 +++++ .../.config/yasnippet/snippets/c++-mode/lambda | 5 ++++ .../snippets/c++-mode/lexigraphical_compare | 7 +++++ .../.config/yasnippet/snippets/c++-mode/make_heap | 5 ++++ .../emacs/.config/yasnippet/snippets/c++-mode/map | 6 +++++ .../yasnippet/snippets/c++-mode/max_element | 5 ++++ .../yasnippet/snippets/c++-mode/member_function | 8 ++++++ .../.config/yasnippet/snippets/c++-mode/merge | 6 +++++ .../yasnippet/snippets/c++-mode/min_element | 5 ++++ .../yasnippet/snippets/c++-mode/minmax_element | 5 ++++ .../.config/yasnippet/snippets/c++-mode/mismatch | 10 ++++++++ .../.config/yasnippet/snippets/c++-mode/module | 9 +++++++ .../yasnippet/snippets/c++-mode/move_backward | 5 ++++ .../.config/yasnippet/snippets/c++-mode/namespace | 6 +++++ .../yasnippet/snippets/c++-mode/namespace_block | 7 +++++ .../yasnippet/snippets/c++-mode/next_permutation | 7 +++++ .../.config/yasnippet/snippets/c++-mode/none_of | 9 +++++++ .../yasnippet/snippets/c++-mode/nth_element | 5 ++++ .../.config/yasnippet/snippets/c++-mode/operator!= | 9 +++++++ .../.config/yasnippet/snippets/c++-mode/operator+ | 12 +++++++++ .../.config/yasnippet/snippets/c++-mode/operator+= | 11 ++++++++ .../.config/yasnippet/snippets/c++-mode/operator= | 14 ++++++++++ .../.config/yasnippet/snippets/c++-mode/operator== | 9 +++++++ .../.config/yasnippet/snippets/c++-mode/operator[] | 10 ++++++++ .../yasnippet/snippets/c++-mode/operator_istream | 10 ++++++++ .../yasnippet/snippets/c++-mode/operator_ostream | 11 ++++++++ .../.config/yasnippet/snippets/c++-mode/ostream | 6 +++++ .../emacs/.config/yasnippet/snippets/c++-mode/pack | 10 ++++++++ .../yasnippet/snippets/c++-mode/partial_sort | 5 ++++ .../yasnippet/snippets/c++-mode/partial_sort_copy | 6 +++++ .../.config/yasnippet/snippets/c++-mode/partition | 10 ++++++++ .../yasnippet/snippets/c++-mode/partition_copy | 6 +++++ .../yasnippet/snippets/c++-mode/partition_point | 10 ++++++++ .../yasnippet/snippets/c++-mode/prev_permutation | 7 +++++ .../.config/yasnippet/snippets/c++-mode/private | 6 +++++ .../.config/yasnippet/snippets/c++-mode/protected | 6 +++++ .../.config/yasnippet/snippets/c++-mode/public | 6 +++++ .../.config/yasnippet/snippets/c++-mode/push_heap | 5 ++++ .../yasnippet/snippets/c++-mode/random_shuffle | 5 ++++ .../.config/yasnippet/snippets/c++-mode/remove | 8 ++++++ .../yasnippet/snippets/c++-mode/remove_copy | 6 +++++ .../yasnippet/snippets/c++-mode/remove_copy_if | 9 +++++++ .../.config/yasnippet/snippets/c++-mode/remove_if | 10 ++++++++ .../.config/yasnippet/snippets/c++-mode/replace | 5 ++++ .../yasnippet/snippets/c++-mode/replace_copy | 5 ++++ .../yasnippet/snippets/c++-mode/replace_copy_if | 12 +++++++++ .../.config/yasnippet/snippets/c++-mode/replace_if | 11 ++++++++ .../.config/yasnippet/snippets/c++-mode/reverse | 5 ++++ .../yasnippet/snippets/c++-mode/reverse_copy | 5 ++++ .../.config/yasnippet/snippets/c++-mode/rotate | 5 ++++ .../yasnippet/snippets/c++-mode/rotate_copy | 5 ++++ .../.config/yasnippet/snippets/c++-mode/search | 9 +++++++ .../.config/yasnippet/snippets/c++-mode/search_n | 8 ++++++ .../emacs/.config/yasnippet/snippets/c++-mode/sort | 5 ++++ .../.config/yasnippet/snippets/c++-mode/sort_heap | 5 ++++ .../yasnippet/snippets/c++-mode/stable_partition | 10 ++++++++ .../yasnippet/snippets/c++-mode/stable_sort | 5 ++++ .../emacs/.config/yasnippet/snippets/c++-mode/std | 6 +++++ .../.config/yasnippet/snippets/c++-mode/std_colon | 6 +++++ .../yasnippet/snippets/c++-mode/swap_ranges | 5 ++++ .../.config/yasnippet/snippets/c++-mode/template | 7 +++++ .../.config/yasnippet/snippets/c++-mode/test-case | 10 ++++++++ .../.config/yasnippet/snippets/c++-mode/test_main | 10 ++++++++ .../.config/yasnippet/snippets/c++-mode/test_suite | 11 ++++++++ .../emacs/.config/yasnippet/snippets/c++-mode/this | 4 +++ .../.config/yasnippet/snippets/c++-mode/throw | 6 +++++ .../.config/yasnippet/snippets/c++-mode/transform | 9 +++++++ .../snippets/c++-mode/transform-with-closure | 7 +++++ .../snippets/c++-mode/transform_lowercase | 7 +++++ .../.config/yasnippet/snippets/c++-mode/trim_left | 5 ++++ .../emacs/.config/yasnippet/snippets/c++-mode/try | 8 ++++++ .../emacs/.config/yasnippet/snippets/c++-mode/tryw | 10 ++++++++ .../.config/yasnippet/snippets/c++-mode/unique | 5 ++++ .../yasnippet/snippets/c++-mode/unique_copy | 6 +++++ .../.config/yasnippet/snippets/c++-mode/using | 6 +++++ .../.config/yasnippet/snippets/c-mode/.yas-parents | 1 + .../emacs/.config/yasnippet/snippets/c-mode/assert | 7 +++++ .../.config/yasnippet/snippets/c-mode/compile | 6 +++++ .../emacs/.config/yasnippet/snippets/c-mode/define | 6 +++++ .../emacs/.config/yasnippet/snippets/c-mode/malloc | 7 +++++ .../emacs/.config/yasnippet/snippets/c-mode/packed | 6 +++++ .../emacs/.config/yasnippet/snippets/c-mode/printf | 6 +++++ .../emacs/.config/yasnippet/snippets/c-mode/stdio | 4 +++ .../emacs/.config/yasnippet/snippets/c-mode/stdlib | 4 +++ .../emacs/.config/yasnippet/snippets/c-mode/string | 4 +++ .../emacs/.config/yasnippet/snippets/c-mode/switch | 10 ++++++++ .../emacs/.config/yasnippet/snippets/c-mode/union | 8 ++++++ .../emacs/.config/yasnippet/snippets/c-mode/unistd | 6 +++++ .../emacs/.config/yasnippet/snippets/cc-mode/do | 6 +++++ .../emacs/.config/yasnippet/snippets/cc-mode/else | 6 +++++ .../.config/yasnippet/snippets/cc-mode/elseif | 6 +++++ .../emacs/.config/yasnippet/snippets/cc-mode/fopen | 5 ++++ .../emacs/.config/yasnippet/snippets/cc-mode/for | 8 ++++++ .../emacs/.config/yasnippet/snippets/cc-mode/if | 8 ++++++ .../emacs/.config/yasnippet/snippets/cc-mode/ifdef | 10 ++++++++ .../emacs/.config/yasnippet/snippets/cc-mode/inc | 4 +++ .../emacs/.config/yasnippet/snippets/cc-mode/incc | 4 +++ .../emacs/.config/yasnippet/snippets/cc-mode/main | 7 +++++ .../emacs/.config/yasnippet/snippets/cc-mode/once | 11 ++++++++ .../.config/yasnippet/snippets/cc-mode/struct | 8 ++++++ .../.config/yasnippet/snippets/cc-mode/switch | 6 +++++ .../.config/yasnippet/snippets/cc-mode/ternary | 6 +++++ .../.config/yasnippet/snippets/cc-mode/typedef | 4 +++ .../emacs/.config/yasnippet/snippets/cc-mode/while | 6 +++++ .../yasnippet/snippets/csharp-mode/.yas-parents | 1 + .../.config/yasnippet/snippets/csharp-mode/attrib | 10 ++++++++ .../yasnippet/snippets/csharp-mode/attrib.1 | 24 +++++++++++++++++ .../yasnippet/snippets/csharp-mode/attrib.2 | 24 +++++++++++++++++ .../.config/yasnippet/snippets/csharp-mode/class | 24 +++++++++++++++++ .../.config/yasnippet/snippets/csharp-mode/comment | 9 +++++++ .../yasnippet/snippets/csharp-mode/comment.1 | 7 +++++ .../yasnippet/snippets/csharp-mode/comment.2 | 7 +++++ .../yasnippet/snippets/csharp-mode/comment.3 | 7 +++++ .../.config/yasnippet/snippets/csharp-mode/method | 13 ++++++++++ .../yasnippet/snippets/csharp-mode/namespace | 10 ++++++++ .../.config/yasnippet/snippets/csharp-mode/prop | 19 ++++++++++++++ .../.config/yasnippet/snippets/csharp-mode/region | 9 +++++++ .../.config/yasnippet/snippets/csharp-mode/using | 7 +++++ .../.config/yasnippet/snippets/csharp-mode/using.1 | 7 +++++ .../.config/yasnippet/snippets/csharp-mode/using.2 | 7 +++++ .../.config/yasnippet/snippets/css-mode/importfont | 6 +++++ .../.config/yasnippet/snippets/css-mode/margin | 6 +++++ .../.config/yasnippet/snippets/css-mode/media | 8 ++++++ .../yasnippet/snippets/css-mode/media_orientation | 5 ++++ .../yasnippet/snippets/css-mode/media_print | 6 +++++ .../.config/yasnippet/snippets/css-mode/padding | 6 +++++ .../.config/yasnippet/snippets/css-mode/property | 6 +++++ .../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 ++++ .../.config/yasnippet/snippets/haskell-mode/case | 9 +++++++ .../.config/yasnippet/snippets/haskell-mode/data | 6 +++++ .../.config/yasnippet/snippets/haskell-mode/doc | 8 ++++++ .../yasnippet/snippets/haskell-mode/function | 7 +++++ .../.config/yasnippet/snippets/haskell-mode/import | 6 +++++ .../yasnippet/snippets/haskell-mode/instance | 7 +++++ .../.config/yasnippet/snippets/haskell-mode/main | 6 +++++ .../.config/yasnippet/snippets/haskell-mode/module | 7 +++++ .../yasnippet/snippets/haskell-mode/new-class | 7 +++++ .../.config/yasnippet/snippets/haskell-mode/pragma | 6 +++++ .../.config/yasnippet/snippets/haskell-mode/print | 6 +++++ .../emacs/.config/yasnippet/snippets/html-mode/dd | 6 +++++ .../emacs/.config/yasnippet/snippets/html-mode/dl | 8 ++++++ .../.config/yasnippet/snippets/html-mode/doctype | 5 ++++ .../yasnippet/snippets/html-mode/doctype.xhml1 | 5 ++++ .../yasnippet/snippets/html-mode/doctype.xhtml1_1 | 5 ++++ .../snippets/html-mode/doctype.xhtml1_strict | 5 ++++ .../snippets/html-mode/doctype.xhtml1_transitional | 5 ++++ .../emacs/.config/yasnippet/snippets/html-mode/dt | 6 +++++ .../.config/yasnippet/snippets/html-mode/form | 7 +++++ .../.config/yasnippet/snippets/html-mode/html | 7 +++++ .../yasnippet/snippets/html-mode/html.xmlns | 7 +++++ .../.config/yasnippet/snippets/html-mode/link | 6 +++++ .../.config/yasnippet/snippets/html-mode/linkie | 6 +++++ .../.config/yasnippet/snippets/html-mode/meta | 6 +++++ .../yasnippet/snippets/html-mode/meta.http-equiv | 6 +++++ .../.config/yasnippet/snippets/html-mode/script | 6 +++++ .../.config/yasnippet/snippets/html-mode/scriptsrc | 4 +++ .../.config/yasnippet/snippets/html-mode/textarea | 5 ++++ .../emacs/.config/yasnippet/snippets/html-mode/th | 6 +++++ .../yasnippet/snippets/java-mode/.yas-parents | 1 + .../.config/yasnippet/snippets/java-mode/@param | 7 +++++ .../.config/yasnippet/snippets/java-mode/@return | 7 +++++ .../yasnippet/snippets/java-mode/apr_assert | 8 ++++++ .../.config/yasnippet/snippets/java-mode/class | 8 ++++++ .../yasnippet/snippets/java-mode/constructor | 8 ++++++ .../emacs/.config/yasnippet/snippets/java-mode/doc | 9 +++++++ .../.config/yasnippet/snippets/java-mode/equals | 8 ++++++ .../yasnippet/snippets/java-mode/file_class | 10 ++++++++ .../emacs/.config/yasnippet/snippets/java-mode/for | 8 ++++++ .../.config/yasnippet/snippets/java-mode/foreach | 8 ++++++ .../emacs/.config/yasnippet/snippets/java-mode/if | 9 +++++++ .../emacs/.config/yasnippet/snippets/java-mode/ife | 10 ++++++++ .../.config/yasnippet/snippets/java-mode/import | 5 ++++ .../.config/yasnippet/snippets/java-mode/interface | 8 ++++++ .../.config/yasnippet/snippets/java-mode/iterator | 8 ++++++ .../.config/yasnippet/snippets/java-mode/javadoc | 9 +++++++ .../.config/yasnippet/snippets/java-mode/main | 8 ++++++ .../.config/yasnippet/snippets/java-mode/method | 9 +++++++ .../.config/yasnippet/snippets/java-mode/method@ | 9 +++++++ .../emacs/.config/yasnippet/snippets/java-mode/new | 6 +++++ .../yasnippet/snippets/java-mode/paintComponent | 9 +++++++ .../.config/yasnippet/snippets/java-mode/printf | 6 +++++ .../.config/yasnippet/snippets/java-mode/println | 6 +++++ .../.config/yasnippet/snippets/java-mode/private | 6 +++++ .../.config/yasnippet/snippets/java-mode/protected | 6 +++++ .../.config/yasnippet/snippets/java-mode/public | 6 +++++ .../.config/yasnippet/snippets/java-mode/return | 7 +++++ .../.config/yasnippet/snippets/java-mode/test | 9 +++++++ .../.config/yasnippet/snippets/java-mode/testClass | 13 ++++++++++ .../.config/yasnippet/snippets/java-mode/this | 6 +++++ .../.config/yasnippet/snippets/java-mode/toString | 8 ++++++ .../emacs/.config/yasnippet/snippets/java-mode/try | 12 +++++++++ .../emacs/.config/yasnippet/snippets/java-mode/var | 7 +++++ .../.config/yasnippet/snippets/java-mode/var= | 7 +++++ .../.config/yasnippet/snippets/java-mode/void | 6 +++++ .../.config/yasnippet/snippets/java-mode/while | 9 +++++++ .../yasnippet/snippets/json-mode/eslintConfig | 19 ++++++++++++++ .../.config/yasnippet/snippets/latex-mode/acronym | 6 +++++ .../yasnippet/snippets/latex-mode/alertblock | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/alg | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/axiom | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/begin | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/bigcap_^ | 10 ++++++++ .../.config/yasnippet/snippets/latex-mode/bigcup_^ | 10 ++++++++ .../.config/yasnippet/snippets/latex-mode/block | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/capgls | 7 +++++ .../.config/yasnippet/snippets/latex-mode/caption | 6 +++++ .../.config/yasnippet/snippets/latex-mode/cite | 7 +++++ .../.config/yasnippet/snippets/latex-mode/code | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/columns | 14 ++++++++++ .../yasnippet/snippets/latex-mode/corollary | 8 ++++++ .../yasnippet/snippets/latex-mode/definition | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/emph | 7 +++++ .../yasnippet/snippets/latex-mode/enumerate | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/exercise | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/figure | 10 ++++++++ .../.config/yasnippet/snippets/latex-mode/frac | 6 +++++ .../.config/yasnippet/snippets/latex-mode/frame | 9 +++++++ .../.config/yasnippet/snippets/latex-mode/gls | 7 +++++ .../.config/yasnippet/snippets/latex-mode/glspl | 6 +++++ .../emacs/.config/yasnippet/snippets/latex-mode/if | 9 +++++++ .../yasnippet/snippets/latex-mode/includegraphics | 6 +++++ .../.config/yasnippet/snippets/latex-mode/int_^ | 9 +++++++ .../.config/yasnippet/snippets/latex-mode/item | 7 +++++ .../.config/yasnippet/snippets/latex-mode/itemize | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/label | 6 +++++ .../.config/yasnippet/snippets/latex-mode/lemma | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/lim | 5 ++++ .../.config/yasnippet/snippets/latex-mode/liminf | 5 ++++ .../.config/yasnippet/snippets/latex-mode/limsup | 5 ++++ .../.config/yasnippet/snippets/latex-mode/listing | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/mathclap | 5 ++++ .../.config/yasnippet/snippets/latex-mode/movie | 16 ++++++++++++ .../yasnippet/snippets/latex-mode/newcommand | 6 +++++ .../yasnippet/snippets/latex-mode/newglossaryentry | 6 +++++ .../.config/yasnippet/snippets/latex-mode/note | 6 +++++ .../.config/yasnippet/snippets/latex-mode/prod_^ | 9 +++++++ .../.config/yasnippet/snippets/latex-mode/proof | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/python | 9 +++++++ .../.config/yasnippet/snippets/latex-mode/question | 7 +++++ .../.config/yasnippet/snippets/latex-mode/remark | 8 ++++++ .../.config/yasnippet/snippets/latex-mode/root | 5 ++++ .../.config/yasnippet/snippets/latex-mode/section | 9 +++++++ .../.config/yasnippet/snippets/latex-mode/sqrt | 5 ++++ .../.config/yasnippet/snippets/latex-mode/subf | 9 +++++++ .../yasnippet/snippets/latex-mode/subfigure | 14 ++++++++++ .../.config/yasnippet/snippets/latex-mode/subsec | 9 +++++++ .../.config/yasnippet/snippets/latex-mode/sum_^ | 9 +++++++ .../.config/yasnippet/snippets/latex-mode/textbf | 7 +++++ .../.config/yasnippet/snippets/latex-mode/theorem | 8 ++++++ .../yasnippet/snippets/latex-mode/usepackage | 6 +++++ .../yasnippet/snippets/lisp-interaction-mode/defun | 8 ++++++ .../.config/yasnippet/snippets/lisp-mode/class | 8 ++++++ .../.config/yasnippet/snippets/lisp-mode/cond | 4 +++ .../yasnippet/snippets/lisp-mode/defpackage | 11 ++++++++ .../emacs/.config/yasnippet/snippets/lisp-mode/do | 10 ++++++++ .../.config/yasnippet/snippets/lisp-mode/format | 4 +++ .../.config/yasnippet/snippets/lisp-mode/slot | 12 +++++++++ .../.config/yasnippet/snippets/lisp-mode/typecast | 5 ++++ .../snippets/makefile-automake-mode/noinst_HEADERS | 6 +++++ .../yasnippet/snippets/makefile-bsdmake-mode/PHONY | 6 +++++ .../yasnippet/snippets/makefile-bsdmake-mode/echo | 6 +++++ .../yasnippet/snippets/makefile-bsdmake-mode/gen | 12 +++++++++ .../yasnippet/snippets/makefile-bsdmake-mode/if | 8 ++++++ .../yasnippet/snippets/makefile-bsdmake-mode/var | 6 +++++ .../snippets/makefile-gmake-mode/patsubst | 4 +++ .../yasnippet/snippets/makefile-gmake-mode/phony | 4 +++ .../snippets/makefile-gmake-mode/wildcard | 4 +++ .../.config/yasnippet/snippets/makefile-mode/all | 7 +++++ .../.config/yasnippet/snippets/markdown-mode/code | 6 +++++ .../.config/yasnippet/snippets/markdown-mode/h1 | 6 +++++ .../.config/yasnippet/snippets/markdown-mode/h2 | 6 +++++ .../.config/yasnippet/snippets/markdown-mode/h3 | 6 +++++ .../.config/yasnippet/snippets/markdown-mode/h4 | 6 +++++ .../.config/yasnippet/snippets/markdown-mode/h5 | 6 +++++ .../.config/yasnippet/snippets/markdown-mode/h6 | 6 +++++ .../.config/yasnippet/snippets/markdown-mode/hr | 7 +++++ .../.config/yasnippet/snippets/markdown-mode/img | 4 +++ .../.config/yasnippet/snippets/markdown-mode/kbd | 4 +++ .../.config/yasnippet/snippets/markdown-mode/link | 4 +++ .../.config/yasnippet/snippets/markdown-mode/ol | 5 ++++ .../.config/yasnippet/snippets/markdown-mode/rimg | 4 +++ .../.config/yasnippet/snippets/markdown-mode/rlb | 6 +++++ .../.config/yasnippet/snippets/markdown-mode/rlink | 4 +++ .../.config/yasnippet/snippets/markdown-mode/utf8 | 5 ++++ .../yasnippet/snippets/org-mode/abstract + toc | 10 -------- .../yasnippet/snippets/python-mode/__contains__ | 8 ++++++ .../yasnippet/snippets/python-mode/__enter__ | 10 ++++++++ .../yasnippet/snippets/python-mode/__exit__ | 8 ++++++ .../yasnippet/snippets/python-mode/__getitem__ | 8 ++++++ .../.config/yasnippet/snippets/python-mode/__len__ | 8 ++++++ .../.config/yasnippet/snippets/python-mode/__new__ | 9 +++++++ .../yasnippet/snippets/python-mode/__setitem__ | 8 ++++++ .../.config/yasnippet/snippets/python-mode/all | 6 +++++ .../.config/yasnippet/snippets/python-mode/arg | 8 ++++++ .../yasnippet/snippets/python-mode/arg_positional | 7 +++++ .../.config/yasnippet/snippets/python-mode/assert | 5 ++++ .../yasnippet/snippets/python-mode/assertEqual | 7 +++++ .../yasnippet/snippets/python-mode/assertFalse | 7 +++++ .../yasnippet/snippets/python-mode/assertIn | 7 +++++ .../yasnippet/snippets/python-mode/assertNotEqual | 7 +++++ .../yasnippet/snippets/python-mode/assertRaises | 5 ++++ .../snippets/python-mode/assertRaises.with | 7 +++++ .../yasnippet/snippets/python-mode/assertTrue | 7 +++++ .../yasnippet/snippets/python-mode/celery_pdb | 7 +++++ .../.config/yasnippet/snippets/python-mode/class | 8 ++++++ .../yasnippet/snippets/python-mode/classmethod | 9 +++++++ .../.config/yasnippet/snippets/python-mode/dec | 15 +++++++++++ .../.config/yasnippet/snippets/python-mode/def | 8 ++++++ .../.config/yasnippet/snippets/python-mode/defm | 8 ++++++ .../.config/yasnippet/snippets/python-mode/doc | 7 +++++ .../.config/yasnippet/snippets/python-mode/doctest | 9 +++++++ .../.config/yasnippet/snippets/python-mode/eq | 8 ++++++ .../.config/yasnippet/snippets/python-mode/for | 8 ++++++ .../.config/yasnippet/snippets/python-mode/from | 7 +++++ .../snippets/python-mode/function_docstring | 11 ++++++++ .../.config/yasnippet/snippets/python-mode/if | 8 ++++++ .../.config/yasnippet/snippets/python-mode/ife | 10 ++++++++ .../.config/yasnippet/snippets/python-mode/ifmain | 5 ++++ .../.config/yasnippet/snippets/python-mode/import | 8 ++++++ .../.config/yasnippet/snippets/python-mode/init | 8 ++++++ .../yasnippet/snippets/python-mode/init_docstring | 11 ++++++++ .../yasnippet/snippets/python-mode/interact | 6 +++++ .../yasnippet/snippets/python-mode/ipdbdebug | 7 +++++ .../.config/yasnippet/snippets/python-mode/iter | 8 ++++++ .../.config/yasnippet/snippets/python-mode/lambda | 6 +++++ .../.config/yasnippet/snippets/python-mode/list | 7 +++++ .../yasnippet/snippets/python-mode/logger_name | 6 +++++ .../.config/yasnippet/snippets/python-mode/logging | 7 +++++ .../.config/yasnippet/snippets/python-mode/main | 7 +++++ .../yasnippet/snippets/python-mode/metaclass | 7 +++++ .../.config/yasnippet/snippets/python-mode/method | 6 +++++ .../snippets/python-mode/method_docstring | 11 ++++++++ .../yasnippet/snippets/python-mode/not_impl | 6 +++++ .../.config/yasnippet/snippets/python-mode/np | 8 ++++++ .../yasnippet/snippets/python-mode/parse_args | 10 ++++++++ .../.config/yasnippet/snippets/python-mode/parser | 8 ++++++ .../.config/yasnippet/snippets/python-mode/pass | 6 +++++ .../.config/yasnippet/snippets/python-mode/print | 6 +++++ .../.config/yasnippet/snippets/python-mode/prop | 18 +++++++++++++ .../.config/yasnippet/snippets/python-mode/reg | 8 ++++++ .../.config/yasnippet/snippets/python-mode/repr | 8 ++++++ .../.config/yasnippet/snippets/python-mode/return | 6 +++++ .../.config/yasnippet/snippets/python-mode/script | 12 +++++++++ .../.config/yasnippet/snippets/python-mode/self | 7 +++++ .../snippets/python-mode/self_without_dot | 7 +++++ .../yasnippet/snippets/python-mode/selfassign | 7 +++++ .../.config/yasnippet/snippets/python-mode/setdef | 6 +++++ .../.config/yasnippet/snippets/python-mode/setup | 15 +++++++++++ .../.config/yasnippet/snippets/python-mode/shebang | 8 ++++++ .../.config/yasnippet/snippets/python-mode/size | 6 +++++ .../.config/yasnippet/snippets/python-mode/static | 8 ++++++ .../.config/yasnippet/snippets/python-mode/str | 8 ++++++ .../.config/yasnippet/snippets/python-mode/super | 7 +++++ .../yasnippet/snippets/python-mode/test_class | 8 ++++++ .../yasnippet/snippets/python-mode/test_file | 13 ++++++++++ .../.config/yasnippet/snippets/python-mode/trace | 7 +++++ .../.config/yasnippet/snippets/python-mode/try | 9 +++++++ .../.config/yasnippet/snippets/python-mode/tryelse | 11 ++++++++ .../.config/yasnippet/snippets/python-mode/unicode | 8 ++++++ .../.config/yasnippet/snippets/python-mode/utf8 | 6 +++++ .../.config/yasnippet/snippets/python-mode/while | 8 ++++++ .../.config/yasnippet/snippets/python-mode/with | 8 ++++++ .../yasnippet/snippets/python-mode/with_statement | 7 +++++ .../.config/yasnippet/snippets/rust-mode/File-open | 6 +++++ .../.config/yasnippet/snippets/rust-mode/None | 6 +++++ .../.config/yasnippet/snippets/rust-mode/Result | 6 +++++ .../.config/yasnippet/snippets/rust-mode/Some | 6 +++++ .../yasnippet/snippets/rust-mode/String_from | 6 +++++ .../yasnippet/snippets/rust-mode/Vec-with_capacity | 6 +++++ .../.config/yasnippet/snippets/rust-mode/allow | 5 ++++ .../.config/yasnippet/snippets/rust-mode/allow! | 5 ++++ .../.config/yasnippet/snippets/rust-mode/arrow | 6 +++++ .../.config/yasnippet/snippets/rust-mode/asref | 10 ++++++++ .../.config/yasnippet/snippets/rust-mode/assert | 6 +++++ .../.config/yasnippet/snippets/rust-mode/assert_eq | 6 +++++ .../.config/yasnippet/snippets/rust-mode/assert_ne | 6 +++++ .../yasnippet/snippets/rust-mode/assignment | 6 +++++ .../.config/yasnippet/snippets/rust-mode/case | 5 ++++ .../emacs/.config/yasnippet/snippets/rust-mode/cfg | 4 +++ .../.config/yasnippet/snippets/rust-mode/cfg= | 4 +++ .../.config/yasnippet/snippets/rust-mode/const | 6 +++++ .../yasnippet/snippets/rust-mode/debug_assert | 6 +++++ .../.config/yasnippet/snippets/rust-mode/deref | 11 ++++++++ .../.config/yasnippet/snippets/rust-mode/deref_mut | 10 ++++++++ .../.config/yasnippet/snippets/rust-mode/derive | 6 +++++ .../.config/yasnippet/snippets/rust-mode/disperror | 16 ++++++++++++ .../.config/yasnippet/snippets/rust-mode/display | 9 +++++++ .../.config/yasnippet/snippets/rust-mode/else | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/elseif | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/enum | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/env-args | 6 +++++ .../.config/yasnippet/snippets/rust-mode/env-var | 6 +++++ .../.config/yasnippet/snippets/rust-mode/eprintln | 6 +++++ .../.config/yasnippet/snippets/rust-mode/error | 11 ++++++++ .../.config/yasnippet/snippets/rust-mode/extern | 8 ++++++ .../yasnippet/snippets/rust-mode/extern-crate | 6 +++++ .../emacs/.config/yasnippet/snippets/rust-mode/fn | 8 ++++++ .../emacs/.config/yasnippet/snippets/rust-mode/for | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/format | 6 +++++ .../.config/yasnippet/snippets/rust-mode/from | 10 ++++++++ .../.config/yasnippet/snippets/rust-mode/fromstr | 12 +++++++++ .../emacs/.config/yasnippet/snippets/rust-mode/if | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/if-let | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/ignore | 6 +++++ .../.config/yasnippet/snippets/rust-mode/impl | 6 +++++ .../yasnippet/snippets/rust-mode/inline-if-else | 6 +++++ .../.config/yasnippet/snippets/rust-mode/iterator | 11 ++++++++ .../.config/yasnippet/snippets/rust-mode/lambda | 6 +++++ .../emacs/.config/yasnippet/snippets/rust-mode/let | 6 +++++ .../.config/yasnippet/snippets/rust-mode/letm | 6 +++++ .../yasnippet/snippets/rust-mode/lifetime-static | 6 +++++ .../.config/yasnippet/snippets/rust-mode/macro | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/main | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/match | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/match-ok | 9 +++++++ .../emacs/.config/yasnippet/snippets/rust-mode/mod | 8 ++++++ .../emacs/.config/yasnippet/snippets/rust-mode/new | 6 +++++ .../.config/yasnippet/snippets/rust-mode/panic | 6 +++++ .../.config/yasnippet/snippets/rust-mode/partial | 10 ++++++++ .../.config/yasnippet/snippets/rust-mode/println | 6 +++++ .../.config/yasnippet/snippets/rust-mode/pub_fn | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/pub_mod | 8 ++++++ .../emacs/.config/yasnippet/snippets/rust-mode/ret | 6 +++++ .../.config/yasnippet/snippets/rust-mode/static | 6 +++++ .../.config/yasnippet/snippets/rust-mode/struct | 8 ++++++ .../yasnippet/snippets/rust-mode/struct_alias | 7 +++++ .../.config/yasnippet/snippets/rust-mode/test | 9 +++++++ .../.config/yasnippet/snippets/rust-mode/testmod | 13 ++++++++++ .../.config/yasnippet/snippets/rust-mode/trait | 8 ++++++ .../.config/yasnippet/snippets/rust-mode/type | 6 +++++ .../.config/yasnippet/snippets/rust-mode/union | 7 +++++ .../emacs/.config/yasnippet/snippets/rust-mode/use | 6 +++++ .../.config/yasnippet/snippets/rust-mode/use-File | 6 +++++ .../yasnippet/snippets/rust-mode/use-HashMap | 6 +++++ .../emacs/.config/yasnippet/snippets/rust-mode/vec | 6 +++++ .../.config/yasnippet/snippets/rust-mode/warn | 5 ++++ .../.config/yasnippet/snippets/rust-mode/warn! | 5 ++++ .../.config/yasnippet/snippets/rust-mode/while-let | 8 ++++++ .../emacs/.config/yasnippet/snippets/scss-mode/@if | 8 ++++++ .../.config/yasnippet/snippets/scss-mode/@mixin | 8 ++++++ .../.config/yasnippet/snippets/scss-mode/@while | 8 ++++++ .../emacs/.config/yasnippet/snippets/scss-mode/abs | 5 ++++ .../yasnippet/snippets/scss-mode/adjust-color | 5 ++++ .../yasnippet/snippets/scss-mode/adjust-hue | 5 ++++ .../.config/yasnippet/snippets/scss-mode/alpha | 5 ++++ .../.config/yasnippet/snippets/scss-mode/append | 5 ++++ .../.config/yasnippet/snippets/scss-mode/blue | 5 ++++ .../.config/yasnippet/snippets/scss-mode/call | 5 ++++ .../.config/yasnippet/snippets/scss-mode/ceil | 5 ++++ .../yasnippet/snippets/scss-mode/change-color | 5 ++++ .../yasnippet/snippets/scss-mode/comparable | 5 ++++ .../yasnippet/snippets/scss-mode/complement | 5 ++++ .../.config/yasnippet/snippets/scss-mode/darken | 5 ++++ .../yasnippet/snippets/scss-mode/desaturate | 5 ++++ .../.config/yasnippet/snippets/scss-mode/each | 6 +++++ .../.config/yasnippet/snippets/scss-mode/else | 6 +++++ .../.config/yasnippet/snippets/scss-mode/elseif | 6 +++++ .../.config/yasnippet/snippets/scss-mode/fade-in | 5 ++++ .../.config/yasnippet/snippets/scss-mode/fade-out | 5 ++++ .../yasnippet/snippets/scss-mode/feature-exists | 5 ++++ .../.config/yasnippet/snippets/scss-mode/floor | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/for | 6 +++++ .../yasnippet/snippets/scss-mode/function-exists | 5 ++++ .../snippets/scss-mode/global-variable-exists | 5 ++++ .../.config/yasnippet/snippets/scss-mode/grayscale | 5 ++++ .../.config/yasnippet/snippets/scss-mode/green | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/hsl | 5 ++++ .../.config/yasnippet/snippets/scss-mode/hsla | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/hue | 5 ++++ .../yasnippet/snippets/scss-mode/ie-hex-str | 5 ++++ .../.config/yasnippet/snippets/scss-mode/index | 5 ++++ .../.config/yasnippet/snippets/scss-mode/inspect | 5 ++++ .../.config/yasnippet/snippets/scss-mode/invert | 5 ++++ .../.config/yasnippet/snippets/scss-mode/join | 5 ++++ .../.config/yasnippet/snippets/scss-mode/keywords | 5 ++++ .../.config/yasnippet/snippets/scss-mode/length | 5 ++++ .../.config/yasnippet/snippets/scss-mode/lighten | 5 ++++ .../.config/yasnippet/snippets/scss-mode/lightness | 5 ++++ .../yasnippet/snippets/scss-mode/list-separator | 5 ++++ .../.config/yasnippet/snippets/scss-mode/map-get | 5 ++++ .../yasnippet/snippets/scss-mode/map-has-key | 5 ++++ .../.config/yasnippet/snippets/scss-mode/map-keys | 5 ++++ .../.config/yasnippet/snippets/scss-mode/map-merge | 5 ++++ .../yasnippet/snippets/scss-mode/map-remove | 5 ++++ .../yasnippet/snippets/scss-mode/map-values | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/max | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/min | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/mix | 5 ++++ .../yasnippet/snippets/scss-mode/mixin-exists | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/nth | 5 ++++ .../.config/yasnippet/snippets/scss-mode/opacify | 5 ++++ .../.config/yasnippet/snippets/scss-mode/opacity | 5 ++++ .../yasnippet/snippets/scss-mode/percentage | 5 ++++ .../.config/yasnippet/snippets/scss-mode/quote | 5 ++++ .../.config/yasnippet/snippets/scss-mode/random | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/red | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/rgb | 5 ++++ .../.config/yasnippet/snippets/scss-mode/rgba | 5 ++++ .../.config/yasnippet/snippets/scss-mode/rgbao | 7 +++++ .../.config/yasnippet/snippets/scss-mode/round | 5 ++++ .../.config/yasnippet/snippets/scss-mode/saturate | 5 ++++ .../yasnippet/snippets/scss-mode/saturation | 5 ++++ .../yasnippet/snippets/scss-mode/scale-color | 5 ++++ .../.config/yasnippet/snippets/scss-mode/set-nth | 5 ++++ .../.config/yasnippet/snippets/scss-mode/str-index | 5 ++++ .../yasnippet/snippets/scss-mode/str-insert | 5 ++++ .../yasnippet/snippets/scss-mode/str-length | 5 ++++ .../.config/yasnippet/snippets/scss-mode/str-slice | 5 ++++ .../yasnippet/snippets/scss-mode/to-lower-case | 5 ++++ .../yasnippet/snippets/scss-mode/to-upper-case | 5 ++++ .../yasnippet/snippets/scss-mode/transparentize | 5 ++++ .../.config/yasnippet/snippets/scss-mode/type-of | 5 ++++ .../.config/yasnippet/snippets/scss-mode/unique-id | 5 ++++ .../.config/yasnippet/snippets/scss-mode/unit | 5 ++++ .../.config/yasnippet/snippets/scss-mode/unitless | 5 ++++ .../.config/yasnippet/snippets/scss-mode/unquote | 5 ++++ .../yasnippet/snippets/scss-mode/variable-exists | 5 ++++ .../emacs/.config/yasnippet/snippets/scss-mode/zip | 5 ++++ .../emacs/.config/yasnippet/snippets/sh-mode/alias | 6 +++++ .../emacs/.config/yasnippet/snippets/sh-mode/args | 6 +++++ .../emacs/.config/yasnippet/snippets/sh-mode/bang | 7 +++++ .../emacs/.config/yasnippet/snippets/sh-mode/case | 8 ++++++ .../emacs/.config/yasnippet/snippets/sh-mode/elif | 7 +++++ .../emacs/.config/yasnippet/snippets/sh-mode/else | 7 +++++ .../emacs/.config/yasnippet/snippets/sh-mode/f | 8 ++++++ .../emacs/.config/yasnippet/snippets/sh-mode/for | 8 ++++++ .../.config/yasnippet/snippets/sh-mode/function | 6 +++++ .../emacs/.config/yasnippet/snippets/sh-mode/gt | 6 +++++ .../emacs/.config/yasnippet/snippets/sh-mode/if | 6 +++++ .../.config/yasnippet/snippets/sh-mode/if-one-line | 6 +++++ .../emacs/.config/yasnippet/snippets/sh-mode/ife | 10 ++++++++ .../emacs/.config/yasnippet/snippets/sh-mode/local | 4 +++ .../emacs/.config/yasnippet/snippets/sh-mode/lt | 6 +++++ .../emacs/.config/yasnippet/snippets/sh-mode/var | 6 +++++ .../.config/yasnippet/snippets/snippet-mode/cont | 6 +++++ .../.config/yasnippet/snippets/snippet-mode/elisp | 6 +++++ .../.config/yasnippet/snippets/snippet-mode/field | 8 ++++++ .../.config/yasnippet/snippets/snippet-mode/group | 6 +++++ .../.config/yasnippet/snippets/snippet-mode/mirror | 8 ++++++ .../.config/yasnippet/snippets/snippet-mode/vars | 12 +++++++++ .../.config/yasnippet/snippets/sql-mode/column | 5 ++++ .../.config/yasnippet/snippets/sql-mode/constraint | 5 ++++ .../yasnippet/snippets/sql-mode/constraint.1 | 5 ++++ .../.config/yasnippet/snippets/sql-mode/create | 11 ++++++++ .../.config/yasnippet/snippets/sql-mode/create.1 | 13 ++++++++++ .../.config/yasnippet/snippets/sql-mode/references | 5 ++++ .../.config/yasnippet/snippets/web-mode/video | 8 ++++++ .../emacs/.config/yasnippet/snippets/web-mode/vue | 18 +++++++++++++ Emacs/.config/emacs/config.org | 12 --------- 762 files changed, 5434 insertions(+), 22 deletions(-) create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/.yas-parents create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/accumulate create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/accumulate-with-closure create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/adjacent_find create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/all_of create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/any_of create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/assert create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/beginend create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/boost_require create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/class create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/const_[] create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/constructor create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_backward create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_n create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_ostream_iter create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count_if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/cstd create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d+= create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator[] create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator[]_const create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator_istream create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator_ostream create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/delete create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/delete[] create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/doc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/dynamic_casting create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/enum create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/equal create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/erase create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/erase_find_last_not_of create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fill create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fill_n create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fin create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_end create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_first_of create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fixture create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/for_each create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/for_iter create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/friend create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fun_declaration create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/function create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/generate create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/generate_n create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/gtest create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/ignore create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_iostream create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_sstream create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_string create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/inline create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/iota create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_heap create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_heap_until create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_partitioned create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_permutation create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_sorted create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_sorted_until create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/iterator create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/lambda create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/lexigraphical_compare create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/make_heap create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/map create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/max_element create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/member_function create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/merge create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/min_element create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/minmax_element create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/mismatch create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/module create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/move_backward create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/namespace create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/namespace_block create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/next_permutation create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/none_of create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/nth_element create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator!= create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator+ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator+= create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator= create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator== create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator[] create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator_istream create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator_ostream create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/ostream create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/pack create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partial_sort create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partial_sort_copy create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition_copy create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition_point create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/prev_permutation create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/private create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/protected create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/public create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/push_heap create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/random_shuffle create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_copy create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_copy_if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_copy create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_copy_if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/reverse create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/reverse_copy create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/rotate create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/rotate_copy create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/search create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/search_n create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/sort create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/sort_heap create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/stable_partition create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/stable_sort create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/std create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/std_colon create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/swap_ranges create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/template create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test-case create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test_main create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test_suite create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/this create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/throw create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform-with-closure create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform_lowercase create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/trim_left create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/try create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/tryw create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/unique create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/unique_copy create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/using create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/.yas-parents create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/assert create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/compile create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/define create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/malloc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/packed create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/printf create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/stdio create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/stdlib create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/string create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/switch create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/union create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/unistd create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/do create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/else create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/elseif create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/fopen create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/for create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/ifdef create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/inc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/incc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/main create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/once create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/struct create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/switch create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/ternary create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/typedef create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/while create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/.yas-parents create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib.1 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib.2 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/class create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.1 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.2 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.3 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/namespace create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/prop create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/region create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using.1 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using.2 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/importfont create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/margin create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media_orientation create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media_print create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/padding create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/property create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/advise create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/and create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/append create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/apply create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aref create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aset create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/assq create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/au create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autodef create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autoload create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/backward-char create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/beginning-of-line create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/bounds-of-thing-at-point create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-file-name create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-modified-p create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring-no-properties create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/car create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cdr create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cl-destructuring-bind create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/concat create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/condition-case create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cons create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/consp create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-directory create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-file create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/current-buffer create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/custom-autoload create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/def-package! create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defalias create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defconst create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defcustom create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/define-key create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defsubst create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defvar create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-char create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-directory create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-file create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-region create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/directory-files create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/dired.process_marked create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/end-of-line create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/eq create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/equal create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/error create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/expand-file-name create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/fboundp create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-directory create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-extension create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-nondirectory create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-sans-extension create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-relative-name create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.process create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.read-lines create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-file create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-replace create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/format create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-char create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-line create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/funcall create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/function create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/get create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/global-set-key create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/goto-char create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabstring create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabthing create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let-2 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert-file-contents create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/int create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/interactive create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kbd create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kill-buffer create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/lam create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/length create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-beginning-position create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-end-position create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/list create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/looking-at create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-directory create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-hash-table create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-local-variable create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapcar create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-beginning create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-end create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-string create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/memq create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/message create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/minor_mode create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/not create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/nth create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/optional create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/or create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-max create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-min create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/princ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/print create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/provide create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/put create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-backward create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-forward create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-active-p create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-beginning create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-end create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rename-file create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/repeat create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp-in-string create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/require create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rest create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/save-buffer create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward-regexp create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward-regexp create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-buffer create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-file-modes create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-mark create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq-default create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-backward create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-forward create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/split-string create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match-p create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-to-number create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string= create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/stringp create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/substring create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/thing-at-point create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/traverse_dir create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/use-package create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/vector create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/widget-get create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word-or-region create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word_regexp create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-dired.process_marked create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.process create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.read-lines create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-find-replace create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabstring create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabthing create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-traverse_dir create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-word-or-region create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/y-or-n-p create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/yes-or-no-p create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/case create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/data create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/doc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/function create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/import create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/instance create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/main create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/module create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/new-class create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/pragma create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/print create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dd create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dl create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhml1 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_1 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_strict create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_transitional create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dt create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/form create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/html create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/html.xmlns create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/link create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/linkie create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/meta create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/meta.http-equiv create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/script create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/scriptsrc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/textarea create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/th create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/.yas-parents create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/@param create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/@return create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/apr_assert create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/class create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/constructor create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/doc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/equals create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/for create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/foreach create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/ife create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/import create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/interface create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/iterator create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/javadoc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/main create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/method create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/method@ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/new create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/paintComponent create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/printf create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/println create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/private create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/protected create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/public create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/return create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/test create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/testClass create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/this create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/toString create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/try create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/var create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/var= create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/void create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/while create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/json-mode/eslintConfig create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/acronym create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/alertblock create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/alg create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/axiom create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/begin create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/bigcap_^ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/bigcup_^ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/block create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/capgls create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/caption create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/cite create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/code create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/columns create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/corollary create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/definition create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/emph create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/enumerate create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/exercise create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/figure create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/frac create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/frame create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/gls create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/glspl create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/includegraphics create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/int_^ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/item create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/itemize create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/label create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/lemma create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/lim create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/liminf create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/limsup create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/listing create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/mathclap create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/movie create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/newcommand create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/newglossaryentry create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/note create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/prod_^ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/proof create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/python create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/question create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/remark create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/root create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/section create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/sqrt create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subf create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subfigure create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subsec create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/sum_^ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/textbf create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/theorem create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/usepackage create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/lisp-interaction-mode/defun create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/class create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/cond create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/defpackage create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/do create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/format create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/slot create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/typecast create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-automake-mode/noinst_HEADERS create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/PHONY create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/echo create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/gen create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/var create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/patsubst create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/phony create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/wildcard create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/makefile-mode/all create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/code create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h1 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h2 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h3 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h4 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h5 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h6 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/hr create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/img create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/kbd create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/link create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/ol create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rimg create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rlb create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rlink create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/utf8 delete mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/org-mode/abstract + toc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/__contains__ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/__enter__ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/__exit__ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/__getitem__ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/__len__ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/__new__ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/__setitem__ create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/all create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/arg create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/arg_positional create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/assert create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/assertEqual create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/assertFalse create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/assertIn create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/assertNotEqual create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/assertRaises create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/assertRaises.with create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/assertTrue create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/celery_pdb create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/class create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/classmethod create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/dec create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/def create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/defm create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/doc create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/doctest create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/eq create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/for create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/from create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/function_docstring create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ife create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ifmain create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/import create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/init create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/init_docstring create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/interact create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ipdbdebug create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/iter create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/lambda create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/list create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logger_name create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/main create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/metaclass create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/method create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/method_docstring create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/not_impl create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/np create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/parse_args create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/parser create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/pass create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/print create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/prop create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/reg create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/repr create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/return create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/script create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/self create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/self_without_dot create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/selfassign create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/setdef create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/setup create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/shebang create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/size create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/static create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/str create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/super create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/test_class create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/test_file create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/trace create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/try create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/tryelse create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/unicode create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/utf8 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/while create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/with create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/with_statement create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/File-open create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/None create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Result create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Some create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/String_from create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Vec-with_capacity create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/allow create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/allow! create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/arrow create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/asref create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert_eq create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert_ne create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assignment create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/case create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/cfg create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/cfg= create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/const create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/debug_assert create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/deref create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/deref_mut create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/derive create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/disperror create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/display create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/else create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/elseif create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/enum create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/env-args create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/env-var create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/eprintln create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/error create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/extern create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/extern-crate create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/fn create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/for create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/format create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/from create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/fromstr create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/if-let create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/ignore create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/impl create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/inline-if-else create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/iterator create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/lambda create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/let create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/letm create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/lifetime-static create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/macro create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/main create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/match create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/match-ok create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/mod create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/new create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/panic create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/partial create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/println create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/pub_fn create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/pub_mod create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/ret create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/static create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/struct create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/struct_alias create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/test create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/testmod create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/trait create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/type create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/union create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use-File create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use-HashMap create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/vec create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn! create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/while-let create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@mixin create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@while create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/abs create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/adjust-color create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/adjust-hue create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/alpha create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/append create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/blue create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/call create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/ceil create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/change-color create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/comparable create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/complement create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/darken create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/desaturate create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/each create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/else create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/elseif create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/fade-in create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/fade-out create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/feature-exists create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/floor create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/for create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/function-exists create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/global-variable-exists create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/grayscale create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/green create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hsl create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hsla create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hue create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/ie-hex-str create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/index create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/inspect create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/invert create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/join create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/keywords create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/length create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/lighten create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/lightness create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/list-separator create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-get create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-has-key create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-keys create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-merge create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-remove create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-values create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/max create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/min create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/mix create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/mixin-exists create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/nth create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/opacify create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/opacity create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/percentage create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/quote create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/random create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/red create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgb create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgba create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgbao create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/round create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/saturate create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/saturation create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/scale-color create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/set-nth create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-index create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-insert create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-length create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-slice create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/to-lower-case create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/to-upper-case create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/transparentize create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/type-of create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unique-id create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unit create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unitless create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unquote create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/variable-exists create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/zip create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/alias create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/args create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/bang create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/case create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/elif create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/else create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/f create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/for create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/function create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/gt create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/if create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/if-one-line create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/ife create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/local create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/lt create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/var create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/cont create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/elisp create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/field create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/group create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/mirror create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/vars create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/column create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/constraint create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/constraint.1 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/create create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/create.1 create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/references create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/web-mode/video create mode 100644 Emacs/.config/emacs/.config/yasnippet/snippets/web-mode/vue (limited to 'Emacs/.config/emacs') diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/.yas-parents b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/.yas-parents new file mode 100644 index 0000000..2f29616 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/.yas-parents @@ -0,0 +1 @@ +cc-mode text-mode prog-mode \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/accumulate b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/accumulate new file mode 100644 index 0000000..496b75c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/accumulate @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: accumulate +# key: acm +# -- +auto sum = std::accumulate(std::begin(${1:container}), std::end($1), 0); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/accumulate-with-closure b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/accumulate-with-closure new file mode 100644 index 0000000..f2fd2cd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/accumulate-with-closure @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: accumulate w/ closure +# key: acl +# -- +auto sum = std::accumulate(std::begin(${1:container}), std::end($1), 0, [](int total, $2) { + $3 +}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/adjacent_find b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/adjacent_find new file mode 100644 index 0000000..fd4c436 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/adjacent_find @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: adjacent_find +# key: ajf +# -- +auto pos = std::adjacent_find(std::begin(${1:container}), std::end($1)); +if (pos != std::end($1)) { + $2 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/all_of b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/all_of new file mode 100644 index 0000000..299f837 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/all_of @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: all_of +# key: alo +# -- +if (std::all_of(std::begin(${1:container}), std::end($1), []($2) { + $3 +})) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/any_of b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/any_of new file mode 100644 index 0000000..7c957f8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/any_of @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: any_of +# key: ano +# -- +if (std::any_of(std::begin(${1:container}), std::end($1), []($2) { + $3 +})) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/assert b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/assert new file mode 100644 index 0000000..a662dd8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/assert @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: assert +# -- +assert($0); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/beginend b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/beginend new file mode 100644 index 0000000..26ee232 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/beginend @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: v.begin(), v.end() +# key: beginend +# uuid: beginend +# -- +${1:v}.begin(), $1.end \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/boost_require b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/boost_require new file mode 100644 index 0000000..7b05028 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/boost_require @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: boost_require +# key: req +# uuid: req +# group: boost +# -- +BOOST_REQUIRE( ${1:condition} ); +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/class b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/class new file mode 100644 index 0000000..dcd73f9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/class @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: class +# -- +class ${1:Name} { + public: + ${1:$(yas/substr yas-text "[^: ]*")}(); + ${2:virtual ~${1:$(yas/substr yas-text "[^: ]*")}();} + $0 +}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/const_[] b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/const_[] new file mode 100644 index 0000000..57eed01 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/const_[] @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: const_[] +# key: c[ +# uuid: c[ +# -- +const ${1:Type}& operator[](${2:int index}) const +{ + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/constructor b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/constructor new file mode 100644 index 0000000..f76454b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/constructor @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: constructor +# key: ct +# uuid: ct +# -- +${1:Class}::$1(${2:args}) ${3: : ${4:init}} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy new file mode 100644 index 0000000..6db7b97 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: copy +# key: cpy +# -- +std::copy(std::begin(${1:container}), std::end($1), std::begin($2)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_backward b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_backward new file mode 100644 index 0000000..74a986c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_backward @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: copy_backward +# key: cpb +# -- +std::copy_backward(std::begin(${1:container}), std::end($1), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_if b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_if new file mode 100644 index 0000000..611aa75 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_if @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: copy_if +# key: cpi +# -- +std::copy_if(std::begin(${1:container}), std::end($1), std::begin($2), +[]($3) { + $4 +}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_n b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_n new file mode 100644 index 0000000..af2f225 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_n @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: copy_n +# key: cpn +# -- +std::copy_n(std::begin(${1:container}), $2, std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_ostream_iter b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_ostream_iter new file mode 100644 index 0000000..d836ecb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/copy_ostream_iter @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: copy +# key: oit +# -- +std::copy(std::begin(${1:container}), std::end($1), std::ostream_iterator<$2>{ +%\istd::cout, "$3" +}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count new file mode 100644 index 0000000..95936e2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: count +# key: cnt +# -- +auto n = std::count(std::begin(${1:container}), std::end($1), $2); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count_if b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count_if new file mode 100644 index 0000000..dccc852 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/count_if @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: count_if +# key: count_if +# -- +auto n = std::count_if(std::begin(${1:container}), std::end($1), []($2) { + $3 +}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/cstd b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/cstd new file mode 100644 index 0000000..44074c9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/cstd @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: cstd +# key: cstd +# uuid: cstd +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d+= b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d+= new file mode 100644 index 0000000..e5c32c9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d+= @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: d+= +# key: d+= +# uuid: d+= +# -- +${1:MyClass}& operator+=(${2:const $1 &}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator new file mode 100644 index 0000000..b92780d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: d_operator<< +# key: << +# uuid: << +# -- +friend std::ostream& operator<<(std::ostream&, const ${1:Class}&); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator[] b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator[] new file mode 100644 index 0000000..a96be67 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator[] @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: d_operator[] +# key: [ +# uuid: [ +# -- +${1:Type}& operator[](${2:int index}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator[]_const b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator[]_const new file mode 100644 index 0000000..9c3a1ab --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator[]_const @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: d_operator[]_const +# key: c[ +# uuid: c[ +# -- +const ${1:Type}& operator[](${2:int index}) const; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator_istream b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator_istream new file mode 100644 index 0000000..d38c0fc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator_istream @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: d_operator>> +# key: >> +# -- +friend std::istream& operator>>(std::istream&, const ${1:Name}&); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator_ostream b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator_ostream new file mode 100644 index 0000000..d23f4d6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/d_operator_ostream @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: d_operator<< +# key: << +# -- +friend std::ostream& operator<<(std::ostream&, const ${1:Name}&); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/delete b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/delete new file mode 100644 index 0000000..cf0376c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/delete @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: delete +# key: dl +# uuid: dl +# -- +delete ${1:pointer}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/delete[] b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/delete[] new file mode 100644 index 0000000..eb85608 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/delete[] @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: delete[] +# key: dla +# uuid: dla +# -- +delete[] ${1:arr}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/doc b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/doc new file mode 100644 index 0000000..6f100ae --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/doc @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: doc +# key: /** +# uuid: /** +# -- +/** + * $0 + */ \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/dynamic_casting b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/dynamic_casting new file mode 100644 index 0000000..a016c70 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/dynamic_casting @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: dynamic_casting +# key: cast +# uuid: cast +# -- +check_and_cast<${1:Type} *>(${2:msg}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/enum b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/enum new file mode 100644 index 0000000..99f9923 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/enum @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: enum +# -- +enum ${1:NAME} {$0}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/equal b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/equal new file mode 100644 index 0000000..09cfb44 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/equal @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: equal +# key: eql +# -- +if (std::equal(std::begin(${1:container}), std::end($1), std::begin($2))) { + $3 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/erase b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/erase new file mode 100644 index 0000000..4ab6679 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/erase @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: remove +# key: erm +# -- +${1:container}.erase(std::remove(std::begin($1), std::end($1), $2), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/erase_find_last_not_of b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/erase_find_last_not_of new file mode 100644 index 0000000..d2cf0b1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/erase_find_last_not_of @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: generate_n +# key: erf +# -- +${1:container}.erase($1.find_last_not_of(" \t\n\r") + 1); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fill b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fill new file mode 100644 index 0000000..99130c9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fill @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: fill +# key: fil +# -- +std::fill(std::begin(${1:container}), std::end($1), $2); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fill_n b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fill_n new file mode 100644 index 0000000..5c6b04a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fill_n @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: fill_n +# key: fln +# -- +std::fill_n(std::begin(${1:container}), $2, $3); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fin b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fin new file mode 100644 index 0000000..41eaf6c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fin @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: find_if_not +# key: fin +# -- +auto pos = std::find_if_not(std::begin(${1:container}), std::end($1),[]($2) { + $3 +}); +if (pos != std::end($1)) { + $4 +} +$0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find new file mode 100644 index 0000000..f45093b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: find +# key: fnd +# -- +auto pos = std::find(std::begin(${1:container}), std::end($1), $2); +if (pos != std::end($1)) { + $3 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_end b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_end new file mode 100644 index 0000000..2eca444 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_end @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: find_end +# key: fne +# -- +auto pos = std::find_std::end( + std::begin(${1:container}), std::end($1), + std::begin($2), std::end($3) +); +if (pos != std::end($1)) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_first_of b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_first_of new file mode 100644 index 0000000..8217cc1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_first_of @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: find_first_of +# key: ffo +# -- +auto pos = std::find_first_of( + std::begin(${1:container}), std::end($1), + std::begin($2), std::end($3) +); +if (pos != std::end($1)) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_if b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_if new file mode 100644 index 0000000..1c02a0b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/find_if @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: find_if +# key: fni +# -- +auto pos = std::find_if(std::begin(${1:container}), std::end($1), []($2) { + $3 +}); +if (pos != std::end($1)) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fixture b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fixture new file mode 100644 index 0000000..f628b95 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fixture @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: fixture +# key: fixt +# uuid: fixt +# -- +BOOST_FIXTURE_TEST_SUITE( ${1:name}, ${2:Fixture} ) + +$0 + +BOOST_AUTO_TEST_SUITE_END() \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/for_each b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/for_each new file mode 100644 index 0000000..de1fbbb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/for_each @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: for_each +# key: fre +# -- +std::for_each(std::begin(${1:container}), std::end($1), []($2) { + $3 +}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/for_iter b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/for_iter new file mode 100644 index 0000000..2e76242 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/for_iter @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: for_iter +# key: fori +# uuid: fori +# -- +for (${1:iter}=${2:var}.begin(); $1!=$2.end(); ++$1) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/friend b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/friend new file mode 100644 index 0000000..df0c024 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/friend @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: friend +# key: fr +# uuid: fr +# -- +friend $0; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fun_declaration b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fun_declaration new file mode 100644 index 0000000..795365c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/fun_declaration @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: fun_declaration +# key: f +# uuid: f +# -- +${1:void} ${2:name}($3)$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/function b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/function new file mode 100644 index 0000000..52d0402 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/function @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: function +# -- +${1:void} ${2:Class}::${3:name}($4)${5: const} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/generate b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/generate new file mode 100644 index 0000000..73d65a9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/generate @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: generate +# key: gnr +# -- +std::generate(std::begin(${1:container}), std::end($1), []($2) { + $3 +}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/generate_n b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/generate_n new file mode 100644 index 0000000..8084b14 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/generate_n @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: generate_n +# key: gnn +# -- +std::generate_n(std::begin(${1:container}), $2, []($3) { + $4 +}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/gtest b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/gtest new file mode 100644 index 0000000..4cc61a8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/gtest @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: gtest +# key: gtest +# uuid: gtest +# group: testing +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/ignore b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/ignore new file mode 100644 index 0000000..3a3c610 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/ignore @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: ignore +# key: ignore +# uuid: ignore +# -- +${1:std::}cin.ignore(std::numeric_limits::max(), '\n'); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include new file mode 100644 index 0000000..c4f4d44 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: #include +# key: inc +# -- +#include <${1:lib}> \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_iostream b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_iostream new file mode 100644 index 0000000..b1ba34c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_iostream @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: #include +# key: iio +# uuid: iio +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_sstream b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_sstream new file mode 100644 index 0000000..bd97bcb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_sstream @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: #include +# key: iss +# uuid: iss +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_string b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_string new file mode 100644 index 0000000..686660a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/include_string @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: #include +# key: istr +# uuid: istr +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/inline b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/inline new file mode 100644 index 0000000..e545492 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/inline @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: inline +# key: il +# uuid: il +# -- +inline $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/iota b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/iota new file mode 100644 index 0000000..2690ac4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/iota @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: iota +# key: ita +# -- +std::iota(std::begin(${1:container}), std::end($1), $2); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_heap b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_heap new file mode 100644 index 0000000..24048b2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_heap @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: is_heap +# key: ihp +# -- +if (std::is_heap(std::begin(${1:container}), std::end($1))) { + $2 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_heap_until b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_heap_until new file mode 100644 index 0000000..99bf8f0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_heap_until @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: is_heap_until +# key: ihu +# -- +auto pos = std::is_heap_until(std::begin(${1:container}), std::end($1)); +if (pos != std::end($1)) { + $2 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_partitioned b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_partitioned new file mode 100644 index 0000000..48877b5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_partitioned @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: is_partitioned +# key: ipt +# -- +if (std::is_partitioned(std::begin(${1:container}), std::end($1), []($2) { + $3 +})) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_permutation b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_permutation new file mode 100644 index 0000000..eee5ba3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_permutation @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: is_permutation +# key: ipr +# -- +if (std::is_permutation(std::begin(${1:container}), std::end($1), std::begin($2))) { + $3 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_sorted b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_sorted new file mode 100644 index 0000000..ddc3a96 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_sorted @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: is_sorted +# key: iss +# -- +if (std::is_sorted(std::begin(${1:container}), std::end($1))) { + $2 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_sorted_until b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_sorted_until new file mode 100644 index 0000000..9eb6699 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/is_sorted_until @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: is_sorted_until +# key: isu +# -- +auto pos = std::is_sorted_until(std::begin(${1:container}), std::end($1)); +if (pos != std::end($1)) { + $2 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/iterator b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/iterator new file mode 100644 index 0000000..fe2b5cd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/iterator @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: iterator +# key: iter +# uuid: iter +# -- +${1:std::}${2:vector}::iterator ${3:iter}; diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/lambda b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/lambda new file mode 100644 index 0000000..aa72fa3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/lambda @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: lambda +# key: lam +# -- +[$1]($2) { `(!%!)`$3 } \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/lexigraphical_compare b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/lexigraphical_compare new file mode 100644 index 0000000..2d6dd06 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/lexigraphical_compare @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: lexigraphical_compare +# key: lxc +# -- +if (std::lexigraphical_compare(std::begin(${1:container}), std::end($1), std::begin($2), std::end($3))) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/make_heap b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/make_heap new file mode 100644 index 0000000..6640b0e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/make_heap @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: make_heap +# key: mkh +# -- +std::make_heap(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/map b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/map new file mode 100644 index 0000000..ff349e1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/map @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: map +# key: map +# uuid: map +# -- +std::map<${1:type1}$0> ${2:var}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/max_element b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/max_element new file mode 100644 index 0000000..4a29080 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/max_element @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: max_element +# key: mxe +# -- +auto pos = std::max_element(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/member_function b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/member_function new file mode 100644 index 0000000..ccc03fd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/member_function @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: member_function +# key: mf +# -- +${1:type} ${2:Name}::${3:name}(${4:args})${5: const} +{ + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/merge b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/merge new file mode 100644 index 0000000..c4753a2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/merge @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: merge +# key: mrg +# -- +std::merge(std::begin(${1:container}), std::end($1), +std::begin($2), std::end($3), std::begin($4)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/min_element b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/min_element new file mode 100644 index 0000000..e85d6f2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/min_element @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: min_element +# key: mne +# -- +auto pos = std::min_element(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/minmax_element b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/minmax_element new file mode 100644 index 0000000..b80f63b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/minmax_element @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: minmax_element +# key: mme +# -- +auto minmax = std::minmax_element(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/mismatch b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/mismatch new file mode 100644 index 0000000..243ee0f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/mismatch @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: mismatch +# key: msm +# -- +auto values = std::mismatch(std::begin(${1:container}), std::end($1), std::begin($1)); +if (values.first == std::end($1)) { + $2 +} else { + $3 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/module b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/module new file mode 100644 index 0000000..c203632 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/module @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: module +# key: mod +# uuid: mod +# -- +class ${1:Class} : public cSimpleModule +{ + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/move_backward b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/move_backward new file mode 100644 index 0000000..62e7849 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/move_backward @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: move_backward +# key: mpb +# -- +std::move_backward(std::begin(${1:container}), std::end($1), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/namespace b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/namespace new file mode 100644 index 0000000..e4afdb0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/namespace @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name : namespace ... +# key: ns +# uuid: ns +# -- +namespace ${1:name} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/namespace_block b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/namespace_block new file mode 100644 index 0000000..839ef70 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/namespace_block @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: namespace +# key: nss +# -- +namespace ${1:name} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/next_permutation b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/next_permutation new file mode 100644 index 0000000..78b468a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/next_permutation @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: next_permutation +# key: nxp +# -- +if (std::next_permutation(std::begin(${1:container}), std::end($1))) { + $2 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/none_of b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/none_of new file mode 100644 index 0000000..88a716d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/none_of @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: none_of +# key: nno +# -- +if (std::none_of(std::begin(${1:container}), std::end($1), []($2) { + $3 +})) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/nth_element b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/nth_element new file mode 100644 index 0000000..b0da080 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/nth_element @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: nth_element +# key: nth +# -- +std::nth_element(std::begin(${1:container}), std::end($1), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator!= b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator!= new file mode 100644 index 0000000..5cf876b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator!= @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: operator!= +# key: != +# uuid: != +# group: operator overloading +# -- +bool ${1:MyClass}::operator!=(const $1 &other) const { + return !(*this == other); +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator+ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator+ new file mode 100644 index 0000000..0d4d10c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator+ @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: operator+ +# key: + +# uuid: + +# group: operator overloading +# -- +${1:MyClass} $1::operator+(const $1 &other) +{ + $1 result = *this; + result += other; + return result; +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator+= b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator+= new file mode 100644 index 0000000..643a65e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator+= @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: operator+= +# key: += +# uuid: += +# group: operator overloading +# -- +${1:MyClass}& $1::operator+=(${2:const $1 &rhs}) +{ + $0 + return *this; +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator= b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator= new file mode 100644 index 0000000..08f2e67 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator= @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: operator= +# key: = +# uuid: = +# where this is a reference to myself +# group: operator overloading +# -- +${1:MyClass}& $1::operator=(const $1 &rhs) { + // Check for self-assignment! + if (this == &rhs) + return *this; + $0 + return *this; +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator== b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator== new file mode 100644 index 0000000..08f804e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator== @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: operator== +# key: == +# uuid: == +# group: operator overloading +# -- +bool ${1:MyClass}::operator==(const $1 &other) const { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator[] b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator[] new file mode 100644 index 0000000..9bfea7d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator[] @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: operator[] +# key: [] +# uuid: [] +# group: operator overloading +# -- +${1:Type}& operator[](${2:int index}) +{ + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator_istream b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator_istream new file mode 100644 index 0000000..9b4c8c2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator_istream @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: operator>> +# key: >> +# uuid: >> +# group: operator overloading +# -- +istream& operator>>(istream& s, const ${1:type}& ${2:c}) +{ + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator_ostream b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator_ostream new file mode 100644 index 0000000..9463e2c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/operator_ostream @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: operator<< +# key: << +# uuid: << +# group: operator overloading +# -- +std::ostream& operator<<(std::ostream& s, const ${1:type}& ${2:c}) +{ + $0 + return s; +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/ostream b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/ostream new file mode 100644 index 0000000..b0054f7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/ostream @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: ostream +# key: os +# uuid: os +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/pack b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/pack new file mode 100644 index 0000000..c15b02e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/pack @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: pack +# key: pack +# uuid: pack +# -- +void cNetCommBuffer::pack(${1:type}) { + +} + +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partial_sort b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partial_sort new file mode 100644 index 0000000..eafb136 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partial_sort @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: partial_sort +# key: pst +# -- +std::partial_sort(std::begin(${1:container}), std::end($1), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partial_sort_copy b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partial_sort_copy new file mode 100644 index 0000000..be91ecd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partial_sort_copy @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: partial_sort_copy +# key: psc +# -- +std::partial_sort_copy(std::begin(${1:container}), std::end($1), + std::begin($2), std::end($3)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition new file mode 100644 index 0000000..e381b28 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: partition +# key: ptn +# -- +auto pos = std::partition(std::begin(${1:container}), std::end($1), []($2) { + $3 +}); +if (pos != std::end($1)) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition_copy b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition_copy new file mode 100644 index 0000000..f74d0da --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition_copy @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: partition_copy +# key: ptc +# -- +std::partition_copy(std::begin(${1:container}), std::end($1), + std::begin($2), std::end($3)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition_point b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition_point new file mode 100644 index 0000000..d890532 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/partition_point @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: partition_point +# key: ppt +# -- +auto pos = std::partition_point(std::begin(${1:container}), std::end($1), []($2) { + $3 +}); +if (pos != std::end($1)) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/prev_permutation b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/prev_permutation new file mode 100644 index 0000000..9b202f6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/prev_permutation @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: prev_permutation +# key: prp +# -- +if (std::prev_permutation(std::begin(${1:container}), std::end($1))) { + $2 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/private b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/private new file mode 100644 index 0000000..ddf50d7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/private @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: private +# expand-env: ((yas-also-auto-indent-first-line t)) +# -- +private: + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/protected b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/protected new file mode 100644 index 0000000..931eb2e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/protected @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: protected +# expand-env: ((yas-also-auto-indent-first-line t)) +# -- +protected: + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/public b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/public new file mode 100644 index 0000000..04b1afb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/public @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: public +# expand-env: ((yas-also-auto-indent-first-line t)) +# -- +public: + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/push_heap b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/push_heap new file mode 100644 index 0000000..281a847 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/push_heap @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: push_heap +# key: phh +# -- +std::push_heap(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/random_shuffle b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/random_shuffle new file mode 100644 index 0000000..bbc078d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/random_shuffle @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: random_shuffle +# key: shf +# -- +std::random_shuffle(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove new file mode 100644 index 0000000..3cbee04 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: remove +# key: rmv +# -- +auto pos = std::remove(std::begin(${1:container}), std::end($1), $2); +if (pos != std::end($1)) { + $3 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_copy b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_copy new file mode 100644 index 0000000..3dbf85a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_copy @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: remove_copy +# key: rmc +# -- +std::remove_copy(std::begin(${1:container}), std::end($1), + std::begin($1), $2); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_copy_if b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_copy_if new file mode 100644 index 0000000..cba8760 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_copy_if @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: remove_copy_if +# key: rmf +# -- +std::remove_copy_if(std::begin(${1:container}), std::end($1), + std::begin($1), []($2) { + $3 + } +); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_if b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_if new file mode 100644 index 0000000..e12d0c8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/remove_if @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: remove_if +# key: rmi +# -- +auto pos = std::remove_if(std::begin(${1:container}), std::end($1), []($2) { + $3 +}); +if (pos != std::end($1)) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace new file mode 100644 index 0000000..be2729e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: replace +# key: rpl +# -- +std::replace(std::begin(${1:container}), std::end($1), $2, $3); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_copy b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_copy new file mode 100644 index 0000000..a085f1d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_copy @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: replace_copy +# key: rpc +# -- +std::replace_copy(std::begin(${1:container}), std::end($1), std::begin($1), $2, $3); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_copy_if b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_copy_if new file mode 100644 index 0000000..4558e0d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_copy_if @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: replace_copy_if +# key: rci +# -- +std::replace_copy_if( + std::begin(${1:container}), + std::end($1), + std::begin($1), []($2) { + $3 + }, + $4 +); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_if b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_if new file mode 100644 index 0000000..9cc11d3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/replace_if @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: replace_if +# key: rpi +# -- +std::replace_if( + std::begin(${1:container}), + std::end($1), []($2) { + $3 + }, + $4 +); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/reverse b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/reverse new file mode 100644 index 0000000..8a64ca1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/reverse @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: reverse +# key: rvr +# -- +std::reverse(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/reverse_copy b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/reverse_copy new file mode 100644 index 0000000..ade4814 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/reverse_copy @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: reverse_copy +# key: rvc +# -- +std::reverse_copy(std::begin(${1:container}), std::end($1), std::begin($2)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/rotate b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/rotate new file mode 100644 index 0000000..1fb59ec --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/rotate @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: rotate +# key: rte +# -- +std::rotate(std::begin(${1:container}), std::begin($2), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/rotate_copy b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/rotate_copy new file mode 100644 index 0000000..287fb07 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/rotate_copy @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: rotate_copy +# key: rtc +# -- +std::rotate_copy(std::begin(${1:container}), std::begin($2), std::end($1), std::begin($3)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/search b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/search new file mode 100644 index 0000000..580a29a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/search @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: search +# key: srh +# -- +auto pos = std::search(std::begin(${1:container}), std::end($1), + std::begin($2), std::end($3)); +if (pos != std::end($1)) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/search_n b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/search_n new file mode 100644 index 0000000..7f7f879 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/search_n @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: search_n +# key: srn +# -- +auto pos = std::search_n(std::begin(${1:container}), std::end($1),$2,$3); +if (pos != std::end($1)) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/sort b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/sort new file mode 100644 index 0000000..4b88ee8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/sort @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: sort +# key: srt +# -- +std::sort(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/sort_heap b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/sort_heap new file mode 100644 index 0000000..c83c6a9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/sort_heap @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: sort_heap +# key: sth +# -- +std::sort_heap(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/stable_partition b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/stable_partition new file mode 100644 index 0000000..1c3b9f7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/stable_partition @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: stable_partition +# key: spt +# -- +auto pos = std::stable_partition(std::begin(${1:container}), std::end($1), []($2) { + $3 +}); +if (pos != std::end($1)) { + $4 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/stable_sort b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/stable_sort new file mode 100644 index 0000000..74cede9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/stable_sort @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: stable_sort +# key: sts +# -- +std::stable_sort(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/std b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/std new file mode 100644 index 0000000..5df8934 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/std @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: std +# key: std +# uuid: std +# -- +using namespace std; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/std_colon b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/std_colon new file mode 100644 index 0000000..950aa0e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/std_colon @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: std:: +# key: st +# uuid: st +# -- +std::$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/swap_ranges b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/swap_ranges new file mode 100644 index 0000000..9f2f4b5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/swap_ranges @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: swap_ranges +# key: swr +# -- +std::swap_ranges(std::begin(${1:container}), std::end($1), std::begin($2)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/template b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/template new file mode 100644 index 0000000..f40864d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/template @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: template +# key: temp +# uuid: temp +# -- +template<${1:$$(yas/choose-value '("typename" "class"))} ${2:T}> +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test-case b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test-case new file mode 100644 index 0000000..8af5260 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test-case @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: test case +# key: tc +# uuid: tc +# group: testing +# -- +BOOST_AUTO_TEST_CASE( ${1:test_case} ) +{ + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test_main b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test_main new file mode 100644 index 0000000..c96e40d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test_main @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: test_main +# key: test_main +# uuid: test_main +# group: testing +# -- +int main(int argc, char **argv) { + ::testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test_suite b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test_suite new file mode 100644 index 0000000..dc6dda3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/test_suite @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: test_suite +# key: ts +# uuid: ts +# group: testing +# -- +BOOST_AUTO_TEST_SUITE( ${1:test_suite1} ) + +$0 + +BOOST_AUTO_TEST_SUITE_END() \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/this b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/this new file mode 100644 index 0000000..173cb26 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/this @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: this +# -- +this \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/throw b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/throw new file mode 100644 index 0000000..d264dd7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/throw @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: throw +# key: throw +# uuid: throw +# -- +throw ${1:MyError}($0); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform new file mode 100644 index 0000000..12d4881 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: transform +# key: tfm +# -- +std::transform(std::begin(${1:container}), std::end($1), + std::begin($1), []($2) { +$3% +}); +$0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform-with-closure b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform-with-closure new file mode 100644 index 0000000..51427c7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform-with-closure @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: transform +# key: upr +# -- +std::transform(std::begin(${1:container}), std::end($1), std::begin($1), [](char c) { + `(or (concat % "\n") "")`return std::toupper(c); +}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform_lowercase b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform_lowercase new file mode 100644 index 0000000..045c98b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/transform_lowercase @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: string to lower case +# key: lwr +# -- +std::transform(std::begin(${1:container}), std::end($1), std::begin($1), [](char c) { + `(or (concat % "\n") "")`return std::tolower(c); +}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/trim_left b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/trim_left new file mode 100644 index 0000000..c456570 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/trim_left @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: remove whitespace at beginning +# key: ltr +# -- +${1:container}.erase(0, $1.find_first_not_of(" \t\n\r")); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/try b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/try new file mode 100644 index 0000000..122897e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/try @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: try +# -- +try { + $0 +} catch (${1:type}) { + +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/tryw b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/tryw new file mode 100644 index 0000000..004d15c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/tryw @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: tryw +# key: tryw +# uuid: tryw +# -- +try { + `(or yas/selected-text (car kill-ring))` +} catch ${1:Exception} { + +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/unique b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/unique new file mode 100644 index 0000000..7268a3d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/unique @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: unique +# key: uqe +# -- +auto pos = std::unique(std::begin(${1:container}), std::end($1)); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/unique_copy b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/unique_copy new file mode 100644 index 0000000..709b875 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/unique_copy @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: unique_copy +# key: ucp +# -- +std::unique_copy(std::begin(${1:container}), std::end($1), + std::ostream_iterator(std::cout, "\n")); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/using b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/using new file mode 100644 index 0000000..3c113ce --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c++-mode/using @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: using namespace ... +# key: using +# uuid: using +# -- +using namespace ${std}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/.yas-parents b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/.yas-parents new file mode 100644 index 0000000..2f29616 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/.yas-parents @@ -0,0 +1 @@ +cc-mode text-mode prog-mode \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/assert b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/assert new file mode 100644 index 0000000..15dbcc3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/assert @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: assert +# key: ass +# uuid: ass +# -- +#include +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/compile b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/compile new file mode 100644 index 0000000..bcd285d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/compile @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: compile +# key: compile +# uuid: compile +# -- +// -*- compile-command: "${1:gcc -Wall -o ${2:dest} ${3:file}}" -*- \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/define b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/define new file mode 100644 index 0000000..d4dc177 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/define @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: define +# key: def +# uuid: def +# -- +#define $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/malloc b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/malloc new file mode 100644 index 0000000..77b7465 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/malloc @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: malloc +# key: malloc +# uuid: malloc +# -- +malloc(sizeof($1)${2: * ${3:3}}); +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/packed b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/packed new file mode 100644 index 0000000..1f352fc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/packed @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: packed +# key: packed +# uuid: packed +# -- +__attribute__((__packed__))$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/printf b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/printf new file mode 100644 index 0000000..dda7206 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/printf @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: printf +# key: p +# uuid: p +# -- +printf("${1:format}"${2:, $3}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/stdio b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/stdio new file mode 100644 index 0000000..76618fd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/stdio @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: stdio +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/stdlib b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/stdlib new file mode 100644 index 0000000..d853ac4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/stdlib @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: stdlib +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/string b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/string new file mode 100644 index 0000000..3240494 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/string @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: string +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/switch b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/switch new file mode 100644 index 0000000..d02a5ab --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/switch @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: switch +# -- +switch (${1:ch}) { + case ${2:const}: + ${3:a = b}; + break; + ${4:default: + ${5:action}} +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/union b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/union new file mode 100644 index 0000000..a1c60cb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/union @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: union +# key: union +# uuid: union +# -- +typedef union { + $0 +} ${1:name}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/unistd b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/unistd new file mode 100644 index 0000000..de59d9e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/c-mode/unistd @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: unistd +# key: uni +# uuid: uni +# -- +#include \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/do b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/do new file mode 100644 index 0000000..d65d0f3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/do @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: do { ... } while (...) +# -- +do { + $0 +} while (${1:condition}); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/else b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/else new file mode 100644 index 0000000..f55d4dd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/else @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: else +# -- +else { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/elseif b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/elseif new file mode 100644 index 0000000..63f624c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/elseif @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: elseif +# -- +else if (${1:condition}) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/fopen b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/fopen new file mode 100644 index 0000000..72f5b44 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/fopen @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: FILE *fp = fopen(..., ...); +# key: fopenf +# -- +FILE *${f} = fopen(${"file"}, "${r}"); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/for b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/for new file mode 100644 index 0000000..304e7cf --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/for @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: for +# key: for +# uuid: for +# -- +for (${1:i = 0}; ${2:i < N}; ${3:i++}) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/if b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/if new file mode 100644 index 0000000..38ade6b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/if @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name : if (...) { ... } +# key: if +# uuid: if +# -- +if (${1:condition}) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/ifdef b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/ifdef new file mode 100644 index 0000000..7e6f78a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/ifdef @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: ifdef +# key: ifdef +# uuid: ifdef +# -- +#ifdef ${1:MACRO} + +$0 + +#endif // $1 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/inc b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/inc new file mode 100644 index 0000000..75acbe2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/inc @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: #include "..." +# -- +#include "$0" \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/incc b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/incc new file mode 100644 index 0000000..b150d38 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/incc @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: #include <...> +# -- +#include <$0> \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/main b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/main new file mode 100644 index 0000000..2733abb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/main @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: main +# -- +int main(${1:int argc, char *argv[]}) { + $0 + return 0; +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/once b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/once new file mode 100644 index 0000000..b982970 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/once @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: #ifndef XXX; #define XXX; #endif +# key: once +# uuid: once +# -- +#ifndef ${1:`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H} +#define $1 + +$0 + +#endif /* $1 */ \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/struct b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/struct new file mode 100644 index 0000000..e0ecf26 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/struct @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: struct ... { ... } +# key: struct +# uuid: struct +# -- +struct ${1:name} { + $0 +}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/switch b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/switch new file mode 100644 index 0000000..6dff3db --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/switch @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: switch +# -- +switch (${1:variable}) { + case ${2:value}: $0break; +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/ternary b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/ternary new file mode 100644 index 0000000..3e069cc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/ternary @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: ternary +# key: ? +# uuid: ? +# -- +(${1:cond}) ? ${2:then} : ${3:else}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/typedef b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/typedef new file mode 100644 index 0000000..61d0d45 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/typedef @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: typedef +# -- +typedef ${1:type} ${2:alias}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/while b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/while new file mode 100644 index 0000000..834caa5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/while @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: while +# -- +while (${1:condition}) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/.yas-parents b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/.yas-parents new file mode 100644 index 0000000..2f29616 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/.yas-parents @@ -0,0 +1 @@ +cc-mode text-mode prog-mode \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib new file mode 100644 index 0000000..3d835f8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: private attribute ....; +# key: attrib +# uuid: attrib +# -- +/// +/// $3 +/// +private $1 $2; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib.1 b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib.1 new file mode 100644 index 0000000..dd7669f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib.1 @@ -0,0 +1,24 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: private attribute ....; public property ... ... { ... } +# key: attrib +# uuid: attrib +# -- +/// +/// $3 +/// +private $1 $2; + +/// +/// $4 +/// +/// $5 +public $1 $2 +{ + get { + return this.$2; + } + set { + this.$2 = value; + } +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib.2 b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib.2 new file mode 100644 index 0000000..b152875 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/attrib.2 @@ -0,0 +1,24 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: private _attribute ....; public Property ... ... { ... } +# key: attrib +# uuid: attrib +# -- +/// +/// $3 +/// +private $1 ${2:$(if (> (length yas-text) 0) (format "_%s%s" (downcase (substring yas-text 0 1)) (substring yas-text 1 (length yas-text))) "")}; + +/// +/// ${3:Description} +/// +/// $1 +public ${1:Type} ${2:Name} +{ + get { + return this.${2:$(if (> (length yas-text) 0) (format "_%s%s" (downcase (substring yas-text 0 1)) (substring yas-text 1 (length yas-text))) "")}; + } + set { + this.${2:$(if (> (length yas-text) 0) (format "_%s%s" (downcase (substring yas-text 0 1)) (substring yas-text 1 (length yas-text))) "")} = value; + } +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/class b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/class new file mode 100644 index 0000000..8b03934 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/class @@ -0,0 +1,24 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: class ... { ... } +# key: class +# uuid: class +# -- +${5:public} class ${1:Name} +{ + #region Ctor & Destructor + /// + /// ${3:Standard Constructor} + /// + public $1($2) + { + } + + /// + /// ${4:Default Destructor} + /// + public ~$1() + { + } + #endregion +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment new file mode 100644 index 0000000..d4a4712 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: /// ... +# key: comment +# uuid: comment +# -- +/// +/// $1 +/// \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.1 b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.1 new file mode 100644 index 0000000..202dc4a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.1 @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: /// ... +# key: comment +# uuid: comment +# -- +/// $2 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.2 b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.2 new file mode 100644 index 0000000..a5dd138 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.2 @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: /// ... +# key: comment +# uuid: comment +# -- +/// $1 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.3 b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.3 new file mode 100644 index 0000000..4a17b61 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/comment.3 @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: /// ... +# key: comment +# uuid: comment +# -- +/// $2 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method new file mode 100644 index 0000000..742ff77 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/method @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: public void Method { ... } +# key: method +# uuid: method +# -- +/// +/// ${5:Description} +/// ${2:$(if (string= (upcase yas-text) "VOID") "" (format "%s%s%s" "\n/// " yas-text ""))} +${1:public} ${2:void} ${3:MethodName}($4) +{ +$0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/namespace b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/namespace new file mode 100644 index 0000000..ac9c143 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/namespace @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: namespace .. { ... } +# key: namespace +# uuid: namespace +# -- +namespace $1 +{ +$0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/prop b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/prop new file mode 100644 index 0000000..21d89dc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/prop @@ -0,0 +1,19 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: property ... ... { ... } +# key: prop +# uuid: prop +# -- +/// +/// $5 +/// +/// $6 +$1 $2 $3 +{ + get { + return this.$4; + } + set { + this.$4 = value; + } +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/region b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/region new file mode 100644 index 0000000..d92ebd9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/region @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: #region ... #endregion +# key: region +# uuid: region +# -- +#region $1 +$0 +#endregion \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using new file mode 100644 index 0000000..439c790 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: using ...; +# key: using +# uuid: using +# -- +using $1; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using.1 b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using.1 new file mode 100644 index 0000000..8799467 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using.1 @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: using System; +# key: using +# uuid: using +# -- +using System; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using.2 b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using.2 new file mode 100644 index 0000000..f1b12c3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/csharp-mode/using.2 @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: using System....; +# key: using +# uuid: using +# -- +using System.$1; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/importfont b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/importfont new file mode 100644 index 0000000..39faa2b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/importfont @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: @import url("//fonts.googleapis...") +# key: impfont +# uuid: impfont +# -- +@import url("http://fonts.googleapis.com/css?family=${1:Open+Sans}"); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/margin b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/margin new file mode 100644 index 0000000..6431e56 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/margin @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: margin: ...; +# key: mar +# uuid: mar +# -- +margin: ${1:0 auto}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media new file mode 100644 index 0000000..f58e11a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: @media +# key: med +# uuid: med +# -- +@media ${1:screen} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media_orientation b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media_orientation new file mode 100644 index 0000000..2aea9e0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media_orientation @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: @media (orientation: ?) +# condition: (looking-back "@media " (line-beginning-position)) +# -- +(orientation: ${1:landscape}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media_print b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media_print new file mode 100644 index 0000000..fdc89a2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/media_print @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: @media print { ... } +# -- +@media print { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/padding b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/padding new file mode 100644 index 0000000..e667956 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/padding @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: padding: ...; +# key: pad +# uuid: pad +# -- +padding: ${1:10px}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/property b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/property new file mode 100644 index 0000000..9bd42a7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/css-mode/property @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: ...: ...; +# key: : +# uuid: : +# -- +${1:prop}: ${2:}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/advise b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/advise new file mode 100644 index 0000000..2e74532 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/advise @@ -0,0 +1,9 @@ +# -*- 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 new file mode 100644 index 0000000..63a0fc2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/and @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..86c62c7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/append @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..894e746 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/apply @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..1bc181a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aref @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..40ed691 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/aset @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..f2de7c6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/assq @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..b76c3a1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/au @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..0658ee4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autodef @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..7ffdf3b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/autoload @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..d483463 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/backward-char @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..f0d4359 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/beginning-of-line @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..d74228f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/bounds-of-thing-at-point @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..9fe30b6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-file-name @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..cf4f2df --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-modified-p @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..d9c9dba --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..d286c08 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/buffer-substring-no-properties @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..f18c455 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/car @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..c5a2e1e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cdr @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..6f08a67 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cl-destructuring-bind @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..bc7bd50 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/concat @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..5e80e4b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/condition-case @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..82e8c98 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/cons @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..869e831 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/consp @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..9c89c78 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-directory @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..d79e1aa --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/copy-file @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..4d8217f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/current-buffer @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..c84d862 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/custom-autoload @@ -0,0 +1,8 @@ +# -*- 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! new file mode 100644 index 0000000..4579471 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/def-package! @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..80f18df --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defalias @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..f8b3749 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defconst @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..865cf39 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defcustom @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..6f0126b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/define-key @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..db7c62f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defsubst @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..96647f7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/defvar @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..b003ee4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-char @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..3cd42e4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-directory @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..3d280ec --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-file @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..8df1afa --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/delete-region @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..444bb03 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/directory-files @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..ec2df13 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/dired.process_marked @@ -0,0 +1,17 @@ +# -*- 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 new file mode 100644 index 0000000..e01053d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/end-of-line @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..704f6a3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/eq @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..2387712 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/equal @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..5f8d3c7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/error @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..fee7367 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/expand-file-name @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..af9d098 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/fboundp @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..f899866 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-directory @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..8e2665f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-extension @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..a637eb7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-nondirectory @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..c97007c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-name-sans-extension @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..634caaf --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file-relative-name @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..cbf0563 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.process @@ -0,0 +1,18 @@ +# -*- 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 new file mode 100644 index 0000000..0cf8d25 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/file.read-lines @@ -0,0 +1,18 @@ +# -*- 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 new file mode 100644 index 0000000..8f74392 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-file @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..3372a23 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/find-replace @@ -0,0 +1,18 @@ +# -*- 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 new file mode 100644 index 0000000..993ac1d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/format @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..c1aa8a0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-char @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..79d91ca --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/forward-line @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..df30971 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/funcall @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..db9565a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/function @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..1fa0a11 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/get @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..0c9f70e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/global-set-key @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..3eeec19 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/goto-char @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..95f52b6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabstring @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..de0cd3f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/grabthing @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..18398b5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..2adf3e7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/if-let-2 @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..ea1a081 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..1fcc121 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/insert-file-contents @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..3413c41 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/int @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..916bc85 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/interactive @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..50b26c0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kbd @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..27d0f44 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/kill-buffer @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..50cf6ff --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/lam @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..8f89a17 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/length @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..d6f9bcc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-beginning-position @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..986732b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/line-end-position @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..b19d670 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/list @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..79d554a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/looking-at @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..6eec6ff --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-directory @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..ee3a5e6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-hash-table @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..fea5a14 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/make-local-variable @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..4ea1bed --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapc @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..f1ef8e9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/mapcar @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..6694bb7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-beginning @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..9fc2690 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-end @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..c64d45b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/match-string @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..33fbf30 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/memq @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..76f2650 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/message @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..214a00c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/minor_mode @@ -0,0 +1,21 @@ +# -*- 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 new file mode 100644 index 0000000..78bec14 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/not @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..b8b6351 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/nth @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..006715b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/optional @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..e865ba5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/or @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..55b6623 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..389a243 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-max @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..9bf5c5e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/point-min @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..f0c308c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/princ @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..2649da8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/print @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..374effc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/provide @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..0f8b96f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/put @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..eb3f210 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-backward @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..970b23e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/re-search-forward @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..d696b97 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-active-p @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..8c06c3f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-beginning @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..1ab4f60 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/region-end @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..e61ee95 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rename-file @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..754fd26 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/repeat @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..b2a78aa --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..4648f3d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/replace-regexp-in-string @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..eed355f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/require @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..af50300 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/rest @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..0f7df36 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/save-buffer @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..9ef33cc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..43f4bb1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-backward-regexp @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..cb20dd2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..e70e3cb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/search-forward-regexp @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..c6f34aa --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..b8692a9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-buffer @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..bc3aa1e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-file-modes @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..245cea9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/set-mark @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..8dcb8c4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..c69fe3a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/setq-default @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..c51cc5e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-backward @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..e3a6b00 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/skip-chars-forward @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..9a59963 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/split-string @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..b102d6e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..67ae912 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..d7ab230 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-match-p @@ -0,0 +1,4 @@ +# -*- 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 new file mode 100644 index 0000000..3a108bd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string-to-number @@ -0,0 +1,6 @@ +# -*- 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= new file mode 100644 index 0000000..c6d2743 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/string= @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..7827762 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/stringp @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..0df2462 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/substring @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..eb0ef1b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/thing-at-point @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..1bf675f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/traverse_dir @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..3c1bbba --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/use-package @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..af13f98 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/vector @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..e74471a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/widget-get @@ -0,0 +1,8 @@ +# -*- 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 new file mode 100644 index 0000000..e2cadda --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word-or-region @@ -0,0 +1,28 @@ +# -*- 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 new file mode 100644 index 0000000..c94419d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/word_regexp @@ -0,0 +1,6 @@ +# -*- 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 new file mode 100644 index 0000000..81becbd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-dired.process_marked @@ -0,0 +1,19 @@ +# -*- 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 new file mode 100644 index 0000000..ec6870a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.process @@ -0,0 +1,20 @@ +# -*- 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 new file mode 100644 index 0000000..0b034a1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-file.read-lines @@ -0,0 +1,20 @@ +# -*- 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 new file mode 100644 index 0000000..8aadfc9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-find-replace @@ -0,0 +1,20 @@ +# -*- 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 new file mode 100644 index 0000000..4a5c008 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabstring @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..f59a37d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-grabthing @@ -0,0 +1,7 @@ +# -*- 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 new file mode 100644 index 0000000..57c487d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-traverse_dir @@ -0,0 +1,9 @@ +# -*- 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 new file mode 100644 index 0000000..846c59f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/x-word-or-region @@ -0,0 +1,30 @@ +# -*- 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 new file mode 100644 index 0000000..c47d287 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/y-or-n-p @@ -0,0 +1,5 @@ +# -*- 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 new file mode 100644 index 0000000..fb2b64b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/emacs-lisp-mode/yes-or-no-p @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: y-or-n-p +# key: yesno +# -- +(yes-or-no-p "$1") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/case b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/case new file mode 100644 index 0000000..0b2241b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/case @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: case +# key: case +# uuid: case +# -- +case ${1:var} of + ${2:cond} -> ${3:value} + $0 + otherwise -> ${4:other} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/data b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/data new file mode 100644 index 0000000..98ed8b4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/data @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: data +# key: da +# uuid: da +# -- +data ${1:Type} = $2 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/doc b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/doc new file mode 100644 index 0000000..390e096 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/doc @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: doc +# key: d +# uuid: d +# -- +{- + $0 +-} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/function b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/function new file mode 100644 index 0000000..ba1ebe9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/function @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: Function +# key: :: +# uuid: :: +# -- +${1:fn-name} :: ${2:type} +$1 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/import b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/import new file mode 100644 index 0000000..2e5913b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/import @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: import +# key: import +# uuid: import +# -- +import${1: qualified} ${2:Module${3:(symbols)}}${4: as ${5:alias}} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/instance b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/instance new file mode 100644 index 0000000..e0bf941 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/instance @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: instance +# key: ins +# uuid: ins +# -- +instance ${1:${2:(Show a)} => }${3:Ord} ${4:DataType} where +$0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/main b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/main new file mode 100644 index 0000000..65f6f06 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/main @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: main +# key: main +# uuid: main +# -- +main = do $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/module b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/module new file mode 100644 index 0000000..0155fa1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/module @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: module +# key: mod +# uuid: mod +# -- +module ${1:Module} where +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/new-class b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/new-class new file mode 100644 index 0000000..76c3741 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/new-class @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: new class +# key: class +# uuid: class +# -- +class ${1:Class Name} where + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/pragma b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/pragma new file mode 100644 index 0000000..0b95488 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/pragma @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: pragma +# key: { +# uuid: { +# -- +{-# ${1:PRAGMA} #-} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/print b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/print new file mode 100644 index 0000000..db6c70a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/print @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: print +# key: pr +# uuid: pr +# -- +print $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dd b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dd new file mode 100644 index 0000000..30cbeb5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dd @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# contributor: Rodrigo Setti +# name:
...
+# group: list +# -- +
$1
\ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dl b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dl new file mode 100644 index 0000000..1753361 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dl @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# contributor: Rodrigo Setti +# name:
...
+# group: list +# -- +
+ $0 +
diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype new file mode 100644 index 0000000..7bffad7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: Doctype HTML 5 +# group: meta +# -- + diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhml1 b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhml1 new file mode 100644 index 0000000..b94dbf4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhml1 @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: DocType XHTML 1.0 frameset +# group: meta +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_1 b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_1 new file mode 100644 index 0000000..875547d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_1 @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: DocType XHTML 1.1 +# group: meta +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_strict b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_strict new file mode 100644 index 0000000..8ddc158 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_strict @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: DocType XHTML 1.0 Strict +# group: meta +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_transitional b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_transitional new file mode 100644 index 0000000..144bc43 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/doctype.xhtml1_transitional @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: DocType XHTML 1.0 Transitional +# group: meta +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dt b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dt new file mode 100644 index 0000000..7641c8e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/dt @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# contributor: Rodrigo Setti +# name:
...
+# group: list +# -- +
$1
\ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/form b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/form new file mode 100644 index 0000000..5511388 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/form @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# contributor: Jimmy Wu +# name:
+# -- +
+ $0 +
\ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/html b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/html new file mode 100644 index 0000000..8600a33 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/html @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# contributor: Jimmy Wu +# name: ... +# -- + + $0 + diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/html.xmlns b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/html.xmlns new file mode 100644 index 0000000..a85689b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/html.xmlns @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# contributor: Jimmy Wu +# name: ... +# -- + + $0 + diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/link b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/link new file mode 100644 index 0000000..3f97d00 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/link @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: +# key: link +# uuid: link +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/linkie b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/linkie new file mode 100644 index 0000000..6e2c2ee --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/linkie @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: +# -- + diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/meta b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/meta new file mode 100644 index 0000000..6cad73a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/meta @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# contributor : Jimmy Wu +# group: meta +# name: +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/meta.http-equiv b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/meta.http-equiv new file mode 100644 index 0000000..a7a5a50 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/meta.http-equiv @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# contributor: Jimmy Wu +# name: +# group: meta +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/script b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/script new file mode 100644 index 0000000..d36430e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/script @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/scriptsrc b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/scriptsrc new file mode 100644 index 0000000..db4dbe5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/scriptsrc @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/textarea b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/textarea new file mode 100644 index 0000000..d3f5c7a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/textarea @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# contributor: Jimmy Wu +# name: +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/th b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/th new file mode 100644 index 0000000..6d3e21a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/html-mode/th @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# contributor: Jimmy Wu +# name: ... +# group: table +# -- +$2 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/.yas-parents b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/.yas-parents new file mode 100644 index 0000000..2f29616 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/.yas-parents @@ -0,0 +1 @@ +cc-mode text-mode prog-mode \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/@param b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/@param new file mode 100644 index 0000000..9c7ed49 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/@param @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: param +# key: @param +# uuid: @param +# condition: (sp-point-in-comment) +# -- +@param ${1:paramater} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/@return b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/@return new file mode 100644 index 0000000..f59a873 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/@return @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: return +# key: @return +# uuid: @return +# condition: (sp-point-in-comment) +# -- +@return ${1:description} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/apr_assert b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/apr_assert new file mode 100644 index 0000000..dca9f95 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/apr_assert @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: apr_assert +# key: apr_assert +# uuid: apr_assert +# -- +if (Globals.useAssertions) { + ${1:assert ..}; +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/class b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/class new file mode 100644 index 0000000..4b23f00 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/class @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: class +# key: class +# uuid: class +# -- +${1:public }class ${2:`(f-base buffer-file-name)`} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/constructor b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/constructor new file mode 100644 index 0000000..7a379cd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/constructor @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: constructor +# key: __init__ +# uuid: __init__ +# -- +public ${1:`(f-base buffer-file-name)`}($2) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/doc b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/doc new file mode 100644 index 0000000..7108ccf --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/doc @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: doc +# key: /* +# uuid: /* +# condition: (not (use-region-p)) +# -- +/** + * $0 + */ \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/equals b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/equals new file mode 100644 index 0000000..9b66be5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/equals @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: equals +# key: eq +# uuid: eq +# -- +public boolean equals(${1:Class} other) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class new file mode 100644 index 0000000..a0685b3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: file_class +# key: file +# uuid: file +# -- +public class ${1:`(file-name-base + (or (buffer-file-name) + (buffer-name)))`} { + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/for b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/for new file mode 100644 index 0000000..64b99d2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/for @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: for +# key: for +# uuid: for +# -- +for (${1:int i = 0}; ${2:i < N}; ${3:i++}) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/foreach b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/foreach new file mode 100644 index 0000000..236a446 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/foreach @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: foreach +# key: fore +# uuid: fore +# -- +for (${1:Object} ${2:var} : ${3:iterator}) { + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/if b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/if new file mode 100644 index 0000000..bddbdd5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/if @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: if +# key: if +# uuid: if +# condition: (not (sp-point-in-string-or-comment)) +# -- +if (${1:true}) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/ife b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/ife new file mode 100644 index 0000000..0158f7a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/ife @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: ife +# key: ife +# uuid: ife +# -- +if (${1:true}) { + $2 +} else { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/import b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/import new file mode 100644 index 0000000..f863d97 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/import @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: import +# -- +import ${1:System.}; +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/interface b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/interface new file mode 100644 index 0000000..b5cac51 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/interface @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: interface +# key: interface +# uuid: interface +# -- +interface ${1:`(f-base buffer-file-name)`} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/iterator b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/iterator new file mode 100644 index 0000000..523310c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/iterator @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: iterator +# key: iterator +# uuid: iterator +# -- +public Iterator<${1:type}> iterator() { + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/javadoc b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/javadoc new file mode 100644 index 0000000..af9c339 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/javadoc @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: javadoc +# key: doc +# uuid: doc +# -- +/** + * $0 + * + */ \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/main b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/main new file mode 100644 index 0000000..7b51d33 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/main @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: main +# key: main +# uuid: main +# -- +public static void main(String[] args) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/method b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/method new file mode 100644 index 0000000..d7159d4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/method @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: method +# key: method +# uuid: method +# condition: (not (sp-point-in-string-or-comment)) +# -- +${1:void} ${2:name}($3) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/method@ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/method@ new file mode 100644 index 0000000..697dbcb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/method@ @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: @Override method +# key: method@ +# uuid: method@ +# condition: (not (sp-point-in-string-or-comment)) +# -- +@Override ${1:public} ${2:void} ${3:methodName}($4) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/new b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/new new file mode 100644 index 0000000..6c811c7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/new @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: new +# key: new +# uuid: new +# -- +${1:Type} ${2:obj} = new ${3:$1}($4);$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/paintComponent b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/paintComponent new file mode 100644 index 0000000..21770fc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/paintComponent @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: paintComponent (Swing) +# key: paintComponent +# uuid: paintComponent +# condition: (not (sp-point-in-string-or-comment)) +# -- +@Override public void paintComponent(Graphics g) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/printf b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/printf new file mode 100644 index 0000000..6936057 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/printf @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: printf +# key: printf +# uuid: printf +# -- +System.out.printf("$0%n"); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/println b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/println new file mode 100644 index 0000000..d8e46bc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/println @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: println +# key: println +# uuid: println +# -- +System.out.println("$0"); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/private b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/private new file mode 100644 index 0000000..32e58fe --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/private @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: private +# key: pri +# uuid: pri +# -- +private $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/protected b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/protected new file mode 100644 index 0000000..cdc4c24 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/protected @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: protected +# key: pr +# uuid: pr +# -- +protected $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/public b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/public new file mode 100644 index 0000000..378b360 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/public @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: public +# key: p +# uuid: p +# -- +public $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/return b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/return new file mode 100644 index 0000000..27b6818 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/return @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: return +# key: ret +# uuid: ret +# condition: (not (sp-point-in-string-or-comment)) +# -- +return $0; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/test b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/test new file mode 100644 index 0000000..2aa4d2d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/test @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: test +# key: test +# uuid: test +# -- +@Test +public void test_${1:Case}() { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/testClass b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/testClass new file mode 100644 index 0000000..6bdeb91 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/testClass @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: testClass +# key: tc +# uuid: tc +# -- +import junit.framework.*; +import junit.textui.*; + +public class Test${1:Class} extends TestCase { + protected void setUp() { + $0 + } +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/this b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/this new file mode 100644 index 0000000..2f67688 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/this @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: this +# key: . +# uuid: . +# -- +this.$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/toString b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/toString new file mode 100644 index 0000000..2e60c9d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/toString @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: toString +# key: toStr +# uuid: toStr +# -- +public String toString() { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/try b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/try new file mode 100644 index 0000000..3ce4885 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/try @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: try +# key: try +# uuid: try +# condition: (not (sp-point-in-string-or-comment)) +# -- +try { + $0 +} catch (${1:Throwable} e) { + ${2:System.out.println("Error " + e.getMessage()); + e.printStackTrace();} +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/var b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/var new file mode 100644 index 0000000..7d9a3c6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/var @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: variable declaration +# key: var +# uuid: var +# condition: (not (sp-point-in-string-or-comment)) +# -- +${1:int} ${2:variable} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/var= b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/var= new file mode 100644 index 0000000..81afb6a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/var= @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: variable declaration & assignment +# key: var= +# uuid: var= +# condition: (not (sp-point-in-string-or-comment)) +# -- +${1:int} ${2:variable} = $0; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/void b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/void new file mode 100644 index 0000000..71d7e81 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/void @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: void +# key: v +# uuid: v +# -- +void $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/while b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/while new file mode 100644 index 0000000..42dbb9b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/while @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: while loop +# key: while +# uuid: while +# condition: (not (sp-point-in-string-or-comment)) +# -- +while (${1:true}) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/json-mode/eslintConfig b/Emacs/.config/emacs/.config/yasnippet/snippets/json-mode/eslintConfig new file mode 100644 index 0000000..8c9d2c4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/json-mode/eslintConfig @@ -0,0 +1,19 @@ +# -*- mode: snippet -*- +# name: eslintConfig +# key: eslint +# uuid: eslint +# condition: (equal (file-name-nondirectory buffer-file-name) "package.json") +# -- +"eslintConfig": { + "env": { + "es6": true, + "browser": true, + "commonjs": true, + "node": true + }, + "parserOptions": { + "ecmaFeatures": { + "jsx": true + } + } +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/acronym b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/acronym new file mode 100644 index 0000000..41fafdd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/acronym @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: acronym +# key: ac +# uuid: ac +# -- +\newacronym{${1:label}}{${1:$(upcase yas-text)}}{${2:Name}} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/alertblock b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/alertblock new file mode 100644 index 0000000..c8cfb62 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/alertblock @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: alertblock +# key: al +# uuid: al +# -- +\begin{alertblock}{$2} + ${0:} +\end{alertblock} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/alg b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/alg new file mode 100644 index 0000000..568cf95 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/alg @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: alg +# key: alg +# uuid: alg +# -- +\begin{algorithmic} +${0:} +\end{algorithmic} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/axiom b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/axiom new file mode 100644 index 0000000..54d9b83 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/axiom @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: axiom +# key: axm +# group: theorems +# -- +\begin{axiom} +$0 +\end{axiom} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/begin b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/begin new file mode 100644 index 0000000..f998ce3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/begin @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: begin +# key: begin +# uuid: begin +# -- +\begin{${1:environment}} +$0 +\end{$1} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/bigcap_^ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/bigcap_^ new file mode 100644 index 0000000..b9a8319 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/bigcap_^ @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: bigcap_^ +# key: cap +# -- +\bigcap${1:$(when (> (length yas-text) 0) "_") +}${1:$(when (> (length yas-text) 1) "{") +}${1:i=0}${1:$(when (> (length yas-text) 1) "}") +}${2:$(when (> (length yas-text) 0) "^") +}${2:$(when (> (length yas-text) 1) "{") +}${2:n}${2:$(when (> (length yas-text) 1) "}")} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/bigcup_^ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/bigcup_^ new file mode 100644 index 0000000..d6c58e5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/bigcup_^ @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: bigcup_^ +# key: cup +# -- +\bigcup${1:$(when (> (length yas-text) 0) "_") +}${1:$(when (> (length yas-text) 1) "{") +}${1:i=0}${1:$(when (> (length yas-text) 1) "}") +}${2:$(when (> (length yas-text) 0) "^") +}${2:$(when (> (length yas-text) 1) "{") +}${2:n}${2:$(when (> (length yas-text) 1) "}")} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/block b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/block new file mode 100644 index 0000000..7c4ebd6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/block @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: block +# key: bl +# uuid: bl +# -- +\begin{block}{$1} + ${0:} +\end{block} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/capgls b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/capgls new file mode 100644 index 0000000..5a5d021 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/capgls @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: Gls +# key: G +# uuid: G +# condition: (not (save-restriction (widen) (texmathp))) +# -- +\Gls{${1:label}} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/caption b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/caption new file mode 100644 index 0000000..6d36c67 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/caption @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: caption +# key: ca +# uuid: ca +# -- +\caption{${0:}} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/cite b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/cite new file mode 100644 index 0000000..b584ba7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/cite @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: cite +# key: c +# uuid: c +# condition: (not (save-restriction (widen) (texmathp))) +# -- +\cite{$1} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/code b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/code new file mode 100644 index 0000000..3ebea95 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/code @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: code +# key: code +# uuid: code +# -- +\begin{lstlisting} +${0:} +\end{lstlisting} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/columns b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/columns new file mode 100644 index 0000000..2d70450 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/columns @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: columns +# key: cols +# uuid: cols +# -- +\begin{columns} + \begin{column}{.${1:5}\textwidth} + $0 + \end{column} + + \begin{column}{.${2:5}\textwidth} + + \end{column} +\end{columns} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/corollary b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/corollary new file mode 100644 index 0000000..f9590bc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/corollary @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: corollary +# key: clr +# group: theorems +# -- +\begin{corollary} +$0 +\end{corollary} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/definition b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/definition new file mode 100644 index 0000000..bf16e98 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/definition @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: definition +# key: def +# group: theorems +# -- +\begin{definition} +$0 +\end{definition} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/emph b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/emph new file mode 100644 index 0000000..3b091c2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/emph @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: emph +# key: e +# uuid: e +# condition: (not (save-restriction (widen) (texmathp))) +# -- +\emph{${1:}}$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/enumerate b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/enumerate new file mode 100644 index 0000000..6e38ec9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/enumerate @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: enumerate +# key: en +# uuid: en +# -- +\begin{enumerate} +${0:} +\end{enumerate} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/exercise b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/exercise new file mode 100644 index 0000000..05b5a48 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/exercise @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: exercise +# key: exc +# group: theorems +# -- +\begin{exercise} +$0 +\end{exercise} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/figure b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/figure new file mode 100644 index 0000000..cd84b8d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/figure @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: figure +# key: fig +# uuid: fig +# -- +\begin{figure}[ht] + \centering + \includegraphics[${1:options}]{figures/${2:path.pdf}} + \caption{\label{fig:${3:label}} $0} +\end{figure} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/frac b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/frac new file mode 100644 index 0000000..3989e42 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/frac @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: frac +# key: frac +# uuid: frac +# -- +\frac{${1:`(or % "numerator")`}}{${2:denominator}}$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/frame b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/frame new file mode 100644 index 0000000..bc74ffc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/frame @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: frame +# key: fr +# uuid: fr +# -- +\begin{frame}${1:[$2]} + ${3:\frametitle{$4}} + ${0:} +\end{frame} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/gls b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/gls new file mode 100644 index 0000000..d21eb63 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/gls @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: gls +# key: g +# uuid: g +# condition: (not (save-restriction (widen) (texmathp))) +# -- +\gls{${1:label}} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/glspl b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/glspl new file mode 100644 index 0000000..4a613b7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/glspl @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: glspl +# key: gp +# uuid: gp +# -- +\glspl{${1:label}} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/if b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/if new file mode 100644 index 0000000..a7a7133 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/if @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: if +# key: if +# uuid: if +# -- +\IF {$${1:cond}$} + $0 +\ELSE +\ENDIF diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/includegraphics b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/includegraphics new file mode 100644 index 0000000..dc290e3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/includegraphics @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: includegraphics +# key: ig +# uuid: ig +# -- +\includegraphics${1:[$2]}{$0} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/int_^ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/int_^ new file mode 100644 index 0000000..9edfb61 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/int_^ @@ -0,0 +1,9 @@ +# key: int +# name: int_^ +# -- +\int${1:$(when (> (length yas-text) 0) "_") +}${1:$(when (> (length yas-text) 1) "{") +}${1:left}${1:$(when (> (length yas-text) 1) "}") +}${2:$(when (> (length yas-text) 0) "^") +}${2:$(when (> (length yas-text) 1) "{") +}${2:right}${2:$(when (> (length yas-text) 1) "}")} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/item b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/item new file mode 100644 index 0000000..49d61c7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/item @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: item +# key: - +# uuid: - +# condition: (not (save-restriction (widen) (texmathp))) +# -- +\item ${0:} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/itemize b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/itemize new file mode 100644 index 0000000..dc64b1c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/itemize @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: itemize +# key: it +# uuid: it +# -- +\begin{itemize} +${0:} +\end{itemize} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/label b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/label new file mode 100644 index 0000000..237ef67 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/label @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: label +# key: lab +# uuid: lab +# -- +\label{$0} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/lemma b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/lemma new file mode 100644 index 0000000..40aebf8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/lemma @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: lemma +# key: lmm +# group: theorems +# -- +\begin{lemma} +$0 +\end{lemma} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/lim b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/lim new file mode 100644 index 0000000..db43ca3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/lim @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: lim +# key: lim +# -- +\lim_{${1:n} \to ${2:\infty}} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/liminf b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/liminf new file mode 100644 index 0000000..19ae703 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/liminf @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: liminf +# key: liminf +# -- +\liminf_{${1:n} \to ${2:\infty}} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/limsup b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/limsup new file mode 100644 index 0000000..bdba92b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/limsup @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: limsup +# key: limsup +# -- +\limsup_{${1:n} \to ${2:\infty}} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/listing b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/listing new file mode 100644 index 0000000..36f34b8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/listing @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: listing +# key: lst +# uuid: lst +# -- +\begin{lstlisting}[float,label=lst:${1:label},caption=nextHopInfo: ${2:caption}] +${0:} +\end{lstlisting} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/mathclap b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/mathclap new file mode 100644 index 0000000..872794a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/mathclap @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: mathclap +# key: mc +# -- +\mathclap{$0} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/movie b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/movie new file mode 100644 index 0000000..2047bbf --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/movie @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: movie +# key: movie +# uuid: movie +# -- +\begin{center} +\includemovie[ + label=test, + controls=false, + text={\includegraphics[width=4in]{${1:image.pdf}}} +]{4in}{4in}{${2:video file}} + +\movieref[rate=3]{test}{Play Fast} +\movieref[rate=1]{test}{Play Normal Speed} +\movieref[rate=0.2]{test}{Play Slow} +\movieref[resume]{test}{Pause/Resume} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/newcommand b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/newcommand new file mode 100644 index 0000000..69da1fd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/newcommand @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: newcommand +# key: cmd +# uuid: cmd +# -- +\newcommand{\\${1:name}}${2:[${3:0}]}{$0} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/newglossaryentry b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/newglossaryentry new file mode 100644 index 0000000..45fe438 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/newglossaryentry @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: newglossaryentry +# key: gl +# uuid: gl +# -- +\newglossaryentry{${1:AC}}{name=${2:Andrea Crotti}${3:, description=${4:description}}} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/note b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/note new file mode 100644 index 0000000..4e80006 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/note @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: note +# key: no +# uuid: no +# -- +\note{${0:}} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/prod_^ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/prod_^ new file mode 100644 index 0000000..aaa1544 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/prod_^ @@ -0,0 +1,9 @@ +# key: prod +# name: prod_^ +# -- +\prod${1:$(when (> (length yas-text) 0) "_") +}${1:$(when (> (length yas-text) 1) "{") +}${1:i=0}${1:$(when (> (length yas-text) 1) "}") +}${2:$(when (> (length yas-text) 0) "^") +}${2:$(when (> (length yas-text) 1) "{") +}${2:n}${2:$(when (> (length yas-text) 1) "}")} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/proof b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/proof new file mode 100644 index 0000000..37c58d0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/proof @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: proof +# key: prf +# group: theorems +# -- +\begin{proof} +$0 +\end{proof} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/python b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/python new file mode 100644 index 0000000..2f05399 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/python @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: python +# key: py +# uuid: py +# -- +\lstset{language=python} +\begin[language=python]{lstlisting} +${0:} +\end{lstlisting} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/question b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/question new file mode 100644 index 0000000..1b41306 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/question @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: question +# key: q +# uuid: q +# condition: (not (save-restriction (widen) (texmathp))) +# -- +\question{${0:}} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/remark b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/remark new file mode 100644 index 0000000..176ed84 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/remark @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: remark +# key: rmk +# group: theorems +# -- +\begin{remark} +$0 +\end{remark} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/root b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/root new file mode 100644 index 0000000..55fc666 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/root @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: sqrt[]{} +# key: root +# -- +\sqrt[$1]{$2} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/section b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/section new file mode 100644 index 0000000..c9b7709 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/section @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: section +# key: sec +# uuid: sec +# -- +\section{${1:name}} +\label{sec:${2:label}} + +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/sqrt b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/sqrt new file mode 100644 index 0000000..705d977 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/sqrt @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: sqrt +# key: sq +# -- +\sqrt{$1}$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subf b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subf new file mode 100644 index 0000000..58b1853 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subf @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: subf +# key: sf +# uuid: sf +# -- +\subfigure[${1:caption}]{ + \label{fig:${2:label}} + \includegraphics[width=.${3:3}\textwidth]{${4:path}}} +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subfigure b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subfigure new file mode 100644 index 0000000..dc2fe84 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subfigure @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: subfigure +# key: subfig +# uuid: subfig +# -- +\begin{figure}[ht] + \centering + \subfigure[$1] + {\label{fig:${2:label}} + \includegraphics[width=.${3:5}\textwidth]{${4:path}}} + + \caption{${5:caption}} +\label{fig:${6:label}} +\end{figure} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subsec b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subsec new file mode 100644 index 0000000..c716170 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/subsec @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: subsec +# key: sub +# uuid: sub +# -- +\subsection{${1:name}} +\label{subsec:${2:label}} + +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/sum_^ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/sum_^ new file mode 100644 index 0000000..4071127 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/sum_^ @@ -0,0 +1,9 @@ +# key: sum +# name: sum_^ +# -- +\sum${1:$(when (> (length yas-text) 0) "_") +}${1:$(when (> (length yas-text) 1) "{") +}${1:i=0}${1:$(when (> (length yas-text) 1) "}") +}${2:$(when (> (length yas-text) 0) "^") +}${2:$(when (> (length yas-text) 1) "{") +}${2:n}${2:$(when (> (length yas-text) 1) "}")} $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/textbf b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/textbf new file mode 100644 index 0000000..8201e09 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/textbf @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: textbf +# key: b +# uuid: b +# condition: (not (save-restriction (widen) (texmathp))) +# -- +\textbf{$1}$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/theorem b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/theorem new file mode 100644 index 0000000..eff29da --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/theorem @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: theorem +# key: thm +# group: theorems +# -- +\begin{theorem} +$0 +\end{theorem} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/usepackage b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/usepackage new file mode 100644 index 0000000..67e3758 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/usepackage @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: usepackage +# key: pkg +# uuid: pkg +# -- +\usepackage{$0} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-interaction-mode/defun b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-interaction-mode/defun new file mode 100644 index 0000000..4dd266a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-interaction-mode/defun @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: defun +# key: defun +# uuid: defun +# -- +(defun ${1:fun} (${2:args}) + $0 +) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/class b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/class new file mode 100644 index 0000000..7f4547f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/class @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: defclass +# key: defc +# uuid: defc +# -- +(defclass ${1:name} (${2:inherits}) + (${4:slots}) + (:documentation "${3:...}")) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/cond b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/cond new file mode 100644 index 0000000..fe254dc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/cond @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: cond +# -- +(cond ($1)$2) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/defpackage b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/defpackage new file mode 100644 index 0000000..f1b7fc3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/defpackage @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: defpackage +# key: defp +# uuid: defp +# -- +(defpackage #:${1:name} + (:nicknames #:${2:nick}) + (:use #:cl #:closer-mop #:${3:package}) + (:shadow :${4.symbol}) + (:shadowing-import-from #:${5:package} #:${6:symbol}) + (:export :$0)) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/do b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/do new file mode 100644 index 0000000..e905a40 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/do @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: do +# key: do +# uuid: do +# -- +(do ((${1:var1} ${2:init-form} ${3:step-form}) + (${4:var2} ${5:init-form} ${6:step-form})) + (${7:condition} ${8:return-value}) + (${9:body})) +$0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/format b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/format new file mode 100644 index 0000000..0010752 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/format @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: format +# -- +(format t "~& $0 ~%") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/slot b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/slot new file mode 100644 index 0000000..42f0c3b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/slot @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: slot +# -- +(${1:name} :initarg :${1:$(yas/substr yas-text "[^: ]*")} + :initform (error ":${1:$(yas/substr yas-text "[^: ]*")} must be specified") + ;; :accessor ${1:$(yas/substr yas-text "[^: ]*")} + :reader ${1:$(yas/substr yas-text "[^: ]*")}-changed + :writer set-${1:$(yas/substr yas-text "[^: ]*")} + :type + :allocation ${3::class :instance} + :documentation "${2:about-slot}") +$0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/typecast b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/typecast new file mode 100644 index 0000000..1b61f47 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/lisp-mode/typecast @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: typecast +# name: cast +# -- +(coerce ${1:object} ${2:type}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-automake-mode/noinst_HEADERS b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-automake-mode/noinst_HEADERS new file mode 100644 index 0000000..2877a45 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-automake-mode/noinst_HEADERS @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: noinst_HEADERS +# key: noinst +# uuid: noinst +# -- +noinst_HEADERS = $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/PHONY b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/PHONY new file mode 100644 index 0000000..c64a5d9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/PHONY @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: PHONY +# key: phony +# uuid: phony +# -- +.PHONY: $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/echo b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/echo new file mode 100644 index 0000000..d1a288d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/echo @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: echo +# key: echo +# uuid: echo +# -- +@echo ${1:"message to output"} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/gen b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/gen new file mode 100644 index 0000000..28e2fe5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/gen @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: gen +# key: gen +# uuid: gen +# possibly add some smart control over the list +# -- +all: ${1:targets} + +$0 + +clean: + ${2:clean actions} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/if b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/if new file mode 100644 index 0000000..89617a8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/if @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: if +# key: if +# uuid: if +# -- +@if [ ${1:cond} ] + then $0 +fi diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/var b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/var new file mode 100644 index 0000000..aeb17b6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-bsdmake-mode/var @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: var +# key: $ +# uuid: $ +# -- +$(${1:VAR})$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/patsubst b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/patsubst new file mode 100644 index 0000000..902b260 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/patsubst @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: patsubst +# -- +$(patsubst ${1:from},${2:to},${3:src}) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/phony b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/phony new file mode 100644 index 0000000..d11d342 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/phony @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: phony +# -- +.PHONY = $0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/wildcard b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/wildcard new file mode 100644 index 0000000..efa944a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-gmake-mode/wildcard @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: wildcard +# -- +$(wildcard $0) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-mode/all b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-mode/all new file mode 100644 index 0000000..7d0b0e6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/makefile-mode/all @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: all +# key: all +# uuid: all +# -- +all: + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/code b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/code new file mode 100644 index 0000000..453bb40 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/code @@ -0,0 +1,6 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Code block +# -- +\`\`\`${1:lang} +$0 +\`\`\` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h1 b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h1 new file mode 100644 index 0000000..f5c5194 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h1 @@ -0,0 +1,6 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Header 1 (#) +# key: h1 +# uuid: h1 +# -- +# ${1:Header 1}`(unless markdown-asymmetric-header " #")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h2 b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h2 new file mode 100644 index 0000000..f1edaf5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h2 @@ -0,0 +1,6 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Header 2 (##) +# key: h2 +# uuid: h2 +# -- +## ${1:Header 2}`(unless markdown-asymmetric-header " ##")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h3 b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h3 new file mode 100644 index 0000000..0b36721 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h3 @@ -0,0 +1,6 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Header 3 +# key: h3 +# uuid: h3 +# -- +### ${1:Header 3}`(unless markdown-asymmetric-header " ###")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h4 b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h4 new file mode 100644 index 0000000..df69bfd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h4 @@ -0,0 +1,6 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Header 4 +# key: h4 +# uuid: h4 +# -- +#### ${1:Header 4}`(unless markdown-asymmetric-header " ####")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h5 b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h5 new file mode 100644 index 0000000..8d5408d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h5 @@ -0,0 +1,6 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Header 5 +# key: h5 +# uuid: h5 +# -- +##### ${1:Header 5}`(unless markdown-asymmetric-header " #####")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h6 b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h6 new file mode 100644 index 0000000..59ba638 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/h6 @@ -0,0 +1,6 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Header 6 +# key: h6 +# uuid: h6 +# -- +###### ${1:Header 6}`(unless markdown-asymmetric-header " ######")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/hr b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/hr new file mode 100644 index 0000000..a1a48f6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/hr @@ -0,0 +1,7 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: hr +# key: --- +# uuid: --- +# binding: direct-keybinding +# -- +------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/img b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/img new file mode 100644 index 0000000..3f0fb0f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/img @@ -0,0 +1,4 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Image +# -- +![${1:Alt Text}](${2:URL})$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/kbd b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/kbd new file mode 100644 index 0000000..4817324 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/kbd @@ -0,0 +1,4 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: ... +# -- +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/link b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/link new file mode 100644 index 0000000..2c12223 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/link @@ -0,0 +1,4 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Link +# -- +[${1:`(or % "text")`}](${2:http://$3})$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/ol b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/ol new file mode 100644 index 0000000..cf8e31a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/ol @@ -0,0 +1,5 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Ordered List +# -- +${1:1}. ${2:Text} +${1:$(number-to-string (1+ (string-to-number %)))}. $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rimg b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rimg new file mode 100644 index 0000000..e14964d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rimg @@ -0,0 +1,4 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Referenced Image +# -- +![${1:Alt Text}][$2]$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rlb b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rlb new file mode 100644 index 0000000..44b5f5e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rlb @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Reference Label +# contributor: Peng Deng +# -- +[${1:Reference}]: ${2:URL} $3 +$0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rlink b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rlink new file mode 100644 index 0000000..be20fa4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/rlink @@ -0,0 +1,4 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: Reference Link +# -- +[${1:Link Text}][$2]$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/utf8 b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/utf8 new file mode 100644 index 0000000..f21e9a6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/markdown-mode/utf8 @@ -0,0 +1,5 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: utf-8 encoding +# -- + +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/org-mode/abstract + toc b/Emacs/.config/emacs/.config/yasnippet/snippets/org-mode/abstract + toc deleted file mode 100644 index 2f13233..0000000 --- a/Emacs/.config/emacs/.config/yasnippet/snippets/org-mode/abstract + toc +++ /dev/null @@ -1,10 +0,0 @@ -# key: >> ${1:function calls} +${2:desired output} +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/eq b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/eq new file mode 100644 index 0000000..685506f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/eq @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: __eq__ +# key: eq +# uuid: eq +# group: dunder methods +# -- +def __eq__(self, other): + return self.$1 == other.$1 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/for b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/for new file mode 100644 index 0000000..edadb43 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/for @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: for ... in ... : ... +# key: for +# uuid: for +# group: control structure +# -- +for ${1:var} in ${2:collection}: + ${3:`(or % "pass")`} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/from b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/from new file mode 100644 index 0000000..52d27c9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/from @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: from +# key: from +# uuid: from +# group: general +# -- +from ${1:lib} import ${2:funs} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/function_docstring b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/function_docstring new file mode 100644 index 0000000..b7f77dc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/function_docstring @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: function_docstring +# key: fd +# uuid: fd +# group: definitions +# -- +def ${1:name}($2): + \"\"\"$3 + ${2:$(python-args-to-docstring)} + \"\"\" + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/if b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/if new file mode 100644 index 0000000..e055028 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/if @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: if +# key: if +# uuid: if +# group: control structure +# -- +if ${1:cond}: + ${2:`(or % "pass")`} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ife b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ife new file mode 100644 index 0000000..017e88a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ife @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: ife +# key: ife +# uuid: ife +# group: control structure +# -- +if $1: + ${2:`(or % "pass")`} +else: + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ifmain b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ifmain new file mode 100644 index 0000000..29a6650 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ifmain @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: ifmain +# -- +if __name__ == '__main__': + ${1:`(or % "pass")`} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/import b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/import new file mode 100644 index 0000000..2989140 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/import @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: import +# key: imp +# uuid: imp +# group: general +# -- +import ${1:lib}${2: as ${3:alias}} +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/init b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/init new file mode 100644 index 0000000..4d11fe6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/init @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: init +# key: init +# uuid: init +# group: definitions +# -- +def __init__(self${1:, args}): + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/init_docstring b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/init_docstring new file mode 100644 index 0000000..e3a8509 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/init_docstring @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: init_docstring +# key: initd +# uuid: initd +# group: definitions +# -- +def __init__(self$1): + \"\"\"$2 + ${1:$(python-args-to-docstring)} + \"\"\" + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/interact b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/interact new file mode 100644 index 0000000..85b0215 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/interact @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: interact +# key: int +# uuid: int +# -- +import code; code.interact(local=locals()) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ipdbdebug b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ipdbdebug new file mode 100644 index 0000000..6dabcfe --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/ipdbdebug @@ -0,0 +1,7 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: ipdb trace +# key: itr +# uuid: itr +# group: debug +# -- +import ipdb; ipdb.set_trace() \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/iter b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/iter new file mode 100644 index 0000000..83792d7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/iter @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: __iter__ +# key: iter +# uuid: iter +# group: dunder methods +# -- +def __iter__(self): + return ${1:iter($2)} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/lambda b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/lambda new file mode 100644 index 0000000..302d71c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/lambda @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: lambda +# key: lam +# uuid: lam +# -- +lambda ${1:x}: $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/list b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/list new file mode 100644 index 0000000..6934c76 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/list @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: list +# key: li +# uuid: li +# group: definitions +# -- +[${1:x} for $1 in ${2:list}] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logger_name b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logger_name new file mode 100644 index 0000000..ae7d86a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logger_name @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: logger_name +# key: ln +# uuid: ln +# -- +logger = logging.getLogger(__name__) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging new file mode 100644 index 0000000..df0a9b4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/logging @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: logging +# key: log +# uuid: log +# -- +logger = logging.getLogger("${1:name}") +logger.setLevel(logging.${2:level}) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/main b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/main new file mode 100644 index 0000000..d835607 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/main @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: main +# key: main +# uuid: main +# -- +def main(): + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/metaclass b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/metaclass new file mode 100644 index 0000000..9fce8cc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/metaclass @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: metaclass +# key: mt +# uuid: mt +# group: object oriented +# -- +__metaclass__ = type \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/method b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/method new file mode 100644 index 0000000..9eb1afa --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/method @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: method +# group: object oriented +# -- +def ${1:method_name}(self${2:, $3}): + $0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/method_docstring b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/method_docstring new file mode 100644 index 0000000..861e276 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/method_docstring @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: method_docstring +# key: defd +# uuid: defd +# group: object oriented +# -- +def ${1:name}(self$2): + \"\"\"$3 + ${2:$(python-args-to-docstring)} + \"\"\" + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/not_impl b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/not_impl new file mode 100644 index 0000000..00c35d1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/not_impl @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: not_impl +# key: not_impl +# uuid: not_impl +# -- +raise NotImplementedError \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/np b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/np new file mode 100644 index 0000000..21b05a7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/np @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: np +# key: np +# uuid: np +# group: general +# -- +import numpy as np +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/parse_args b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/parse_args new file mode 100644 index 0000000..dd3636a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/parse_args @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: parse_args +# key: pargs +# uuid: pargs +# group: argparser +# -- +def parse_arguments(): + parser = argparse.ArgumentParser(description='$1') + $0 + return parser.parse_args() \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/parser b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/parser new file mode 100644 index 0000000..4b85de0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/parser @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: parser +# key: pars +# uuid: pars +# group: argparser +# -- +parser = argparse.ArgumentParser(description='$1') +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/pass b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/pass new file mode 100644 index 0000000..c201916 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/pass @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: pass +# key: ps +# uuid: ps +# -- +pass \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/print b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/print new file mode 100644 index 0000000..867c8fc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/print @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: print +# key: p +# uuid: p +# -- +print($0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/prop b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/prop new file mode 100644 index 0000000..6ca454a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/prop @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# contributor: Mads D. Kristensen +# name: prop +# -- +def ${1:foo}(): + doc = """${2:Doc string}""" + def fget(self): + return self._$1 + + def fset(self, value): + self._$1 = value + + def fdel(self): + del self._$1 + return locals() +$1 = property(**$1()) + +$0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/reg b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/reg new file mode 100644 index 0000000..b4c5b60 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/reg @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: reg +# key: reg +# uuid: reg +# group: general +# -- +${1:regexp} = re.compile(r"${2:expr}") +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/repr b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/repr new file mode 100644 index 0000000..3aa66b9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/repr @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: __repr__ +# key: repr +# uuid: repr +# group: dunder methods +# -- +def __repr__(self): + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/return b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/return new file mode 100644 index 0000000..70eda2f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/return @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: return +# key: r +# uuid: r +# -- +return $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/script b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/script new file mode 100644 index 0000000..c08d0bb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/script @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: script +# key: script +# uuid: script +# -- +#!/usr/bin/env python + +def main(): + pass + +if __name__ == '__main__': + main() diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/self b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/self new file mode 100644 index 0000000..abbad8c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/self @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: self +# key: . +# uuid: . +# group: object oriented +# -- +self.$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/self_without_dot b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/self_without_dot new file mode 100644 index 0000000..fd68278 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/self_without_dot @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: self_without_dot +# key: s +# uuid: s +# group: object oriented +# -- +self \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/selfassign b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/selfassign new file mode 100644 index 0000000..68e2630 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/selfassign @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: selfassign +# key: sn +# uuid: sn +# group: object oriented +# -- +self.$1 = $1 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/setdef b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/setdef new file mode 100644 index 0000000..6f97f5d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/setdef @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: setdef +# key: setdef +# uuid: setdef +# -- +${1:var}.setdefault(${2:key}, []).append(${3:value}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/setup b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/setup new file mode 100644 index 0000000..524c4ca --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/setup @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: setup +# key: setup +# uuid: setup +# group: distribute +# -- +from setuptools import setup + +package = '${1:name}' +version = '${2:0.1}' + +setup(name=package, + version=version, + description="${3:description}", + url='${4:url}'$0) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/shebang b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/shebang new file mode 100644 index 0000000..094b182 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/shebang @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: shebang line +# key: #! +# uuid: #! +# condition: (eq 1 (line-number-at-pos)) +# -- +#!/usr/bin/env python +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/size b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/size new file mode 100644 index 0000000..abe249f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/size @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: size +# key: size +# uuid: size +# -- +sys.getsizeof($0) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/static b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/static new file mode 100644 index 0000000..3222c2f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/static @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: static +# key: defs +# uuid: defs +# -- +@staticmethod +def ${1:method_name}($1): + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/str b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/str new file mode 100644 index 0000000..21f50cd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/str @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: __str__ +# key: str +# uuid: str +# group: dunder methods +# -- +def __str__(self): + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/super b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/super new file mode 100644 index 0000000..83d98e8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/super @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: super +# key: super +# uuid: super +# group: object oriented +# -- +super(${1:Class}, self).${2:function}(${3:args}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/test_class b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/test_class new file mode 100644 index 0000000..18b5415 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/test_class @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: test_class +# key: tcs +# uuid: tcs +# group : testing +# -- +class Test${1:toTest}(${2:unittest.TestCase}): + $0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/test_file b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/test_file new file mode 100644 index 0000000..42911c8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/test_file @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: test_file +# key: tf +# uuid: tf +# group : testing +# -- +import unittest +${1:from ${2:test_file} import *} + +$0 + +if __name__ == '__main__': + unittest.main() \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/trace b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/trace new file mode 100644 index 0000000..f4e356f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/trace @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: trace +# key: tr +# uuid: tr +# group: debug +# -- +import pdb; pdb.set_trace() \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/try b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/try new file mode 100644 index 0000000..bc77831 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/try @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: try +# key: try +# uuid: try +# -- +try: + ${1:`(or % "pass")`} +except ${2:Exception}: + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/tryelse b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/tryelse new file mode 100644 index 0000000..505dac7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/tryelse @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: tryelse +# key: try +# uuid: try +# -- +try: + $1 +except $2: + $3 +else: + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/unicode b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/unicode new file mode 100644 index 0000000..9546668 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/unicode @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: __unicode__ +# key: un +# uuid: un +# group: dunder methods +# -- +def __unicode__(self): + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/utf8 b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/utf8 new file mode 100644 index 0000000..7ab1671 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/utf8 @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: utf-8 encoding +# key: utf8 +# uuid: utf8 +# -- +# -*- coding: utf-8 -*- diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/while b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/while new file mode 100644 index 0000000..6eb8d34 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/while @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: while +# key: wh +# uuid: wh +# group: control structure +# -- +while ${1:True}: + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/with b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/with new file mode 100644 index 0000000..80aeef2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/with @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: with +# key: with +# uuid: with +# group : control structure +# -- +with ${1:expr}${2: as ${3:alias}}: + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/with_statement b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/with_statement new file mode 100644 index 0000000..218e7b7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/python-mode/with_statement @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: with_statement +# key: fw +# uuid: fw +# group: future +# -- +from __future__ import with_statement \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/File-open b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/File-open new file mode 100644 index 0000000..cf49c23 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/File-open @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: File::open(...) +# key: fo +# uuid: fo +# -- +File::open(${1:})`(if (eolp) ";" "")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/None b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/None new file mode 100644 index 0000000..63c3f82 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/None @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: None +# key: no +# uuid: no +# -- +None \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Result b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Result new file mode 100644 index 0000000..4e3df10 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Result @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Result +# key: res +# uuid: res +# -- +Result<${1:T}, ${2:()}> \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Some b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Some new file mode 100644 index 0000000..d6de2c3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Some @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Some(...) +# key: so +# uuid: so +# -- +Some(${1:}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/String_from b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/String_from new file mode 100644 index 0000000..d01f2a6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/String_from @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: String::from(...) +# key: sf +# uuid: sf +# -- +String::from("$0") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Vec-with_capacity b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Vec-with_capacity new file mode 100644 index 0000000..2eb50ec --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/Vec-with_capacity @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Vec::with_capacity(...) +# key: vwc +# uuid: vwc +# -- +Vec::with_capacity(${1:n}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/allow b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/allow new file mode 100644 index 0000000..c30c1e8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/allow @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: #[allow(lint)] +# key: allow +# -- +#[allow(${1:lint})] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/allow! b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/allow! new file mode 100644 index 0000000..cfb0c7d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/allow! @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: #![allow(lint)] +# key: allow! +# -- +#![allow(${1:lint})] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/arrow b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/arrow new file mode 100644 index 0000000..404cf5c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/arrow @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: x => y +# key: => +# uuid: => +# -- +${1:_} => ${0:...} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/asref b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/asref new file mode 100644 index 0000000..063f82a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/asref @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: impl AsRef for Type +# key: asref +# uuid: asref +# -- +impl std::convert::AsRef<${1:Type}> for ${2:Type} { + fn as_ref(&self) -> &$2 { + $0 + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert new file mode 100644 index 0000000..bbdc741 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: assert!(...) +# key: ass +# uuid: ass +# -- +assert!($0); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert_eq b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert_eq new file mode 100644 index 0000000..3de462f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert_eq @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: assert_eq!(..., ...) +# key: asse +# uuid: asse +# -- +assert_eq!(${1:}, $2); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert_ne b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert_ne new file mode 100644 index 0000000..2c83c1a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assert_ne @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: assert_ne!(..., ...) +# key: assn +# uuid: assn +# -- +assert_ne!(${1:}, $2); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assignment b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assignment new file mode 100644 index 0000000..c410d3e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/assignment @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: assignment +# key: = +# uuid: = +# -- +${1:x} = ${2:value}`(if (eolp) ";" "")`$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/case b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/case new file mode 100644 index 0000000..9ea6609 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/case @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: pattern => expression, +# key: case +# -- +${1:pattern} => ${2:expression}, \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/cfg b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/cfg new file mode 100644 index 0000000..ce00c0a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/cfg @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: #[cfg(...)] +# -- +#[cfg($0)] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/cfg= b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/cfg= new file mode 100644 index 0000000..588596f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/cfg= @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: #[cfg(option = "value")] +# -- +#[cfg(${1:option} = "${2:value}")] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/const b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/const new file mode 100644 index 0000000..e352aad --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/const @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: const VAR = ... +# key: const +# uuid: const +# -- +const ${1:VARNAME}${2: ${3:i32}} = ${4:value}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/debug_assert b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/debug_assert new file mode 100644 index 0000000..21ddad4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/debug_assert @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: debug_assert!(...) +# key: dass +# uuid: dass +# -- +debug_assert!($0); \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/deref b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/deref new file mode 100644 index 0000000..7cf9c02 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/deref @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: impl Deref for Type +# key: deref +# uuid: deref +# -- +impl std::ops::Deref for ${1:Type} { + type Target = ${2:Type}; + fn deref(&self) -> &Self::Target { + &self.$0 + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/deref_mut b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/deref_mut new file mode 100644 index 0000000..7ea39a0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/deref_mut @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: impl DerefMut for Type +# key: deref_mut +# uuid: deref_mut +# -- +impl std::ops::DerefMut for ${1:Type} { + fn deref_mut(&mut self) -> &mut Self::Target { + &mut self.$0 + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/derive b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/derive new file mode 100644 index 0000000..cf30bcc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/derive @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: #[derive(...)] +# key: der +# uuid: der +# -- +#[derive($1)] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/disperror b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/disperror new file mode 100644 index 0000000..fd91031 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/disperror @@ -0,0 +1,16 @@ +# -*- mode: snippet -*- +# name: Display and Error Traits +# key: disperror +# uuid: disperror +# -- +impl Display for $1 { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "{}", $0) + } +} + +impl std::error::Error for ${1:Type} { + fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { + None + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/display b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/display new file mode 100644 index 0000000..1764f67 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/display @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: impl Display for Type { fn fmt (...) } +# key: display +# -- +impl Display for ${1:Type} { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "$0") + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/else b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/else new file mode 100644 index 0000000..4f835c1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/else @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: else { ... } +# key: else +# uuid: else +# -- +else { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/elseif b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/elseif new file mode 100644 index 0000000..39650b0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/elseif @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: else if ... { ... } +# key: elif +# uuid: elif +# -- +else if ${1:true} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/enum b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/enum new file mode 100644 index 0000000..25527be --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/enum @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: enum +# key: enum +# uuid: enum +# -- +enum ${1:EnumName} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/env-args b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/env-args new file mode 100644 index 0000000..2e07306 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/env-args @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: env::args() +# key: argv +# uuid: argv +# -- +env::args() \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/env-var b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/env-var new file mode 100644 index 0000000..1c2fd6c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/env-var @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: env::var(...) +# key: envv +# uuid: envv +# -- +env::var("$1") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/eprintln b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/eprintln new file mode 100644 index 0000000..d4c7d4b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/eprintln @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: eprintln!(...) +# key: ep +# uuid: ep +# -- +eprintln!("$1", ${2:});$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/error b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/error new file mode 100644 index 0000000..fc77089 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/error @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: impl Error for Type { fn source(...) } +# key: error +# uuid: error +# -- +impl std::error::Error for ${1:Type} { + fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { + $0 + None + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/extern b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/extern new file mode 100644 index 0000000..a0dcd68 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/extern @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: extern "C" { ... } +# key: extc +# uuid: extc +# -- +extern "C" { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/extern-crate b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/extern-crate new file mode 100644 index 0000000..d79399e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/extern-crate @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: extern crate ... +# key: ec +# uuid: ec +# -- +extern crate ${1:name}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/fn b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/fn new file mode 100644 index 0000000..a68dad0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/fn @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: function +# key: fn +# uuid: fn +# -- +fn ${1:function_name}($2) ${3:-> ${4:i32} }{ + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/for b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/for new file mode 100644 index 0000000..7a7df24 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/for @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: for in +# key: for +# uuid: for +# -- +for ${1:x} in ${2:items} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/format b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/format new file mode 100644 index 0000000..f187c86 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/format @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: format!(..., ...) +# key: f +# uuid: f +# -- +format!("$1", ${2:}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/from b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/from new file mode 100644 index 0000000..e04e7f0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/from @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: impl From for Type { fn from(...) } +# key: from +# -- +impl From<${1:From}> for ${2:Type} { + fn from(source: $1) -> Self { + $0 + Self { } + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/fromstr b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/fromstr new file mode 100644 index 0000000..db95288 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/fromstr @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: impl FromStr for Type { fn from_str(...) } +# key: fromstr +# -- +impl FromStr for ${1:Type} { + type Err = ${2:Error}; + + fn from_str(s: &str) -> Result { + + Ok(Self{}) + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/if b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/if new file mode 100644 index 0000000..1981003 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/if @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: if ... { ... } +# key: if +# uuid: if +# -- +if ${1:x} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/if-let b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/if-let new file mode 100644 index 0000000..0e2571c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/if-let @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: if let ... +# key: ifl +# uuid: ifl +# -- +if let ${1:Some(${2:x})} = ${3:var} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/ignore b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/ignore new file mode 100644 index 0000000..b2e9013 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/ignore @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: #[ignore] +# key: ign +# uuid: ign +# -- +#[ignore] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/impl b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/impl new file mode 100644 index 0000000..3f15ec3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/impl @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: impl +# -- +impl ${1:name}${2: for ${3:Type}} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/inline-if-else b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/inline-if-else new file mode 100644 index 0000000..3672fab --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/inline-if-else @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: inline if-else +# key: ife +# uuid: ife +# -- +if ${1:x} {${2:}}${3: else {$4}}$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/iterator b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/iterator new file mode 100644 index 0000000..4f026a9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/iterator @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# name: impl Iterator for Type +# key: iterator +# uuid: iterator +# -- +impl Iterator for ${1:Type} { + type Item = ${2:Type}; + fn next(&mut self) -> Option { + $0 + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/lambda b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/lambda new file mode 100644 index 0000000..eced267 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/lambda @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: anonymous function +# key: fn +# uuid: fn +# -- +|${1:x}|${2: -> i32} `(if (> (doom-snippets-count-lines %) 1) "{ " "")``(doom-snippets-format "%n%s%n")`$0`(if (> (doom-snippets-count-lines %) 1) " }" "")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/let b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/let new file mode 100644 index 0000000..a9be8d7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/let @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: let +# key: let +# uuid: let +# -- +let ${1:var} = $0`(if (eolp) ";" "")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/letm b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/letm new file mode 100644 index 0000000..8cd6c1e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/letm @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: let mut +# key: letm +# uuid: letm +# -- +let mut ${1:var} = $0`(if (eolp) ";" "")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/lifetime-static b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/lifetime-static new file mode 100644 index 0000000..7c7d140 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/lifetime-static @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: 'static +# key: 's +# uuid: 's +# -- +'static \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/macro b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/macro new file mode 100644 index 0000000..9ec9d72 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/macro @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: macro_rules! name { (..) => (..); } +# key: macro +# uuid: macro +# -- +macro_rules! ${1:name} { + ($2) => ($3); +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/main b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/main new file mode 100644 index 0000000..d6092bf --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/main @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: main +# key: main +# uuid: main +# -- +fn main() { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/match b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/match new file mode 100644 index 0000000..aa4d1d2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/match @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: match +# uuid: match +# key: match +# -- +match ${1:x} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/match-ok b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/match-ok new file mode 100644 index 0000000..c9762dd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/match-ok @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: match n { Ok(x), Err(y) } +# key: match? +# uuid: match? +# -- +match ${1:x} { + Ok(${2:var}) => $3, + Err(${4:error}) => $5 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/mod b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/mod new file mode 100644 index 0000000..bc8bd61 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/mod @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: mod +# key: mod +# uuid: mod +# -- +mod ${1:name} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/new b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/new new file mode 100644 index 0000000..b7d0def --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/new @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Type::new(...) +# key: new +# uuid: new +# -- +${1:Vec}::new(${2:})`(if (eolp) ";" "")` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/panic b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/panic new file mode 100644 index 0000000..74f5384 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/panic @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: panic!(...) +# key: pa +# uuid: pa +# -- +panic!("$1", ${2:});$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/partial b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/partial new file mode 100644 index 0000000..76c29fe --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/partial @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: impl PartialEq for Type +# key: partial +# uuid: partial +# -- +impl PartialEq for ${1:Type} { + fn eq(&self, other: &Self) -> bool { + $0 + } +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/println b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/println new file mode 100644 index 0000000..df122f2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/println @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: println!(...) +# key: p +# uuid: p +# -- +println!("$1", ${2:});$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/pub_fn b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/pub_fn new file mode 100644 index 0000000..617e3c3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/pub_fn @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: public function +# key: pfn +# uuid: pfn +# -- +pub fn ${1:function_name}($2) ${3:-> ${4:i32} }{ + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/pub_mod b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/pub_mod new file mode 100644 index 0000000..9227242 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/pub_mod @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: pub mod +# key: pmod +# uuid: pmod +# -- +pub mod ${1:name} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/ret b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/ret new file mode 100644 index 0000000..5804823 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/ret @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: return +# key: ret +# uuid: ret +# -- +return ${1:};$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/static b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/static new file mode 100644 index 0000000..8e66349 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/static @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: static VAR = ... +# key: static +# uuid: static +# -- +static ${1:VARNAME}${2:: ${3:i32}} = ${4:value}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/struct b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/struct new file mode 100644 index 0000000..bce4ff2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/struct @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: struct +# uuid: struct +# key: struct +# -- +struct ${1:Name} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/struct_alias b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/struct_alias new file mode 100644 index 0000000..bb0c2d7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/struct_alias @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: struct +# uuid: struct_alias +# key: st +# type: command +# -- +(doom-snippets-expand :uuid "struct") \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/test b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/test new file mode 100644 index 0000000..836b057 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/test @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: test function +# key: test +# uuid: test +# -- +#[test] +fn ${1:test_name}() { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/testmod b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/testmod new file mode 100644 index 0000000..f0be987 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/testmod @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: test module +# key: testmod +# -- +#[cfg(test)] +mod ${1:tests} { + use super::*; + + #[test] + fn ${2:test_name}() { + $0 + } +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/trait b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/trait new file mode 100644 index 0000000..255e4a6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/trait @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: trait ... { ... } +# uuid: trait +# key: trait +# -- +trait ${1:Name} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/type b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/type new file mode 100644 index 0000000..1b88ffb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/type @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: type Name = ...; +# key: type +# uuid: type +# -- +type ${1:TypeName} = ${2:i32}; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/union b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/union new file mode 100644 index 0000000..bfd93aa --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/union @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: union Type { ... } +# key: union +# -- +union ${1:Type} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use new file mode 100644 index 0000000..6613f91 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: use ... +# key: use +# uuid: use +# -- +use ${1:std::${2:io}};$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use-File b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use-File new file mode 100644 index 0000000..a8f5700 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use-File @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: use std::fs::File +# key: ufile +# uuid: ufile +# -- +use std::fs::File; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use-HashMap b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use-HashMap new file mode 100644 index 0000000..339b4f6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/use-HashMap @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: use std::collections::HashMap +# key: uhashmap +# uuid: uhashmap +# -- +use std::collections::HashMap; \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/vec b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/vec new file mode 100644 index 0000000..ea5fcc5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/vec @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: vec![...] +# key: v +# uuid: v +# -- +vec![${1:}] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn new file mode 100644 index 0000000..acf5c5c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: #[warn(lint)] +# key: warn +# -- +#[warn(${1:lint})] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn! b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn! new file mode 100644 index 0000000..2f4885d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/warn! @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: #![warn(lint)] +# key: warn! +# -- +#![warn(${1:lint})] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/while-let b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/while-let new file mode 100644 index 0000000..4e36327 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/rust-mode/while-let @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: while let PATTERN = EXPR { ... } +# key: whilel +# uuid: whilel +# -- +while let ${1:pattern} = ${2:expression} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@if b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@if new file mode 100644 index 0000000..be5e360 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@if @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: @if +# key: if +# uuid: if +# -- +@if ${1:condition} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@mixin b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@mixin new file mode 100644 index 0000000..58dc216 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@mixin @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: @mixin +# key: mix +# uuid: mix +# -- +@mixin ${1:mixin-name}($2) { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@while b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@while new file mode 100644 index 0000000..b26a377 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/@while @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: @while +# key: while +# uuid: while +# -- +@while ${1:condition} { + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/abs b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/abs new file mode 100644 index 0000000..7b34ae3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/abs @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: abs($number) +# group: Number functions +# -- +abs(${1:$number}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/adjust-color b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/adjust-color new file mode 100644 index 0000000..5b55f18 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/adjust-color @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: adjust-color($color, [$r], [$g], [$b], [$hue], [$sat], [$light], [$alpha]) +# group: Other color functions +# -- +adjust-color(${1:$color}, ${2:[$r]}, ${3:[$g]}, ${4:[$b]}, ${5:[$hue]}, ${6:[$sat]}, ${7:[$light]}, ${8:[$alpha]}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/adjust-hue b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/adjust-hue new file mode 100644 index 0000000..ea12152 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/adjust-hue @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: adjust-hue($color, $degree) +# group: HSL functions +# -- +adjust-hue(${1:$color}, ${2:$degree}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/alpha b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/alpha new file mode 100644 index 0000000..48d6349 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/alpha @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: alpha($color) +# group: Opacity functions +# -- +alpha(${1:$color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/append b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/append new file mode 100644 index 0000000..64d8256 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/append @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: append($list, $value, [$separator]) +# group: List functions +# -- +append(${1:$list}, ${2:$value}, ${3:[$sep]}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/blue b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/blue new file mode 100644 index 0000000..424b39b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/blue @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: blue($color) +# group: RGB functions +# -- +blue(${1:color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/call b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/call new file mode 100644 index 0000000..1acaea6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/call @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: call($name, ...) +# group: Introspection functions +# -- +call(${1:$name}, ${2:$args...}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/ceil b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/ceil new file mode 100644 index 0000000..c3bbab3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/ceil @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: ceil($number) +# group: Number functions +# -- +ceil(${1:$number}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/change-color b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/change-color new file mode 100644 index 0000000..4ee4e09 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/change-color @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: change-color($color, [$r], [$g], [$b], [$hue], [$sat], [$light], [$alpha]) +# group: Other color functions +# -- +change-color(${1:$color}, ${2:[$r]}, ${3:[$g]}, ${4:[$b]}, ${5:[$hue]}, ${6:[$sat]}, ${7:[$light]}, ${8:[$alpha]}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/comparable b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/comparable new file mode 100644 index 0000000..8be68f3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/comparable @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: comparable($number1, $number2) +# group: Introspection functions +# -- +comparable(${1:$number1}, ${2:$number2}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/complement b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/complement new file mode 100644 index 0000000..11f1892 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/complement @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: complement($color) +# group: HSL functions +# -- +complement(${1:$color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/darken b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/darken new file mode 100644 index 0000000..b298470 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/darken @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: darken($color, $amount) +# group: HSL functions +# -- +darken(${1:$color}, ${2:$amount}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/desaturate b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/desaturate new file mode 100644 index 0000000..ca7bda5 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/desaturate @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: desaturate($color, $amount) +# group: HSL functions +# -- +desaturate(${1:$color}, ${2:$amount}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/each b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/each new file mode 100644 index 0000000..b54bd9f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/each @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: @each +# -- +@each \$${1:var} in ${2:list, of, things} { + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/else b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/else new file mode 100644 index 0000000..f823adb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/else @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: @else +# -- +@else { + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/elseif b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/elseif new file mode 100644 index 0000000..6c9acac --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/elseif @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: @elseif +# -- +@else if ${1:condition} { + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/fade-in b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/fade-in new file mode 100644 index 0000000..0c7dc41 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/fade-in @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: fade-in($color, $amount) +# group: Opacity functions +# -- +fade-in(${1:$color}, ${2:$amount}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/fade-out b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/fade-out new file mode 100644 index 0000000..f9a9e8f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/fade-out @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: fade-out($color, $amount) +# group: Opacity functions +# -- +fade-out(${1:$color}, ${2:$amount}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/feature-exists b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/feature-exists new file mode 100644 index 0000000..bc7f752 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/feature-exists @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: feature-exists($feature) +# group: Introspection functions +# -- +feature-exists(${1:$feature}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/floor b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/floor new file mode 100644 index 0000000..22acf32 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/floor @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: floor($number) +# group: Number functions +# -- +floor(${1:$number}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/for b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/for new file mode 100644 index 0000000..63fd434 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/for @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: @for loop +# -- +@for \$i from ${1:1} through ${2:10} { + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/function-exists b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/function-exists new file mode 100644 index 0000000..7916323 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/function-exists @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: function-exists($name) +# group: Introspection functions +# -- +function-exists(${1:$name}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/global-variable-exists b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/global-variable-exists new file mode 100644 index 0000000..b9f6ccc --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/global-variable-exists @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: global-variable-exists($name) +# group: Introspection functions +# -- +global-variable-exists(${1:$name}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/grayscale b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/grayscale new file mode 100644 index 0000000..5ca9e11 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/grayscale @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: grayscale($color) +# group: HSL functions +# -- +grayscale(${1:$color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/green b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/green new file mode 100644 index 0000000..0ed926e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/green @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: green($color) +# group: RGB functions +# -- +green(${1:color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hsl b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hsl new file mode 100644 index 0000000..6f844fa --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hsl @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: hsl($hue, $saturation, $lightness) +# group: HSL functions +# -- +hsl(${1:$hue}, ${2:$saturation}, ${3:$lightness}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hsla b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hsla new file mode 100644 index 0000000..b7b6cfa --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hsla @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: hsl($hue, $saturation, $lightness, $alpha) +# group: HSL functions +# -- +hsla(${1:$hue}, ${2:$saturation}, ${3:$lightness}, ${4:alpha}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hue b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hue new file mode 100644 index 0000000..32502e3 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/hue @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: hue($color) +# group: HSL functions +# -- +hue(${1:$color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/ie-hex-str b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/ie-hex-str new file mode 100644 index 0000000..51ba7a8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/ie-hex-str @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: ie-hex-str($color) +# group: Other color functions +# -- +ie-hex-str(${1:$color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/index b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/index new file mode 100644 index 0000000..3eb78d8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/index @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: index($list, $value) +# group: List functions +# -- +index(${1:$list}, ${2:$value}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/inspect b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/inspect new file mode 100644 index 0000000..aa4bc42 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/inspect @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: inspect($value) +# group: Introspection functions +# -- +inspect(${1:$value}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/invert b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/invert new file mode 100644 index 0000000..e71b78e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/invert @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: invert($color) +# group: HSL functions +# -- +invert(${1:$color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/join b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/join new file mode 100644 index 0000000..698e6fd --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/join @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: join($list1, $list2, [$separator]) +# group: List functions +# -- +join(${1:$list1}, ${2:$list2}, ${3:[$sep]}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/keywords b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/keywords new file mode 100644 index 0000000..cfdd889 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/keywords @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: keywords($args) +# group: Map functions +# -- +keywords(${1:$args}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/length b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/length new file mode 100644 index 0000000..2910f0e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/length @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: length($list) +# group: List functions +# -- +length(${1:$list}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/lighten b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/lighten new file mode 100644 index 0000000..69385ba --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/lighten @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: lighten($color, $amount) +# group: HSL functions +# -- +lighten(${1:$color}, ${2:$amount}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/lightness b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/lightness new file mode 100644 index 0000000..4ebd4a1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/lightness @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: lightness($color) +# group: HSL functions +# -- +lightness(${1:$color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/list-separator b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/list-separator new file mode 100644 index 0000000..b8ef5c9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/list-separator @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: list-separator($list) +# group: List functions +# -- +list-separator(${1:$list}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-get b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-get new file mode 100644 index 0000000..77d0b96 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-get @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: map-get($map, $key) +# group: Map functions +# -- +map-get(${1:$map}, ${2:$key}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-has-key b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-has-key new file mode 100644 index 0000000..4ff973e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-has-key @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: map-has-key($map, $key) +# group: Map functions +# -- +map-has-key(${1:$map}, ${2:$key}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-keys b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-keys new file mode 100644 index 0000000..2b66fd9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-keys @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: map-keys($map) +# group: Map functions +# -- +map-keys(${1:$map}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-merge b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-merge new file mode 100644 index 0000000..8842417 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-merge @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: map-merge($map1, $map2) +# group: Map functions +# -- +map-merge(${1:$map1}, ${2:$map2}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-remove b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-remove new file mode 100644 index 0000000..95e9f30 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-remove @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: map-remove($map, $key, ...) +# group: Map functions +# -- +map-remove(${1:$map}, ${2:$key}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-values b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-values new file mode 100644 index 0000000..7875e70 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/map-values @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: map-values($map) +# group: Map functions +# -- +map-values(${1:$map}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/max b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/max new file mode 100644 index 0000000..67d013f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/max @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: max($n1, $n2, ...) +# group: Number functions +# -- +max(${1:$n1}, ${2:$n2}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/min b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/min new file mode 100644 index 0000000..beca119 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/min @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: min($n1, $n2, ...) +# group: Number functions +# -- +min(${1:$n1}, ${2:$n2}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/mix b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/mix new file mode 100644 index 0000000..36dab32 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/mix @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: mix($color1, $color2, [$weight]) +# group: RGB functions +# -- +mix(${1:$color1}, ${2:$color2}${3:, ${4:$weight}}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/mixin-exists b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/mixin-exists new file mode 100644 index 0000000..12e70a6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/mixin-exists @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: mixin-exists($name) +# group: Introspection functions +# -- +mixin-exists(${1:$name}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/nth b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/nth new file mode 100644 index 0000000..3dcee5d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/nth @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: nth($list, $n) +# group: List functions +# -- +nth(${1:$list}, ${2:$n}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/opacify b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/opacify new file mode 100644 index 0000000..cc4c397 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/opacify @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: opacify($color, $amount) +# group: Opacity functions +# -- +opacify(${1:$color}, ${2:$amount}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/opacity b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/opacity new file mode 100644 index 0000000..52319f1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/opacity @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: opacity($color) +# group: Opacity functions +# -- +opacity(${1:$color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/percentage b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/percentage new file mode 100644 index 0000000..fc4fd56 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/percentage @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: percentage($number) +# group: Number functions +# -- +percentage(${1:$number}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/quote b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/quote new file mode 100644 index 0000000..1b81e73 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/quote @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: quote($string) +# group: String functions +# -- +quote(${1:$string}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/random b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/random new file mode 100644 index 0000000..70de049 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/random @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: random([$limit]) +# group: Number functions +# -- +random(${1:[$limit]}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/red b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/red new file mode 100644 index 0000000..fefa406 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/red @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: red($color) +# group: RGB functions +# -- +red(${1:color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgb b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgb new file mode 100644 index 0000000..c5fc5e8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgb @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: rgb($red, $green, $blue) +# group: RGB functions +# -- +rgb(${1:$red}, ${2:$green}, ${3:$blue}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgba b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgba new file mode 100644 index 0000000..79675f9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgba @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: rgb($red, $green, $blue, $alpha) +# group: RGB functions +# -- +rgba(${1:$red}, ${2:$green}, ${3:$blue}, ${4:alpha}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgbao b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgbao new file mode 100644 index 0000000..e50f565 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/rgbao @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: rgba($color, $alpha) +# key: rgba +# uuid: rgba +# group: Opacity functions +# -- +rgba(${1:$color}, ${2:$alpha}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/round b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/round new file mode 100644 index 0000000..34299c4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/round @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: round($number) +# group: Number functions +# -- +round(${1:$number}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/saturate b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/saturate new file mode 100644 index 0000000..73adcac --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/saturate @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: saturate($color, $amount) +# group: HSL functions +# -- +saturate(${1:$color}, ${2:$amount}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/saturation b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/saturation new file mode 100644 index 0000000..9d8715c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/saturation @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: saturation($color) +# group: HSL functions +# -- +saturation(${1:$color}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/scale-color b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/scale-color new file mode 100644 index 0000000..d5768d9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/scale-color @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: scale-color($color, [$r], [$g], [$b], [$sat], [$light], [$alpha]) +# group: Other color functions +# -- +scale-color(${1:$color}, ${2:[$r]}, ${3:[$g]}, ${4:[$b]}, ${5:[$sat]}, ${6:[$light]}, ${7:[$alpha]}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/set-nth b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/set-nth new file mode 100644 index 0000000..25b4810 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/set-nth @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: set-nth($list, $n, $value) +# group: List functions +# -- +set-nth(${1:$list}, ${2:$n}, ${3:$value}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-index b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-index new file mode 100644 index 0000000..567e1d9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-index @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: str-index($string, $substring) +# group: String functions +# -- +str-index(${1:$string}, ${2:$substring}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-insert b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-insert new file mode 100644 index 0000000..29537a4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-insert @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: str-insert($string, $insert, $index) +# group: String functions +# -- +str-insert(${1:$string}, ${2:$insert}, ${3:$index}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-length b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-length new file mode 100644 index 0000000..16268f8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-length @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: str-length($string) +# group: String functions +# -- +str-length(${1:$string}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-slice b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-slice new file mode 100644 index 0000000..b9295b7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/str-slice @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: str-slice($string, $start-at, [$end-at]) +# group: String functions +# -- +str-slice(${1:$string}, ${2:$start-at}${3:, ${4:$end-at}}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/to-lower-case b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/to-lower-case new file mode 100644 index 0000000..6846d33 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/to-lower-case @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: to-lower-case($string) +# group: String functions +# -- +to-lower-case(${1:$string}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/to-upper-case b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/to-upper-case new file mode 100644 index 0000000..6281ad1 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/to-upper-case @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: to-upper-case($string) +# group: String functions +# -- +to-upper-case(${1:$string}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/transparentize b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/transparentize new file mode 100644 index 0000000..260087c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/transparentize @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: transparentize($color, $amount) +# group: Opacity functions +# -- +transparentize(${1:$color}, ${2:$amount}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/type-of b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/type-of new file mode 100644 index 0000000..c810628 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/type-of @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: type-of($value) +# group: Introspection functions +# -- +type-of(${1:$value}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unique-id b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unique-id new file mode 100644 index 0000000..47e5b80 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unique-id @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: unique-id() +# group: Misc functions +# -- +unique-id() \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unit b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unit new file mode 100644 index 0000000..5c6aa08 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unit @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: unit($number) +# group: Introspection functions +# -- +unit(${1:$number}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unitless b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unitless new file mode 100644 index 0000000..318643d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unitless @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: unitless($number) +# group: Introspection functions +# -- +unitless(${1:$number}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unquote b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unquote new file mode 100644 index 0000000..aeb5ba8 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/unquote @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: unquote($string) +# group: String functions +# -- +unquote(${1:$string}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/variable-exists b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/variable-exists new file mode 100644 index 0000000..1309b67 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/variable-exists @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: variable-exists($name) +# group: Introspection functions +# -- +variable-exists(${1:$name}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/zip b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/zip new file mode 100644 index 0000000..e24c5e9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/scss-mode/zip @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: zip($list1, $list2, ...) +# group: List functions +# -- +zip(${1:$list1}, ${2:$list2}) \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/alias b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/alias new file mode 100644 index 0000000..4dc30ef --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/alias @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: alias +# key: alias +# uuid: alias +# -- +alias ${1:cmd}=$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/args b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/args new file mode 100644 index 0000000..196973f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/args @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: args +# key: args +# uuid: args +# -- +[ $# -lt ${1:2} ] \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/bang b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/bang new file mode 100644 index 0000000..9c825e4 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/bang @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: bang +# key: #! +# uuid: #! +# -- +#!${1:/usr/bin/env `(symbol-name sh-shell)`} +$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/case b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/case new file mode 100644 index 0000000..276cdae --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/case @@ -0,0 +1,8 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: case +# key: case +# uuid: case +# -- +case ${1:var} in + ${2:match}) $0 ;; +esac \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/elif b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/elif new file mode 100644 index 0000000..127e26e --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/elif @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: elif +# key: elif +# uuid: elif +# -- +elif ${1:condition}; then + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/else b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/else new file mode 100644 index 0000000..974a23d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/else @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: else +# key: else +# uuid: else +# -- +else + $0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/f b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/f new file mode 100644 index 0000000..749a932 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/f @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: short function +# key: f +# uuid: f +# -- +${1:name}() { + $0 +} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/for b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/for new file mode 100644 index 0000000..f990ebf --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/for @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: for loop +# key: for +# uuid: for +# -- +for ${1:var} in ${2:stuff}; do + $0 +done \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/function b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/function new file mode 100644 index 0000000..2adefa2 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/function @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: function +# -- +function ${1:name} { + $0 +} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/gt b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/gt new file mode 100644 index 0000000..0a59165 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/gt @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Greater than +# key: > +# uuid: > +# -- +"$1" -gt "$2" diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/if b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/if new file mode 100644 index 0000000..b832a61 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/if @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: if +# -- +if $1; then + $0 +fi diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/if-one-line b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/if-one-line new file mode 100644 index 0000000..9c038b0 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/if-one-line @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: if ...; then ...; fi +# key: if; +# uuid: if; +# -- +${1:condition} && ${0:echo 1} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/ife b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/ife new file mode 100644 index 0000000..ba0c866 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/ife @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: ife +# key: ife +# uuid: ife +# -- +if ${1:condition}; then + ${2:# code} +else + $0 +fi \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/local b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/local new file mode 100644 index 0000000..cd789e7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/local @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# name: local var=value +# -- +local ${1:var}=${0:value} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/lt b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/lt new file mode 100644 index 0000000..22c70eb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/lt @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Less than +# key: < +# uuid: < +# -- +"$1" -lt "$2" diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/var b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/var new file mode 100644 index 0000000..4f803e6 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sh-mode/var @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: VAR=value +# key: = +# uuid: = +# -- +${1:VAR}=${0:VALUE} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/cont b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/cont new file mode 100644 index 0000000..4453293 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/cont @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: cont +# key: cont +# uuid: cont +# -- +# contributor: `user-full-name` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/elisp b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/elisp new file mode 100644 index 0000000..724cf72 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/elisp @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: elisp +# key: ` +# uuid: ` +# -- +\`$0\` \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/field b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/field new file mode 100644 index 0000000..e0df7df --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/field @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name : ${ ... } field +# contributor : joaotavora +# key : $f +# key: field +# uuid: field +# -- +\${${1:${2:n}:}$3${4:\$(${5:lisp-fn})}\}$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/group b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/group new file mode 100644 index 0000000..ab73672 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/group @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: group +# key: group +# uuid: group +# -- +# group : ${1:group} \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/mirror b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/mirror new file mode 100644 index 0000000..c09dce9 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/mirror @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name : ${n:$(...)} mirror +# key : $m +# contributor : joaotavora +# key: mirror +# uuid: mirror +# -- +\${${2:n}:${4:\$(${5:reflection-fn})}\}$0 \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/vars b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/vars new file mode 100644 index 0000000..fae94fb --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/snippet-mode/vars @@ -0,0 +1,12 @@ +# -*- mode: snippet -*- +# name: Snippet header +# key:# +# uuid: # +# -- +# -*- mode: snippet -*- +${1:# contributor: `(user-full-name)` +}# name: $2 +# key: ${3:trigger-key}${4: +# condition: t} +# -- +$0 diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/column b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/column new file mode 100644 index 0000000..849b43d --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/column @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: , ColumnName ColumnType NOT NULL... +# -- + , ${1:Name} ${2:Type} ${3:NOT NULL} diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/constraint b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/constraint new file mode 100644 index 0000000..312190c --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/constraint @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: CONSTRAINT [..] PRIMARY KEY ... +# -- +CONSTRAINT [${1:PK_Name}] PRIMARY KEY ${2:CLUSTERED} ([${3:ColumnName}]) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/constraint.1 b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/constraint.1 new file mode 100644 index 0000000..f54ea0a --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/constraint.1 @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: CONSTRAINT [..] FOREIGN KEY ... +# -- +CONSTRAINT [${1:FK_Name}] FOREIGN KEY ${2:CLUSTERED} ([${3:ColumnName}]) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/create b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/create new file mode 100644 index 0000000..2d0ed21 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/create @@ -0,0 +1,11 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: create table ... +# -- +CREATE TABLE [${1:dbo}].[${2:TableName}] +( + ${3:Id} ${4:INT IDENTITY(1,1)} ${5:NOT NULL} +$0 + CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3]) +) +GO diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/create.1 b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/create.1 new file mode 100644 index 0000000..fb8b1ae --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/create.1 @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: create procedure ... +# -- +CREATE PROCEDURE [${1:dbo}].[${2:Name}] +( + $3 $4 = ${5:NULL} ${6:OUTPUT} +) +AS +BEGIN +$0 +END +GO diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/references b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/references new file mode 100644 index 0000000..ec3e58f --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/references @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# contributor: Alejandro Espinoza Esparza +# name: REFERENCES ... +# -- +REFERENCES ${1:TableName}([${2:ColumnName}]) diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/web-mode/video b/Emacs/.config/emacs/.config/yasnippet/snippets/web-mode/video new file mode 100644 index 0000000..5f7193b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/web-mode/video @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: HTML5 video player +# -- + \ No newline at end of file diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/web-mode/vue b/Emacs/.config/emacs/.config/yasnippet/snippets/web-mode/vue new file mode 100644 index 0000000..aa3d9a7 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/web-mode/vue @@ -0,0 +1,18 @@ +# -*- mode: snippet -*- +# name: Vue Single-File Component +# uuid: vue +# condition: (equal web-mode-engine "vue") +# -- + + + + + diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 8f661e7..29482c6 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -849,9 +849,6 @@ as well. :hook (after-init-hook . auto-insert-mode)) #+end_src *** Yasnippet default -:PROPERTIES: -:header-args:emacs-lisp: :tangle no -:END: Setup global mode after evil mode has been loaded #+begin_src emacs-lisp (use-package yasnippet @@ -865,15 +862,6 @@ Setup global mode after evil mode has been loaded :config (yas-load-directory (no-littering-expand-etc-file-name "yasnippet/snippets"))) #+end_src -*** Yasnippet snippets -:PROPERTIES: -:header-args:emacs-lisp: :tangle no -:END: -Collection of snippets, activate after yasnippet has been loaded. -#+begin_src emacs-lisp -(use-package yasnippet-snippets - :after yasnippet) -#+end_src ** Emacs Mode-line :PROPERTIES: :HTML_CONTAINER: details -- cgit v1.2.3-13-gbd6f