how to get more efficient writing code

已查看 27 次
跳至第一个未读帖子

Igor Lerinc

未读,
2023年1月4日 01:44:512023/1/4
收件人 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

未读,
2023年1月4日 01:56:352023/1/4
收件人 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

未读,
2023年1月4日 02:55:432023/1/4
收件人 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

未读,
2023年1月4日 04:18:502023/1/4
收件人 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

未读,
2023年1月4日 09:38:202023/1/4
收件人 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.

回复全部
回复作者
转发
0 个新帖子