Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: owl Newsgroups: alt.os.linux Subject: Re: vim all the way Date: Fri, 8 Nov 2019 17:04:52 -0000 (UTC) Organization: O.W.L. Lines: 43 Message-ID: References: <4VmuF.55422$NI41.43708@fx12.am4> <195v8g-opo.ln1@Telcontar.valinor> Injection-Date: Fri, 8 Nov 2019 17:04:52 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="1de8676832536aaf892d7e477819e96a"; logging-data="5171"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LEXh+fHZXfky2es2IwphIPEP/gYNlXto=" User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-5-amd64 (x86_64)) Cancel-Lock: sha1:Y1LTBIHVz1ZdcGAYuT2Qi4lgKEY= X-Face: $BHf)vM$6p_?9L`jmOQ54JeNyL+%MZGGRfH8&grb[Y%-jU`MCPAQN=/SVDa{(/67bP(YB}rjV^h>cUh Xref: csiph.com alt.os.linux:60422 Carlos E.R. wrote: > On 08/11/2019 15.33, owl wrote: >> Carlos E.R. wrote: >>> On 08/11/2019 06.56, owl wrote: >>>> RonB wrote: >>>>> On 2019-11-06, owl wrote: >>> >>> ... >>> >>>> In vim, you are not expected to hang around in insert mode unless you >>>> are actually in the process of inserting text. As soon as you are done, >>>> you should escape back to normal mode. And you don't have to use a >>>> count, such to move forward 5 words with '5w'. You can just hit 'wwwww' >>>> if you want, or just hold down the 'w' key for repeats. It just saves >>>> some effort to give it a count, especially if you wanted to jump ahead >>>> by 20 words or 2000 words for whatever reason. Same applies to lines, >>>> up and down: 10j takes you down 10 lines. 100k takes you up 100 lines. >>>> And the count is just an estimate. You don't have to get it perfect. >>>> Just eyeball it and take a guess. If you overshoot the target word, >>>> 'b' takes you backward by word. >>>> >>>> But the real benefit of it being modal is that it keeps you from having to >>>> uses or modifiers to do everything, allowing for single-key >>>> commands. Once you have a draft of a document, and you are in the >>>> process of editing it, a great deal of your work will involve navigating >>>> the document, not necessarily inserting text, so it is of great benefit >>>> not to have to constantly use modifier keys for navigation commands. >>> >>> I prefer to use control or alt modifiers instead o changing modes. >>> >> >> I don't change modes unless I want to insert some text. Vim is designed >> as a text *editor*, and its focus is on streamlining the task of *editing*, >> while also allowing you to *compose* new text (in insert mode). > > Why else would I move to another position if I were not going to change > something there? Just to take a walk? :-D > Of course it's to make a change, but not all changes require typing in new characters. You may just want to delete a word, paste a word, or change the case.