Advanced Vim Workflows

preview_player
Показать описание
Watch three typical workflows of someone with a decade of Vim experience. I'll edit 40 files at once with :argdo, turn bags of JavaScript functions into classes with a macro, then create a keyboard shortcut for playing the mp3 under cursor.

Errata
4.16: I said "command line mode". It's actually "command mode". Thanks to the great people at r/vim for catching that.
Рекомендации по теме
Комментарии
Автор

So far all videos displaying the "power of vim" have had me screaming at the screen as they use macros to solve absolutely basic problems that can be solved much better with :%s/pattern/replacement/g (assuming the dev is not a tool and actually knows Regex).
This is the first demonstration I see of actual powerful use macros. Especially since you also demonstrate the power of text objects and arglist.
Well done sir!

PS: my most recent use of macros was selecting certain bits of text and moving them from one file to another. It's suprisingly easy to record a macro that:
1. deletes the entire text object your cursor is on
2. switches window (I had the other file open in the other window)
3. jumps to the bottom
4. pastes
5. comes back to the first window
6. jumps to the next text object to inspect

dlirious
Автор

Holy Sh** this is amazing !! I'm only 6 months into VIM and everyday getting new tricks and commands, but looking forward to a decade in VIM !

Fichleai
Автор

As someone just getting started with vim, that was amazing to watch! Can you do a video on how you have your vim set up? I mean with all the plugins ...etc.

JKhalaf
Автор

Im pretty new to vim but so far I really love its capabilities though im no where near this level! The only thing is trying to remember all the keys and wishing I knew more about vim builtin scripting.
Glad to discover your content and thank you for producing it!

fredhair
Автор

Excited to watch this tonight, glad to see more content!

Deanin
Автор

As a new Vim user... you're a goddamn wizard!

ArielVolovik
Автор

I've been using VI since 1997 and that was just nutty.

kombatunit
Автор

Excelent showcase on actually doing real example on how to use this tools. I often when doing some refactoring try to learn a new way on doing it by using Vim or some cli tool like sed. Never knew I could run a macro on several files like that, and also that example on taking the results of a regexp and pasting on that line. Very good stuff! Keep them going!

PabloAndresDealbera
Автор

Splendid job! Efficient & elegant manner combines with the true knowledge for an aesthetics pleasure. High quality content here!

ivankudinov
Автор

And here I am thinking VIM can' surprise me anymore. And then there is this video.

martonturbuk
Автор

You had me already convinced with Schumann, you didn't need to record all those macros!

javiertw
Автор

I always find so much to vim that I haven't discovered yet. The args do and macro thing I must learn to make use of.

Chalisque
Автор

Excellent advanced vim tips.
Kindly use screen key so we can see the commands you type.
Many thanks

yallaoui
Автор

Great video! Love to see how others use vim. The best way to learn after one knows the basics. Cool Examples! Looking forward to the next vim workflow video!

shaytal
Автор

Omg the prozac thing made me laugh. Love the channel name too.

JayJay-kimi
Автор

god tier content .... instant sub. Thankyou for making this high quality video and sharing it (Y) kudos

avimehenwal
Автор

How can I get the buffer list on the top of the window like yours??

MrMangkokoo
Автор

This was amazing! Thank you for doing this!

nighttrading
Автор

Awesome vid 🙌 Excited for some more content!!

qwertyasdf
Автор

Great video, I learned a lot from this video!

jeheoxp