From nobody Tue Nov 28 03:36:07 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SfSm80pLtz52Fnk for ; Tue, 28 Nov 2023 03:36:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SfSm764M0z4Dh7 for ; Tue, 28 Nov 2023 03:36:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701142567; h=from:from: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; bh=NoKkSPwdCP+HHpHohfIZ+dFpRUoNoRIZFSzna7XfgRk=; b=q3BoQOJJH5T2szOXZpSG38VyYjdeKt0Z//sf6Exke/PNVK+oDDfBLUdZ5R071IDs3mf9Xk +4qxhifNUgBQHm6prWy+oUl1XL4J5BU9hd4SzifPdKIEsExlOVp7xZR9fTevxP449Iji2t lRBL1ErOR+r3nCK3pC6Tx+q3lzr/1nNSXajZm6EMyIDA4emdlTkM0Lc773kcq++PDm5EDe sfVPcU6MWwS5ta2lJjybnUxKpIYmj4eYkH1vPKhRfGngssqRPhwbdV80oYwW2KZG59JNSH Uf5VssxygjmwPmo5so72Uy72nqtEQCncrvSZ5XznUR6lft9bwCTDNowiKBQ6Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701142567; a=rsa-sha256; cv=none; b=aBGUI3GzNdVv6LiZjA36FNc/drjON+ubFSzng126GmUu1KY4WHg5LYN2hSJ2EvPqvZCKYc G7oQnVrX1lxKVWyJMovFlii9wcIviLXb5kJfIcNG756jAc23wDNuD0AKjQ/ybHPUsWdpI7 UhobyHLjeNk5Sr8zz1Ql7bY07POKJ1gg/OHA0fqfs1x+lDzi6vmYvuVCpHHLbLdoDZBejz 3dXKeS0MSZMb2vIs08EPoq1oqZ7zuw9FpOFuv+yQpHQrHuxnLIIRLlBDTlzn/XW6+9If9k TSNQp/WKK5wVsB8ubnzG3FvoqH1ZabAfISXqkt73ZnOrMA+/PbOQzQkJiGEyZw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SfSm758Ykz15Fn for ; Tue, 28 Nov 2023 03:36:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AS3a7hF059778 for ; Tue, 28 Nov 2023 03:36:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AS3a7jY059777 for bugs@FreeBSD.org; Tue, 28 Nov 2023 03:36:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275400] vi arrow keys to beginning or end of line causes mode to change into command mode Date: Tue, 28 Nov 2023 03:36:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pyrus@bsdmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275400 Bug ID: 275400 Summary: vi arrow keys to beginning or end of line causes mode to change into command mode Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pyrus@bsdmail.com This has been a feature of vi, since I've used FreeBSD 6.0 and still is now= . It might have been like this or may still be on Linux. I didn't see it as a bug then, but as a not helpful feature, but it can be improved. Using FreeBSD 1= 4.0 now. When in append or insert mode, using the arrow key to bring the cursor to t= he beginning or end of a line causes it to change into command mode. It has be= en inconvenient for editing files where a "#" has to be inserted or removed at= the start of many lines, such as KERNCONF. I didn't notice this part before, when I go to the beginning of a line, it = also reads, "Already in the first column; vi command failed: mapped keys discard= ed". There's a similar message when going to the beginning of a line, with "Alre= ady at end-of-line". This shows as it goes from insert mode to command mode. It= 's like this also for using the arrow key to go to the beginning or end of the file. We don't as often go to the beginning or end of a file, as going to the sta= rt or end of each line is more common. It would be important to change the characteristics of going to the beginning or end of a line. Thank you --=20 You are receiving this mail because: You are the assignee for the bug.=