From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [IPv6:2600:3c01:e000:146::1]) by inbox.vuxu.org (Postfix) with ESMTP id A68FA29B4A for ; Sat, 8 Jun 2024 00:12:49 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 82AE342852; Sat, 8 Jun 2024 08:12:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1717798362; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=6InYac24GREzyjRORhLgVVS1au77+FeOPGgObDPHsMg=; b=jAYMXsJZNxRJmaJx2ZjLwSqiIowsktIrHFStLKf9l2Co5hoC/F9g6nsoMcLXholj3V3/2M tkIV5shuNOEELD9HVHAd52XXPaqTzCGfR51ljG4CF7W5H3sJgXWmmnYGGK82IPcgWFFW11 IZCJVQumFRsbeCeMqBBFExomJ95hu7c= Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by minnie.tuhs.org (Postfix) with ESMTPS id 6EFC44284F for ; Sat, 8 Jun 2024 08:12:32 +1000 (AEST) Received: from sdf.org (IDENT:sj@iceland.freeshell.org [205.166.94.5]) by mx.sdf.org (8.16.1/8.14.3) with ESMTPS id 457MCUlc021853 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 7 Jun 2024 22:12:30 GMT Received: (from sj@localhost) by sdf.org (8.16.1/8.12.8/Submit) id 457MCUTa002433; Fri, 7 Jun 2024 18:12:30 -0400 (EDT) Message-Id: <202406072212.457MCUTa002433@sdf.org> Date: Fri, 07 Jun 2024 18:12:30 -0400 To: will.senn@gmail.com, tuhs@tuhs.org References: In-Reply-To: User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID-Hash: NJW4J62JA2TICXBVXHMV72P4QUI6ZDVS X-Message-ID-Hash: NJW4J62JA2TICXBVXHMV72P4QUI6ZDVS X-MailFrom: sj@sdf.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: diving into vi (nvi) - some observations from a slow learner List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Scot Jenkins via TUHS Reply-To: Scot Jenkins Will Senn wrote: > vim stands as an excellent example of just how far you can take a > product that works, keeping its core, but expanding it in all > directions. vim has a *lot* of knobs to twist, all of which must be in just the right position for it to be comfortably usable, in my opinion. I got annoyed with many of the default features, like the auto indenting and getting stuck in comment mode. Start a comment in vim and try to get out of that mode. I found I spent too much time trying to figure out how to turn off these things so I generally went back to straight vi as my daily editor. I use ed(1) a lot too for quick edits. vim is great for the syntax highlighting when coding or editing HTML though. It makes it easy to spot errors. > Off to figure out tags!! Arg, seems like it oughtta be really useful in > my work with source code, why can't I figure it out?! Sheesh. I think the best way to learn vi/vim features is from watching someone else use it. You pick up a lot of useful tricks. Mike Shah has many great videos; here are a couple vi/vim related ones. 1. Why I'm Still using Vim in 2024 - A Brief Introduction and Demo https://www.youtube.com/watch?v=e4E6nQpd7Xs This is a good quick into to using vi/vim. 2. [Dlang Episode 31] D Language - ctags with dscanner for VIM (and ctags with phobos demonstration) https://www.youtube.com/watch?v=vMF7NxF_HFY While he uses the D programming language for this video, it is a great demo of how to use ctags. The principle is the same for other programming languages, ctags supports many, run: "ctags --list-languages" to view the full list. scot