Vim Alchemy with Macros

  Рет қаралды 51,408

Luke Smith

Luke Smith

Күн бұрын

Пікірлер: 239
@jerespspi7434
@jerespspi7434 2 жыл бұрын
"a daily usage of vim" : yes my favorite content creator finally does "day in the life" videos
@GhostofTradition
@GhostofTradition 2 жыл бұрын
I'm hoping for daily vlogs, soon much content to consooooom!
@ruki1252
@ruki1252 2 жыл бұрын
> favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator > favorite content creator
@TheSolidSnakeOil
@TheSolidSnakeOil 2 жыл бұрын
You think you know but you have no idea.
@h.s3187
@h.s3187 2 жыл бұрын
Skivd djambos
@tiltltt
@tiltltt 2 жыл бұрын
finally luke going back to his origins as one of the bald linux nerds
@flarone
@flarone 2 жыл бұрын
Finally a vim tutorial. Playin' the oldies. Do "Mac is hipster brand signaling" next!
@DorperSystems
@DorperSystems 2 жыл бұрын
I am sure that some people do it for hipsterism but that's a stereotype like Arch users being insufferable obscurantists with a superiority complex and no gf. who The M1 MacMini is very good spec wise though. I bought one and it's very nice, does everything I wan't it to do and more. You can pick one up lightly used for less than $500. I'm sure a lot of people buy Macs for hipster brand signaling but a lot of computers today are just overpriced plastic garbage. You have to go 4+ years secondhand for any PC-compatible laptop that isn't plastic trash.
@piface3016
@piface3016 2 жыл бұрын
@@DorperSystems Do you use Mac on it?
@DorperSystems
@DorperSystems 2 жыл бұрын
@@piface3016 yes
@iskamag
@iskamag 2 жыл бұрын
​@@DorperSystems the reason for the mac and apple hate is not the specs (it should be near the bottom of the things to care about) but all the bullshit and nonfree crap inside. It can and has made everything hard and annoying, degraded faster than a redditor's mind, deleted nearly all my data, and locked us up to the point we can't even downgrade or even just change the fucking icons anymore, let alone run Linux on the devices. Imagine selling a $4000 "professional" computer that can't do everything minicomputers from over 50 years ago can...
@DorperSystems
@DorperSystems 2 жыл бұрын
@@iskamag Darwin is free software. The same type of hate does not exist for OS X that exists for Windows (which is nearly completely closed source). You can run Linux on any Intel or PowerPC Mac. A Linux port is in progress for M1 Macs. A Mac can do almost anything that a Linux machine can. Unlike Linux, OS X is actually UNIX® certified instead of Unix-like. What's one thing that you can't do on a Mac that you could on a VAX or PDP?
@Elias_Az
@Elias_Az 2 жыл бұрын
Another vim content ! I love it. Vim is the best software ever. One you use it, it change your life for ever.
@spicynoodle7419
@spicynoodle7419 2 жыл бұрын
I can't imagine not using vim. Yesterday I had a lab where we had to write TurboC programs in Borland and it was painful as hell. Not because of the old curses TUI but because of the lack of vim. Text editing without vim (even with my limited knowledge) is mega inefficient
@DorperSystems
@DorperSystems 2 жыл бұрын
@@spicynoodle7419 Are you indian?
@spicynoodle7419
@spicynoodle7419 2 жыл бұрын
@@DorperSystems I'm slav
@DorperSystems
@DorperSystems 2 жыл бұрын
@@spicynoodle7419 epic.
@dal2452
@dal2452 2 жыл бұрын
Very cool use of macros. Fun fact: If you just ran a macro, you can type "@@" in normal mode to run the same macro again. Might be easier than typing "@v" over and over again.
@aquepaique
@aquepaique 2 жыл бұрын
omg I didn't know
@ChristianVogl
@ChristianVogl 2 жыл бұрын
@@techtutorvideos Or you press `200@v` to get two hundred repetitions of macro ›v‹.
@didriknordstrom361
@didriknordstrom361 2 жыл бұрын
Vim Diesel is back!
@mqL49J
@mqL49J 2 жыл бұрын
9:02 Luke points to his screen, realizes it doesn't work with the camera perspective, rubs head self-consciously.
@farzadmf
@farzadmf 2 жыл бұрын
Missed these kinds of cool productivity videos, looking forward to more
@divukman
@divukman 2 жыл бұрын
I have started looking into VIM more extensively, not that I cant work without it, just that I think it will be very handy to know it better. Thanks for the video!
@93matarl
@93matarl 2 жыл бұрын
vim is almost too powerful, this is a really useful thing to know, thanks for making this tutorial.
@SmallSpoonBrigade
@SmallSpoonBrigade 2 жыл бұрын
Yes, that's part of why it can be so intimidating. If you open up the information screen on all the keybindings, it can be rather scary. That and being set loose with an entirely blank screen with no visible menu.
@SayfSentinel
@SayfSentinel 2 жыл бұрын
You can even go a step further and make it recursive by adding @v just before hitting q to stop you macro That way you don’t have to call your macro multiple times. It stop once it hit an error if you made it robust
@JustSomeAussie1
@JustSomeAussie1 2 жыл бұрын
Alternatively you can do something like 100 @v to make it run 100 times
@Wintastic
@Wintastic 2 жыл бұрын
Great tip!
@silicondecay
@silicondecay 2 жыл бұрын
I’ve been using neovim everyday for about a year now and I most definitely should use these features more often. I would’ve added slashes using the search and replace mechanism. I also learned about using ‘zz’ to center the screen. I like these videos
@saavestro2154
@saavestro2154 2 жыл бұрын
I started to follow Luke because of his Vim Diesel videos. Great to see him back.
@irelanddaynight
@irelanddaynight 2 жыл бұрын
Luke Smith's videos slowly redpilling me to leave my crap office job.
@autonaut279
@autonaut279 2 жыл бұрын
Really? if You're being serious I think that's great!
@jastaneim9252
@jastaneim9252 2 жыл бұрын
Move into the nearby river and live off contaminated water and fish you hunt yourself with a spear
@bvbianca
@bvbianca 2 жыл бұрын
@@tissuepaper9962 Based
@tellmey1
@tellmey1 2 жыл бұрын
@@jastaneim9252 Based
@tellmey1
@tellmey1 2 жыл бұрын
@@tissuepaper9962 You can buy fish that are artificially grown in freshwater tanks. No contamination, very good. Very expensive though, but thats why you do wagecuck labor, to get money to consume good product
@samoylov1973
@samoylov1973 2 жыл бұрын
Luke, thanks. Love these easy to understand and practice like tutorials. Please make more like this one.
@bishwajitkar2165
@bishwajitkar2165 2 жыл бұрын
or " . " to repeat the previous command?
@jlaviews
@jlaviews 2 жыл бұрын
The angle makes the keyboard look like a piano in size
@teacon7
@teacon7 2 жыл бұрын
I love the vim tutorials. I'd love to see more of how to use LaTeX + pandoc.
@slipcurve1410
@slipcurve1410 2 жыл бұрын
Nice to see vim in different contexts. I use vim for everything, but it's mainly code. The plugins are different, but it's still vim (nvim) underneath.
@alexandrosvasileiou9635
@alexandrosvasileiou9635 2 жыл бұрын
I love the original Luke videos :D That and rants in the woods :D
@burkajo-ketanhitam
@burkajo-ketanhitam 2 жыл бұрын
Finally, back to vim + LaTeX tutorial
@africayean1311
@africayean1311 2 жыл бұрын
It's great that you upload another vim marco video after "forever"
@exile55
@exile55 2 жыл бұрын
I just got into GNU/Linux and I really love it. I'm using Arch, but now that I saw your Art vid, I don't know if I want to. For now, I'm going to, since I restarted 5 times since I seem to fudge it all up. I'm an artist, so I tend to want more GUI interfaces that look good, but I find the shell so powerful, I'm starting to understand why so many technophiles love the terminal/shell. This just goes to show how insanely good it is. I've been using Kate, but maybe I'll use Vim instead. Thanks for sharing. At some point, I want to write a book about how we all can become much more enlightened (no religion involved) and happy, just by understanding how ourselves and other's minds work. Also, by using visual demonstrations, since some people won't read it if it's not easy to. I hope if I do write it, there will be an audience for it. Anyway, thanks again for this. ^^
@user-ux2kk5vp7m
@user-ux2kk5vp7m 2 жыл бұрын
It's not called GNU/Linux, it is called Linux.
@600esjonne
@600esjonne 2 жыл бұрын
@@user-ux2kk5vp7m wrong
@user-ux2kk5vp7m
@user-ux2kk5vp7m 2 жыл бұрын
@@600esjonne I am not wrong. The operating system is Linux, GNU tools just happen to be commonly packaged with it. There exists Linux without GNU, just look at Alpine Linux. Besides, if you want to name your system based on who’s code you use the most, why aren’t we calling most distributions X/GNU/Linux?
@offensivearch
@offensivearch 2 жыл бұрын
Kakoune is another FOSS text editor you can explore too
@VikasVJois
@VikasVJois 2 жыл бұрын
For amateur linux users, part of this functionality is also available in "nedit", where the macro keystrokes can be recorded and played back to accomplish complex repetitive tasks.
@dandan-gf4jk
@dandan-gf4jk 2 жыл бұрын
>reddit
@fredhair
@fredhair 2 жыл бұрын
(n)vi(m) is to text what Excel is to numbers, all programmers should learn to use vim. It's one of those 'niche' super useful things like awk that actually gives you a productivity boost on a regular basis, the more you know, the more time you save in the long term. A wise investment indeed.
@nikolaychechulin3494
@nikolaychechulin3494 2 жыл бұрын
What tf is nvi?
@colton3507
@colton3507 2 жыл бұрын
@@nikolaychechulin3494 he meant the origins are vi. Then came (and is optional) vim. Then came nvim
@fredhair
@fredhair 2 жыл бұрын
@@nikolaychechulin3494 nvim, vi, vim is what I was referring to
@dandan-gf4jk
@dandan-gf4jk 2 жыл бұрын
@@nikolaychechulin3494 nvi is actually an implementation of vi most often found on modern systems if at all
@offensivearch
@offensivearch 2 жыл бұрын
I've been using kakoune, it is vi inspired but a lot less bloated and easier to configure.
@silak33
@silak33 2 жыл бұрын
Just want to comment that after you have used @v the first time you can just use @@. It's a shortcut to the last used macro. A number can also be applied in the start to tell how many times you want to apply the macro. I didn't actually know that when you use visual mode you can apply a command between the end and the start. I would probably have set a mark in the start instead. 🤷‍♀
@fabiocoldani8406
@fabiocoldani8406 2 жыл бұрын
Ready to consume this content created by my favourite influencer!
@erc0re526
@erc0re526 2 жыл бұрын
You just made my life with the "norm" operator!! Thank you
@Davxinci
@Davxinci Жыл бұрын
I love how Luke has programmed his bank balance and spend categories on his OS top bar. The secret sauce to life - gamify it! - I Love It :)
@sanchopanza9907
@sanchopanza9907 2 жыл бұрын
Thank you very much Luke. Seeing this example is really helpful.
@sjuvanet
@sjuvanet 2 жыл бұрын
Thank you for your work with lindypress. Blessings sir.
@JohnMassaglia
@JohnMassaglia 2 жыл бұрын
I love when you make videos like this. Thank you.
@DevDungeon
@DevDungeon 2 жыл бұрын
I bought one of those keyboard because I love the bellybutton mouse, but I have the same complaint. When you try to go up and left, the G key on the keyboard actually gets in the way of the mouse and that's why you it goes slower in that direction.
@iskamag
@iskamag 2 жыл бұрын
Oh hi DevDungeon!
@deathbooker7466
@deathbooker7466 2 жыл бұрын
whats the keyboard? never seen it!
@menerke
@menerke 2 жыл бұрын
What is even more powerful is that you can call the macro recursively by hitting @v just before you end recording the macro. With this you can run the macro on your whole document by just pressing @v once, instead of pressing @v again and again.
@himanipku22
@himanipku22 2 жыл бұрын
At about 6:50 Luke says left slash, but meant to say left curly brace. I had forgotten about the curly brace! Thanks for reminding me Luke!
@iamroot6338
@iamroot6338 2 жыл бұрын
This is content I look forward from luke Smith Vim diesel is back
@resentfulsoulofthetoilet589
@resentfulsoulofthetoilet589 2 жыл бұрын
Finally started using vim today, fast forward 30 mins of vimtutor and Im frantically opening every single text file in my computer and try to mess around in vim! Needless to say , my back Hz ( apologies for the lame dad joke)
@robert58
@robert58 2 жыл бұрын
Tip: instead of spamming '@v' you can also just press . to repeat the last action.
@xiwi
@xiwi 2 жыл бұрын
9:00 Thanks for pointing it out, I was confused which paragraph you were talking about 👍
@shan3722
@shan3722 2 жыл бұрын
_@_ runs the macro bound to __ _@@_ runs the most recently run macro For example, at 9:22, instead of _@v@v@v,_ Luke could have typed _@v@@@@_
@shan3722
@shan3722 2 жыл бұрын
@Marcin Freitag good point, but only works if he already knows the number of paragraphs
@theguyinthefunnyhat
@theguyinthefunnyhat 2 жыл бұрын
Vim Tutorial. **PLAYIN' THE HITS!**
@weqweqkweq7264
@weqweqkweq7264 2 жыл бұрын
Vim Diesel is back.
@hacerdemirel9833
@hacerdemirel9833 2 жыл бұрын
Thank you Luke. Hello from Turkey.
@oscarsperspective7681
@oscarsperspective7681 2 жыл бұрын
vim diesel is back
@siksniper1996
@siksniper1996 2 жыл бұрын
I've been using macros to do the same thing as :Norm A \\. That's awesome I didn't know you could do that!
@GabrielePhoto
@GabrielePhoto 2 жыл бұрын
A weekly vim video from you would be pretty nice
@angusmacgyver
@angusmacgyver 2 жыл бұрын
I enjoy your Vim Diesel alter ego videos.
@DoomRater
@DoomRater 2 жыл бұрын
Clearly I need to start using macros. They will save me so much effort when working with scripts. The fact I've been scripting and coding without using any macros whatsoever tells me that I haven't been learning the skills I really, truly need.
@smit17xp
@smit17xp 2 жыл бұрын
Long awaited video
@ivanpogrebnyak3109
@ivanpogrebnyak3109 2 жыл бұрын
FYI, you can do `@@` to run the last macro you ran. So, instead of `@v@v@v` you can do `@v@@@@`.
@dunkelwelpling
@dunkelwelpling 2 жыл бұрын
Vim adepts gather around, the grand wizard has uploaded a new video for you!
@myfavouritecolorisgreen
@myfavouritecolorisgreen 7 ай бұрын
oh how i loved vim diesel back in the day
@aayushnp5430
@aayushnp5430 2 жыл бұрын
Great video, these vim tutorials are a god send
@jangelelcangry
@jangelelcangry 2 жыл бұрын
Either Luke is Really small or his KB is Ginormous.
@nix3l_
@nix3l_ 2 жыл бұрын
Luke is 3’5”
@funkyfresh1013
@funkyfresh1013 2 жыл бұрын
luke is 2’ 5”
@tellmey1
@tellmey1 2 жыл бұрын
luke is 1' 5"
@allegoricalstatue
@allegoricalstatue 2 жыл бұрын
Nice, looking forward to more LaTeX tutorials. too.
@amenforthy2213
@amenforthy2213 2 жыл бұрын
now i will start donating... welcome back !!
@SmallSpoonBrigade
@SmallSpoonBrigade 2 жыл бұрын
Honestly, I would probably have used sed and awk to do the same thing. It probably wouldn't have been quite as fast, but depending upon the length of the text and how often you're doing it, it would have been worthwhile. Plus, it wouldn't have required vim, which isn't on all machines.
@colton3507
@colton3507 2 жыл бұрын
Thank you. I didn't know about the norm command. Really cool!
@d.developer
@d.developer 2 жыл бұрын
we need more vim alchemy videos
@chillydoog
@chillydoog 2 жыл бұрын
There he is. Ive been looking for you
@alan_core
@alan_core 2 жыл бұрын
Vim Diesel is back with a vengeance...
@rblab5
@rblab5 2 жыл бұрын
yesss... Vim Diesel is back
@idan4989
@idan4989 2 жыл бұрын
Mr. Crowley What went on in your head? Oh, Mr. Crowley Did you talk to the dead?
@htpinw1813
@htpinw1813 2 жыл бұрын
luke is my favorite gamer girl
@alcyonecrucis
@alcyonecrucis 2 жыл бұрын
“To feed so grossly, they are nothing greasy”
@bhaveshverma8629
@bhaveshverma8629 2 жыл бұрын
Finally Linux video. 👍
@averesenso
@averesenso 2 жыл бұрын
I like these tinkering videos
@ezengondolkozom3700
@ezengondolkozom3700 2 жыл бұрын
That chair looks comfy
@ezequiel9055
@ezequiel9055 Жыл бұрын
"I make my coffee exactly the same way everyday so I'll show you how I do it with a vim macro..." :D
@dawnwatching6382
@dawnwatching6382 2 жыл бұрын
I hope the Alchemy podcast episode is coming soon.
@alexwexov4298
@alexwexov4298 2 жыл бұрын
I missed the Vim videos. Can you make a video about Neovim or "Keyboard layouts". Thank you.
@boscovallejo-nagera6073
@boscovallejo-nagera6073 2 жыл бұрын
Kind of expected you would do _5@v_ at the end
@meh6985
@meh6985 2 жыл бұрын
i missed these videos
@yoshi314
@yoshi314 2 жыл бұрын
that keyboard looks huge with that angle.
@starseven4736
@starseven4736 2 жыл бұрын
Bring back the terminal glory we need more videos
@Cypekeh
@Cypekeh 2 жыл бұрын
Great Is there some website to practice vim shortcuts? Because I find myself always using the shortcuts I already know and very rarely learning new ones
@mintcar
@mintcar 2 жыл бұрын
I recommend the which-key plugin
@StinkySkunk100
@StinkySkunk100 2 жыл бұрын
Luke Smith is my favorite Vtuber
@krisnrg
@krisnrg 2 жыл бұрын
That's a cool skateboard.
@enterusername7746
@enterusername7746 2 жыл бұрын
The Normie Mode
@ducksies
@ducksies 2 жыл бұрын
Emacs' evil-mode is faster for using Vim macros if you're working with big files
@alureon1
@alureon1 2 жыл бұрын
These are the best videos.
@digitalwojtya3669
@digitalwojtya3669 2 жыл бұрын
I just realized this guy is like white clone of Kenny from Mental Outlaw (or Kenny is clone of him), they even got pretty much the same style of haircut and beard and ofc content is almost 1:1 you guys should do like a colab or something
@frzen
@frzen 2 жыл бұрын
Have you heard the deep fake theories?
@Deepak55elf
@Deepak55elf 2 жыл бұрын
Wooah two videos in a day please teach us more and more basic stuff yesterday night installed larbs in Dell 3400 is arch with your larbs perform better so far it's good battery backup do I need anything tweak
@SantiagoGonzalez-sl5lj
@SantiagoGonzalez-sl5lj 2 жыл бұрын
If you liked this, look for a video called "how vim makes my daily life easier" by Luke Smith. Is that kind of video that make your life instantly a little better right after you watched it
@MrOnion2001
@MrOnion2001 Ай бұрын
You make good Vim videos! But I have to repeat them of course to follow the things you say (not only Vim but English, too :) ) A question not about Vim but on LaTeX: in your example you use a very nice chapter-heading-style and also a good-looking font - which packages are these (and maybe: are there special options?)
@MrPoselsky
@MrPoselsky 2 жыл бұрын
Everytime I see your video, I want that chair more and more. Looks comfy.
@LukeSmithxyz
@LukeSmithxyz 2 жыл бұрын
It really is not at all. Terrible ergonomics.
@davidkeys4284
@davidkeys4284 2 жыл бұрын
@@LukeSmithxyz get a gaming chair. They're comfortable af, imo
@seanld444
@seanld444 2 жыл бұрын
@@davidkeys4284 yeah Luke get an RGB gamer chair
@kekag
@kekag 2 жыл бұрын
@@davidkeys4284 Gamer chairs are extremely uncomfortable. But even worse, they're cringe
@davidkeys4284
@davidkeys4284 2 жыл бұрын
@@kekag there's some real nice one's out there. The one I have for my office is not cringe at all.
@Aleksandar0100
@Aleksandar0100 2 жыл бұрын
ah yes, the quarterly vim video
@enricosalamon8294
@enricosalamon8294 2 жыл бұрын
Please make on snippets, it would be really helpful
@gavinridley5727
@gavinridley5727 2 жыл бұрын
Vim Diesel himself!!
@geoptus
@geoptus 2 жыл бұрын
Some more groff too please!!
@muammar007
@muammar007 2 жыл бұрын
finally your internet connection returned 😂
@dawolfman92
@dawolfman92 2 жыл бұрын
What boots are you wearing? Those look fantastic
@LukeSmithxyz
@LukeSmithxyz 2 жыл бұрын
Red wings. Coal miner boots. I've had them for a couple years.
@PASRC
@PASRC 2 жыл бұрын
@@LukeSmithxyz insane drip
@srivathsansudarsanan3372
@srivathsansudarsanan3372 2 жыл бұрын
Good old vim macros the only sad thing is the buffer is only upto 999 lines so things kinda break after 999 and how many lines it's been executed is a little hard. So unless it's smaller than 1000 lines I use shell for scripting
@jdfesa
@jdfesa 2 жыл бұрын
Esa silla se ve muy comoda, es algun modelo en especial?
@MarekKowalczyk
@MarekKowalczyk 2 жыл бұрын
Any comments about Kakoune?
@Deepak55elf
@Deepak55elf 2 жыл бұрын
Thanks 🙏🙏🙏
@tensorflow5777
@tensorflow5777 2 жыл бұрын
I missed these
@Deepak55elf
@Deepak55elf 2 жыл бұрын
I am understanding what are you doing 😭😭 I need to remember more vim keys
@chien461
@chien461 2 жыл бұрын
why are you wearing shoes inside
@dandan-gf4jk
@dandan-gf4jk 2 жыл бұрын
@@tissuepaper9962 I'm not
@fraserdavies3
@fraserdavies3 2 жыл бұрын
Great tutorial as always. Could have also used @@ (i.e., repeat macro) for the third paragraph to the end
@autonaut279
@autonaut279 2 жыл бұрын
lol that keyboard 😆
VIM Users DESTROYED in 1 Minute by Gedit CHAD!
1:09
Luke Smith
Рет қаралды 67 М.
Are You Just TOO SMART to Learn Anything?
12:36
Luke Smith
Рет қаралды 149 М.
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
This VIM trick BLEW MY MIND
6:37
typecraft
Рет қаралды 67 М.
The REAL Red-Pill on Free Will!
10:43
Luke Smith
Рет қаралды 73 М.
In Defense of "Pseudoscience"
19:34
Luke Smith
Рет қаралды 37 М.
A Demonstration of Modern Web Bloat
11:55
Luke Smith
Рет қаралды 138 М.
How To Use Vim/Neovim Macros For Next Level Productivity
9:50
Josean Martinez
Рет қаралды 20 М.
That One Micro Talk on Macros (NeovimConf 2023)
9:57
Jesse Leite
Рет қаралды 8 М.
Why Fantasy is Obsessed with Swords
17:49
Tale Foundry
Рет қаралды 345 М.
groff/troff: MUH MINIMALIST Documents
13:21
Luke Smith
Рет қаралды 171 М.
Vim Tips You Probably Never Heard of
12:11
Luke Smith
Рет қаралды 126 М.
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН