3 Matching Annotations
  1. Apr 2018
    1. for ($1;$2;$3) { `yas-selected-text`$0 }

      Selected Text yas-selected-text

    2. M-x yas-visit-snippet-file, key binding: C-c & C-v Prompts you for possible snippet expansions like yas-insert-snippet, but instead of expanding it, takes you directly to the snippet definition's file, if it exists.

      Visit Snippet '''emacs-lisp M-x yas-visit-snippet-file

      C-c C-v '''

    3. M-x yas-new-snippet, key bindind: C-c & C-n Creates a new buffer with a template for making a new snippet. The buffer is in snippet-mode (see below). When you are done editing the new snippet, use C-c C-c to save it.

      Create New Snippet

      '''emacs-lisp M-X yas-new-snippet

      C-c C-n '''