diff options
author | teramako | 2009-08-19 12:42:09 +0000 |
---|---|---|
committer | teramako | 2009-08-19 12:42:09 +0000 |
commit | 8a994ccfb3e960a1475be8e4bd0543a0ae181e4e (patch) | |
tree | 5cf557e3da524215e4ce4ab507bf051171d5e7a3 | |
parent | ba0d7fd2f66ea1e03033c31328243793be3f898b (diff) | |
download | vimperator-plugins-8a994ccfb3e960a1475be8e4bd0543a0ae181e4e.tar.bz2 |
add %CLIP% variable which is previous clipboard string
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@34915 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | copy.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -154,6 +154,9 @@ const REPLACE_TABLE = { htmlsel += serializer.serializeToString(selection.getRangeAt(i).cloneContents()); } return htmlsel; + }, + get CLIP () { + return util.readFromClipboard(); } }; 'hostname pathname host port protocol search hash'.split(' ').forEach(function (name){ |