dotfiles/.emacs.d/snippets/c++-mode/tryw

10 lines
133 B
Plaintext

# -*- mode: snippet -*-
# name: tryw
# key: tryw
# --
try {
`(or yas/selected-text (car kill-ring))`
} catch ${1:Exception} {
}