From 4e4a1d01c4ed258c726fb1920c49d97ccd916eae Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 10 Feb 2018 10:37:05 +0100 Subject: [PATCH] Remove qutebrowser_viewsource userscript :view-source --edit can now be used instead. --- misc/userscripts/qutebrowser_viewsource | 33 ------------------------- 1 file changed, 33 deletions(-) delete mode 100755 misc/userscripts/qutebrowser_viewsource diff --git a/misc/userscripts/qutebrowser_viewsource b/misc/userscripts/qutebrowser_viewsource deleted file mode 100755 index a8ad71de3..000000000 --- a/misc/userscripts/qutebrowser_viewsource +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env bash - -# Copyright 2015 Zach-Button -# Copyright 2016-2017 Florian Bruhin (The Compiler) -# -# This file is part of qutebrowser. -# -# qutebrowser is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# qutebrowser is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with qutebrowser. If not, see . - -# -# This script fetches the unprocessed HTML source for a page and opens it in vim. -# :bind gf spawn --userscript qutebrowser_viewsource -# -# Caveat: Does not use authentication of any kind. Add it in if you want it to. -# - -path=$(mktemp --tmpdir qutebrowser_XXXXXXXX.html) - -curl "$QUTE_URL" > "$path" -urxvt -e vim "$path" - -rm "$path"