Path: csiph.com!weretis.net!feeder9.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail From: Marion Newsgroups: alt.comp.os.windows-10,alt.comp.software.firefox,comp.editors Subject: Re: Strange questions (Was: How to edit HTML source file on Windows in one step (not two)?) Date: Thu, 23 Jan 2025 04:29:17 -0000 (UTC) Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com) Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 23 Jan 2025 04:29:17 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="56316"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2 Cancel-Lock: sha1:7xoovk+rHXM7Ep5iTTpFfm3G6vo= sha256:UCndNMLKadl8Gx8Bw0jSm6Fw92SE32L1ndPkpZmuBCw= sha1:k4DwkKPW1qPSvCesvGVap+bRO/I= sha256:OoncP7sKCp1tXzL6vLxdVZfgGhWt0ZRLApYOC/PjIR4= Xref: csiph.com alt.comp.os.windows-10:181663 alt.comp.software.firefox:12071 comp.editors:106508 On Wed, 22 Jan 2025 22:25:49 -0000 (UTC), Lawrence D'Oliveiro wrote : >> Yet, the most complex code that person could write, according to his own >> claims, was a VBS script that did a simple word count (which, we all >> know, can be accomplished with the wc macro in Vim, e.g., g+. > > Remember, the code I linked to was doing a count of the words of text in > an HTML file, ignoring markup. Oh. Thanks. I stand corrected. Me culpa. I publicly apologize for deprecating the "wc" that you were discussing. My mistake. In my defense, I was concentrating on solving the problem, where writing a VBS script to munge HTML wasn't likely to be the general purpose solution. Back to the main topic, I think Herbert's general purpose solution works for everyone on Mozilla-based web browsers, which is to define your favorite HTML editor and then to bring it up in one step using Control+u. In my case, that favorite editor is the venerable cross-platform gvim, which, in my case, I've been using in some form or other for decades. As described prior, I employ gvim macros to convert a template into a line of HTML code for Amazon Vine orders . That's my specific need - but - I'm always all about general purpose solutions, where my proposal works as well for a platform-independent browser-independent machine-independent global bookmarks.htm file. I am currently using gvim, for example, to add to that bookmarks.htm file. Each URL I want to add, I simply add it by copying & munging this template.
foo bar


With this method, a single bookmarks.htm file is used by the whole system. The editing capability of gvim allows me to munge that HTML to do that. I even posted this article (and every Usenet post) using telnet & gvim, since Marek Novotny (may he rest in peace) originally wrote my newsreader. While gvim isn't intended to be an HTML editor, it would be nice to find a free cross-platform simple-to-use yet powerful HTML editor for this task. Does anyone have a suggestion for a good cross-platform free HTML editor?