Created
June 27, 2012 14:14
-
-
Save osa9/3004308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Readability delete article hint mode | |
js <<EOM | |
hints.addMode('d', 'delete article', function(elem) { | |
elem.getElementsByClassName('article-confirmDelete')[0].click(); | |
elem.getElementsByClassName('article-remove')[0].click(); | |
}, function() '//*[contains(@class,"article-box")]'); | |
EOM | |
nnoremap ,rd ;d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment