how to get more efficient writing code

27 views
Skip to first unread message

Igor Lerinc

unread,
Jan 4, 2023, 1:44:51 AM1/4/23
to vim_use
can you reccomend me some youtube chanells, or videos, where programmers actually use Vim to edit code, and work with all that complex stuff.
just to give me idea, how they do it. so i can get comfortable if i'm doing it efficient enought

jr

unread,
Jan 4, 2023, 1:56:35 AM1/4/23
to vim...@googlegroups.com
hi,

On Wed, 4 Jan 2023 at 06:44, Igor Lerinc <igor.l...@gmail.com> wrote:
>
> can you reccomend me some youtube chanells, or videos, where programmers actually use Vim to edit code, and work with all that complex stuff.
> just to give me idea, how they do it. so i can get comfortable if i'm doing it efficient enought

if you're ok with a book instead of .. television :-), I can recommend
"Practical Vim" by Neil Drew.

--
regards, jr.

You have the right to free speech, as long as you're not dumb enough
to actually try it.
(The Clash 'Know Your Rights')

this email is intended only for the addressee(s) and may contain
confidential information. if you are not the intended recipient, you
are hereby notified that any use of this email, its dissemination,
distribution, and/or copying without prior written consent is
prohibited.

Nicolas Dermine

unread,
Jan 4, 2023, 2:55:43 AM1/4/23
to vim...@googlegroups.com
hi,

On Wed, Jan 4, 2023 at 7:56 AM jr <creature...@gmail.com> wrote:
hi,

On Wed, 4 Jan 2023 at 06:44, Igor Lerinc <igor.l...@gmail.com> wrote:
>
> can you reccomend me some youtube chanells, or videos, where programmers actually use Vim to edit code, and work with all that complex stuff.
> just to give me idea, how they do it. so i can get comfortable if i'm doing it efficient enought

if you're ok with a book instead of .. television :-), I can recommend
"Practical Vim" by Neil Drew.

I learned a lot from "Practical Vim" too.

and from the "Destroy All Software" videos (not free, require a subscription).

cheers,
nico

meine

unread,
Jan 4, 2023, 4:18:50 AM1/4/23
to vim...@googlegroups.com
Both video's below are very instructive:

https://www.youtube.com/watch?v=wlR5gYd6um0

https://www.youtube.com/watch?v=XA2WjJbmmoM

However, if you want to _learn_ Vim, you'll have to *use* it. That way
the Vim Grammar gets into your hands and head. The Vimtutor is a good
way to do so.

KR,

//meine

aro...@vex.net

unread,
Jan 4, 2023, 9:38:20 AM1/4/23
to vim...@googlegroups.com

Go through the steps you have to take for every piece of code you write,
and create scripts to do as much as possible automatically.

You have to open a file in Vim, give it a name that is not already in use,
put in some boilerplate, (#! line, description of the code's purpose, &c,
depending on language and code type, and make it executable. All that can
be done with skeleton files and shell or Vim scripts. Keeping code under a
source control program, (e.g Git) can be automated in the same way.

Think about what you're doing, then how to get the computer to do it gor
you. Don't expect to get it right first rimw. Build up step by step, and
be prepared to scrap and start over. Just don't let the pleasure of
plating with the tools divert you from producing code useful for others.

If you want to see what can be done, watch Damian Conway's videos, e.g.
https://www.youtube.com/watch?v=oka4wcsrg0c where he uses Vim for
everything, including the presentation tool. Just don't expect tp attain a
similar level of proficiency for a decade or so.

Reply all
Reply to author
Forward
0 new messages