diff --git a/doc/snippet-development.rst b/doc/snippet-development.rst index 837c876..cf14e11 100644 --- a/doc/snippet-development.rst +++ b/doc/snippet-development.rst @@ -572,8 +572,9 @@ around the currently selected region. When this variable is set to t, this has the same effect has using the ```yas/selected-text``` inline evaluation. -Because on most systems starting to type deletes the currently region, -this works mostly with the ``yas/insert-snippet`` command. +Because on most systems starting to type deletes the currently +selected region, this works mostly for snippets with direct +keybindings or with the ``yas/insert-snippet`` command. However, when the value is of this variable is ``cua`` YASnippet will additionally look-up any recently selected that you deleted by starting diff --git a/extras/imported/LaTeX-mode/.yas-parents b/extras/imported/LaTeX-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/extras/imported/LaTeX-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/extras/imported/c-mode/.yas-parents b/extras/imported/c-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/extras/imported/c-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/extras/imported/css-mode/.yas-parents b/extras/imported/css-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/extras/imported/css-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/extras/imported/erlang-mode/.yas-parents b/extras/imported/erlang-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/extras/imported/erlang-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/extras/imported/f90-mode/.yas-parents b/extras/imported/f90-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/extras/imported/f90-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/extras/imported/haskell-mode/.yas-parents b/extras/imported/haskell-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/extras/imported/haskell-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/extras/imported/html-mode/.yas-parents b/extras/imported/html-mode/.yas-parents index d58dacb..eed5b44 100644 --- a/extras/imported/html-mode/.yas-parents +++ b/extras/imported/html-mode/.yas-parents @@ -1 +1 @@ -text-mode \ No newline at end of file +text-mode diff --git a/extras/imported/java-mode/.yas-parents b/extras/imported/java-mode/.yas-parents new file mode 100644 index 0000000..eed5b44 --- /dev/null +++ b/extras/imported/java-mode/.yas-parents @@ -0,0 +1 @@ +text-mode diff --git a/snippets/snippet-mode/vars b/snippets/snippet-mode/vars index ea5a8c7..0e8a0a5 100644 --- a/snippets/snippet-mode/vars +++ b/snippets/snippet-mode/vars @@ -1,9 +1,11 @@ +# -*- mode: snippet -*- # name : Snippet header # contributor : joaotavora # -- # name : $1${2: -# key : ${3:expand-key}}${4: -# group : ${5:group}} +# key : ${3:trigger-key}}${4: +# keybinding : ${5:keybinding}}${6: +# expand-env : (${7:})} # contributor : $6 # -- $0 \ No newline at end of file