Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 14th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How can I insert a line of text/code on keypress in Sublime
  2. <snippet>
  3.     <content><![CDATA[import ipdb; pdb.set_trace()]]></content>
  4.     <tabTrigger>p</tabTrigger>
  5. </snippet>
  6.        
  7. { "keys": ["p"], "command": "run_macro_file",
  8. "args": {"file": "Packages/User/your_macro.sublime-macro"} }