VIM shortcuts but they keep getting crazier

  Рет қаралды 16,678

Amichai Mantinband

Amichai Mantinband

Күн бұрын

Пікірлер: 46
@fabricehategekimana5350
@fabricehategekimana5350 2 жыл бұрын
Incredible video! I learned so many things thanks to you. I can share a little thing I discovered last week: You can do recursive call with a macro. You just have to record your macro as usual and call it before quitting. For instance, if you record it in the "g" register, you just have to end your macro with a "@gq" and when you invoke it, it will call himself until the next blank line. It's useful when you don't want to count the number of time you want to use the macro. Thanks again for this great video!
@amantinband
@amantinband 2 жыл бұрын
Holy cow that’s crazy 🤯 Thanks for sharing!!
@serkan.bircan
@serkan.bircan 2 жыл бұрын
Interesting.. How do you stop it then? 😄
@PontiacCZ
@PontiacCZ 11 ай бұрын
What do you mean by "It's useful when you don't want to count the number of time you want to use the macro."?
@fabricehategekimana5350
@fabricehategekimana5350 11 ай бұрын
@@PontiacCZ I mean, I am at the line X and I know the pattern repeat itself M times (I don't because I don't want to count) So I use it recursivelly
@programmingloop7
@programmingloop7 7 ай бұрын
​@@fabricehategekimana5350And how do u stop it?
@mumk
@mumk 5 ай бұрын
not a new vim user but definitely learn something new, thanks!
@kmcdo
@kmcdo 11 ай бұрын
I don't know how I missed this video before, but god bless you sir!
@murtadha96
@murtadha96 10 ай бұрын
Thanks for that man, I actually learned some new things I didn't know about Vim :)) I like your style in explaining things and recapping
@mechwarrior83
@mechwarrior83 2 жыл бұрын
Great content, may the algorithms bless you!
@kesoBJJ
@kesoBJJ 2 жыл бұрын
vim is awesome... dont know how i used to live without it :)
@SokarRomania
@SokarRomania 7 ай бұрын
I am stil at the time before commiting full to using vim and C#. Mainly of course because I have a lot more to learn about setting up the linter, etc. That being said, I am learning more and more and I'll get there. Nice video !
@youri_golo
@youri_golo 11 ай бұрын
This is awesome! Thanks
@MkYentertainment
@MkYentertainment 11 ай бұрын
Is it possible to have a keyboard tracker on your screen so we can see the key you are pressing for vim? that will help a lot to learn! Thank you
@gagnon124
@gagnon124 2 жыл бұрын
This blew my mind
@JoseGarcia-qq6sk
@JoseGarcia-qq6sk Жыл бұрын
This is brutal. I am using this
@ikkidarkrose
@ikkidarkrose 9 ай бұрын
thank you so much!
@florianhennig4778
@florianhennig4778 2 жыл бұрын
Instead of using visual mode in the normal mode command to select a character and then U one could also just use ~ to toggle between lowercase and uppercase characters.
@amantinband
@amantinband 2 жыл бұрын
Right that would be better 😊
@albankurti300
@albankurti300 2 жыл бұрын
Amazing! I was looking to learn more shortcuts for Vim, I definitely did not know the business. Question... Is there any easy way to disable yanking after deleting? I'd like it to function more as a normal copy/paste function. I will research this on my own but last time I tried I had no luck implementing this.
@mohamedelmoussaoui-q9y
@mohamedelmoussaoui-q9y Жыл бұрын
thank you vere much
@PraecorLoth970
@PraecorLoth970 2 жыл бұрын
I knew of the existence of all of these, but thanks for reminding me of tip #8. I'll certainly use it in the future. The increment/decrement shortcut is really something I never paid attention to, and which I don't think I ever will. It's funny we have different mnemonics for some commands. Like "ci(" and "ca(" are, to me, "change inside parentheses" and "change around parentheses", and "th" and "fh" are "to 'h'" and "find 'h'". Could you share your config? I looked into configuring vim for c# use (although in termux) and it looked so complicated I gave up.
@amantinband
@amantinband 2 жыл бұрын
Hahah so true 😂 I’m rewriting my vim config with lua and searching for c# plug-ins. I’ll share my config once it’s organized
@vricop
@vricop Жыл бұрын
A better way to achieve this is by placing your cursor in the first 'h' in the first line, then enter column selection with '' move down as many lines as you want then 'U'. Done!
@gabrielordonez7876
@gabrielordonez7876 Жыл бұрын
A video on installing and configuring vim in windows would be interesting. good video.
@blessdarah1256
@blessdarah1256 Жыл бұрын
have you setup debugging for your configuration with Vim and C#
@sacharkin
@sacharkin 2 жыл бұрын
Hi, that is very nice. Can you make a video how to set up vim on Windows (Powershell)? I am currently new at this and struggling with the setup 🤔
@jameskelly99
@jameskelly99 2 жыл бұрын
Very, VERY interested in your neovim setup for c# once you get it sorted
@yosefkukuriku
@yosefkukuriku 28 күн бұрын
אחלה עמיחי
@LoZioIAR
@LoZioIAR 2 жыл бұрын
Hi Amichai, Thanks a lot for this video! Very clear and fast explanation! I've started using vim watching your videos! But how did you configure vim in vs code? I didn't enable the 'vim ctrl' and sometimes it's frustrating. Even the opposite is not the best for me...
@DrHeinzDoofenshmirtz
@DrHeinzDoofenshmirtz 2 жыл бұрын
Is this a tool it is worth learning if you are just used to using the mouse in Visual Studio? It definitely looks quick, when you use it.
@amantinband
@amantinband 2 жыл бұрын
Definitely. Productively will increase significantly!
@meetingattender8132
@meetingattender8132 Жыл бұрын
How do i exit vim tho
@chezchezchezchez
@chezchezchezchez Жыл бұрын
Awesome tips. You didn’t mention that you can run vim in Visual Studio proper with a free vim Add in.
@DrHeinzDoofenshmirtz
@DrHeinzDoofenshmirtz Жыл бұрын
You might not have converted me yet, but I have now started on my pilgrim journey and engaged in the steep learning curve. Unfortunately, KZbin comment section only supports Insert mode, so I am not learning anything right now, but I will try to Tab onto Comment button, if that is possible.
@programmingloop7
@programmingloop7 7 ай бұрын
There's a vim plugin called vimium for chrome. It lets you use vim like controls to browse the internet. It's really helpful. Not only does it speed up navigating, searching, "clicking" links etc but you also practice vim
@mohammedthaier1718
@mohammedthaier1718 11 ай бұрын
اصطورة
@anantawijaya1594
@anantawijaya1594 Жыл бұрын
Holy sh
@SajadJalilian
@SajadJalilian 2 жыл бұрын
There is something strange about dotnet developers, they are so addicted to microsoft products specially visual studio, It hurts when they don't know about things like "vim" or "make" etc
@amantinband
@amantinband 2 жыл бұрын
💯, I rarely see devs using vim within the MS ecosystem
@RtoipKa
@RtoipKa 2 жыл бұрын
@@amantinband I use it for years. Vim plugin in every editor
@DaminGamerMC
@DaminGamerMC 2 жыл бұрын
I can't get out of file in VIM 😫
@amantinband
@amantinband 2 жыл бұрын
😂
@amantinband
@amantinband 2 жыл бұрын
twitter.com/tesseralis/status/1592293632413138945?s=20&t=yfCWFalh5hJJ3t31-diQ3A
@FlaviusAspra
@FlaviusAspra Жыл бұрын
All I learned was smashing.
Advanced Vim Workflows
10:41
Semicolon & Sons
Рет қаралды 86 М.
Vim Tips You Probably Never Heard of
12:11
Luke Smith
Рет қаралды 124 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Units Network Workshop  | 25.12
2:51:06
Waves Tech
Рет қаралды 323
Exceptions are evil. This is what I do instead.
24:41
Amichai Mantinband
Рет қаралды 22 М.
10 Advanced Vim Features (You Probably Didn't Know)
21:47
Sebastian Daschner
Рет қаралды 77 М.
Top 8 Best Practices for API Design #api #bestpractices #apidevelopment
15:23
SWE with Vivek Bharatha
Рет қаралды 7 М.
Effective Neovim: Instant IDE
16:16
TJ DeVries
Рет қаралды 835 М.
Vim Tips And Tricks Some Of My Favorite Vim Commands
17:05
DistroTube
Рет қаралды 70 М.
5 C# Naming Conventions I Wish Everyone Followed
12:46
Amichai Mantinband
Рет қаралды 18 М.
My Favorite Vim Tricks
14:39
MAKC
Рет қаралды 185 М.
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 133 М.
Stop Calling Your API a "REST API"
17:42
Amichai Mantinband
Рет қаралды 18 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН