Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
245 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # contributor: York Zhao <gtdplatform@gmail.com>
  3. # name: cout
  4. # key: cout
  5. # --
  6. `(progn (goto-char (point-min)) (unless (re-search-forward
  7. "^using\\s-+namespace std;" nil 'no-errer) "std::"))
  8. `cout << $0${1: << "${2:\n}"};