Update ;c bind to work on Lobste.rs

This commit is contained in:
Oliver Blanthorn 2020-07-08 19:24:44 +01:00
parent 3776941597
commit 40346dc6b8
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -36,8 +36,8 @@
" Binds
"
" Comment toggler for Reddit and Hacker News
bind ;c hint -c [class*="expand"],[class="togg"]
" Comment toggler for Reddit, Hacker News and Lobste.rs
bind ;c hint -Jc [class*="expand"],[class="togg"],[class="comment_folder"]
" GitHub pull request checkout command to clipboard (only works if you're a collaborator or above)
bind yp composite js document.getElementById("clone-help-step-1").textContent.replace("git checkout -b", "git checkout -B").replace("git pull ", "git fetch ") + "git reset --hard " + document.getElementById("clone-help-step-1").textContent.split(" ")[3].replace("-","/") | yank