Vim Alchemy with Macros

  Рет қаралды 50,521

Luke Smith

Luke Smith

Күн бұрын

Пікірлер: 238
@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 Жыл бұрын
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.
@farzadmf
@farzadmf 2 жыл бұрын
Missed these kinds of cool productivity videos, looking forward to more
@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!
@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.
@jlaviews
@jlaviews 2 жыл бұрын
The angle makes the keyboard look like a piano in size
@saavestro2154
@saavestro2154 2 жыл бұрын
I started to follow Luke because of his Vim Diesel videos. Great to see him back.
@mqL49J
@mqL49J 2 жыл бұрын
9:02 Luke points to his screen, realizes it doesn't work with the camera perspective, rubs head self-consciously.
@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
@teacon7
@teacon7 2 жыл бұрын
I love the vim tutorials. I'd love to see more of how to use LaTeX + pandoc.
@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
@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?
@burkajo-ketanhitam
@burkajo-ketanhitam 2 жыл бұрын
Finally, back to vim + LaTeX tutorial
@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!
@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.
@africayean1311
@africayean1311 2 жыл бұрын
It's great that you upload another vim marco video after "forever"
@erc0re526
@erc0re526 Жыл бұрын
You just made my life with the "norm" operator!! Thank you
@sjuvanet
@sjuvanet 2 жыл бұрын
Thank you for your work with lindypress. Blessings sir.
@GabrielePhoto
@GabrielePhoto 2 жыл бұрын
A weekly vim video from you would be pretty nice
@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)
@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
@alexandrosvasileiou9635
@alexandrosvasileiou9635 2 жыл бұрын
I love the original Luke videos :D That and rants in the woods :D
@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.
@fabiocoldani8406
@fabiocoldani8406 2 жыл бұрын
Ready to consume this content created by my favourite influencer!
@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.
@JohnMassaglia
@JohnMassaglia 2 жыл бұрын
I love when you make videos like this. Thank you.
@iamroot6338
@iamroot6338 2 жыл бұрын
This is content I look forward from luke Smith Vim diesel is back
@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
@hacerdemirel9833
@hacerdemirel9833 2 жыл бұрын
Thank you Luke. Hello from Turkey.
@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!
@xiwi
@xiwi 2 жыл бұрын
9:00 Thanks for pointing it out, I was confused which paragraph you were talking about 👍
@angusmacgyver
@angusmacgyver 2 жыл бұрын
I enjoy your Vim Diesel alter ego videos.
@myfavouritecolorisgreen
@myfavouritecolorisgreen 5 ай бұрын
oh how i loved vim diesel back in the day
@allegoricalstatue
@allegoricalstatue 2 жыл бұрын
Nice, looking forward to more LaTeX tutorials. too.
@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"
@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!
@d.developer
@d.developer 2 жыл бұрын
we need more vim alchemy videos
@robert58
@robert58 2 жыл бұрын
Tip: instead of spamming '@v' you can also just press . to repeat the last action.
@theguyinthefunnyhat
@theguyinthefunnyhat 2 жыл бұрын
Vim Tutorial. **PLAYIN' THE HITS!**
@smit17xp
@smit17xp 2 жыл бұрын
Long awaited video
@amenforthy2213
@amenforthy2213 2 жыл бұрын
now i will start donating... welcome back !!
@colton3507
@colton3507 2 жыл бұрын
Thank you. I didn't know about the norm command. Really cool!
@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
@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.
@aayushnp5430
@aayushnp5430 2 жыл бұрын
Great video, these vim tutorials are a god send
@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.
@chillydoog
@chillydoog 2 жыл бұрын
There he is. Ive been looking for you
@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. 🤷‍♀
@weqweqkweq7264
@weqweqkweq7264 2 жыл бұрын
Vim Diesel is back.
@rblab5
@rblab5 2 жыл бұрын
yesss... Vim Diesel is back
@oscarsperspective7681
@oscarsperspective7681 2 жыл бұрын
vim diesel is back
@htpinw1813
@htpinw1813 2 жыл бұрын
luke is my favorite gamer girl
@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!
@dunkelwelpling
@dunkelwelpling 2 жыл бұрын
Vim adepts gather around, the grand wizard has uploaded a new video for you!
@starseven4736
@starseven4736 2 жыл бұрын
Bring back the terminal glory we need more videos
@bhaveshverma8629
@bhaveshverma8629 2 жыл бұрын
Finally Linux video. 👍
@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.
@StinkySkunk100
@StinkySkunk100 2 жыл бұрын
Luke Smith is my favorite Vtuber
@ezengondolkozom3700
@ezengondolkozom3700 2 жыл бұрын
That chair looks comfy
@meh6985
@meh6985 2 жыл бұрын
i missed these videos
@alureon1
@alureon1 2 жыл бұрын
These are the best videos.
@ivanpogrebnyak3109
@ivanpogrebnyak3109 2 жыл бұрын
FYI, you can do `@@` to run the last macro you ran. So, instead of `@v@v@v` you can do `@v@@@@`.
@averesenso
@averesenso 2 жыл бұрын
I like these tinkering videos
@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.
@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
@idan4989
@idan4989 2 жыл бұрын
Mr. Crowley What went on in your head? Oh, Mr. Crowley Did you talk to the dead?
@yoshi314
@yoshi314 2 жыл бұрын
that keyboard looks huge with that angle.
@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
@alan_core
@alan_core 2 жыл бұрын
Vim Diesel is back with a vengeance...
@krisnrg
@krisnrg 2 жыл бұрын
That's a cool skateboard.
@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?
@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
@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.
@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
@jdfesa
@jdfesa 2 жыл бұрын
Esa silla se ve muy comoda, es algun modelo en especial?
@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
@enricosalamon8294
@enricosalamon8294 2 жыл бұрын
Please make on snippets, it would be really helpful
@Deepak55elf
@Deepak55elf 2 жыл бұрын
I am understanding what are you doing 😭😭 I need to remember more vim keys
@tensorflow5777
@tensorflow5777 2 жыл бұрын
I missed these
@alcyonecrucis
@alcyonecrucis 2 жыл бұрын
“To feed so grossly, they are nothing greasy”
@fraserdavies3
@fraserdavies3 2 жыл бұрын
Great tutorial as always. Could have also used @@ (i.e., repeat macro) for the third paragraph to the end
@boscovallejo-nagera6073
@boscovallejo-nagera6073 2 жыл бұрын
Kind of expected you would do _5@v_ at the end
@pasan.
@pasan. 2 жыл бұрын
Vim bindings for MS Word, what unholy sourcery do I need to conjure to get this?
@geoptus
@geoptus 2 жыл бұрын
Some more groff too please!!
@L1Q
@L1Q 2 жыл бұрын
has anyone found a proper use for vim's branching change history? it seems amazing what it can do, but every time I undo->change I'm too lazy to search up docs on how to undo into the proper version
@gavinridley5727
@gavinridley5727 2 жыл бұрын
Vim Diesel himself!!
@enterusername7746
@enterusername7746 2 жыл бұрын
The Normie Mode
@艾曦-e4g
@艾曦-e4g Жыл бұрын
It is cool. Can macro works with "if conditions"? It can decide to do certain action based on the text it is working on. Thx!
@asdf-ef8if
@asdf-ef8if 2 жыл бұрын
vintage luke
@dmac1653
@dmac1653 2 жыл бұрын
LUKE TAKE YOUR BOOTS OFF THE TABLE RIGHT NOW
@woozy_deer
@woozy_deer 2 жыл бұрын
yummm VIM
@muammar007
@muammar007 2 жыл бұрын
finally your internet connection returned 😂
@gbourant
@gbourant 2 жыл бұрын
In one of your recent videos you said that you use a different version of latex, which one it was ? something like glatex ?
@etkayapar6058
@etkayapar6058 2 жыл бұрын
yeah he said he is using xelatex which is just a different engine to do the compilation. this means instead of pdflatex you would be using xelatex command. There may be features that won't work for both approaches in the same way, but I guess that's the reason why you would chose one over the other. In fact Luke said that he switched because of the better Unicode support, in xelatex if I'm not mistaken.
@gjermundification
@gjermundification 2 жыл бұрын
:set rnu FTW!
VIM Users DESTROYED in 1 Minute by Gedit CHAD!
1:09
Luke Smith
Рет қаралды 67 М.
My Favorite Vim Tricks
14:39
MAKC
Рет қаралды 184 М.
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 23 МЛН
Каха и лужа  #непосредственнокаха
00:15
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 2,8 МЛН
groff/troff: MUH MINIMALIST Documents
13:21
Luke Smith
Рет қаралды 170 М.
How I take notes as a Math major using Vim + LaTeX
20:14
SeniorMars
Рет қаралды 1,1 МЛН
M... MY JOB DEFINES ME!
7:19
Luke Smith
Рет қаралды 106 М.
Let Vim Do the Typing
32:07
thoughtbot
Рет қаралды 215 М.
Are You Just TOO SMART to Learn Anything?
12:36
Luke Smith
Рет қаралды 146 М.
Ever Noticed How "Weird" Modern TV and Film are?
12:32
Luke Smith
Рет қаралды 135 М.
Vim Tips You Probably Never Heard of
12:11
Luke Smith
Рет қаралды 122 М.
Focusing Hardware - selecting the right macro focus rail
25:29
Allan Walls Photography
Рет қаралды 33 М.
This VIM trick BLEW MY MIND
6:37
typecraft
Рет қаралды 58 М.