Skip to main content
Added examples
Source Link
Phil Hudson
  • 1.8k
  • 11
  • 13

You need to create two snippets with different names and different trigger keys but the same expansion.

So name the first one (for example) 'sel':

# -*- mode: snippet -*-
# name: sel
# key: sel
# --
SELECT ${1:*} FROM $2;

and the second one 'ыуд':

# -*- mode: snippet -*-
# name: ыуд
# key: ыуд
# --
SELECT ${1:*} FROM $2;

You need to create two snippets with different names and different trigger keys but the same expansion.

You need to create two snippets with different names and different trigger keys but the same expansion.

So name the first one (for example) 'sel':

# -*- mode: snippet -*-
# name: sel
# key: sel
# --
SELECT ${1:*} FROM $2;

and the second one 'ыуд':

# -*- mode: snippet -*-
# name: ыуд
# key: ыуд
# --
SELECT ${1:*} FROM $2;
Source Link
Phil Hudson
  • 1.8k
  • 11
  • 13

You need to create two snippets with different names and different trigger keys but the same expansion.