Intelligent paste handling for Sublime