How to Learn Vim Quickly and Correctly [20210422163108]

  Рет қаралды 34,892

rwxrob

rwxrob

3 жыл бұрын

Learn Vi and Vim like you would create a container, in overlays. First learn just plain vi. Then layer Vim on top of that. Then add NeoVim (if you so desire, I do not. I hate NeoVim because it is useless and brain dead at its core). Using a Docker container to do vimtutor is one easy way to get started. And do not forget rwx.gg/visurvive for the essentials.

Пікірлер: 56
@thedanmethenyshow.6004
@thedanmethenyshow.6004 3 жыл бұрын
I'm glad this video is here I know I am not doing everything right at the moment but I am learning a lot and have got better with vim but I am now motivated to practice with vi. I wanna get better with editing to understand certain things better. I will definitely watch it again and keep everything in mind that's you had talked about.
@arun.sekher
@arun.sekher Жыл бұрын
May I know how you are displaying back your keypresses on the terminal? Thanks
@thedanmethenyshow.6004
@thedanmethenyshow.6004 3 жыл бұрын
I've been using vi more lately with great results. I had edited my .vimrc today to have vim act more like vi but your .vimrc is supreme. I have a better understanding of certain things. Still learning. I made sure I downloaded it and emailed it to myself.
@itallstartedwhen
@itallstartedwhen 2 жыл бұрын
Hello, you mentioned the docker container with a better vim tutor, just wanted to check if that happened and exists now ?
@Gett37
@Gett37 10 ай бұрын
Don't know about correct way of learning vim, but 5 minutes of explaining docker in vim tutorial is probably not correct.
@Gett37
@Gett37 10 ай бұрын
You've mentioned you have alternative vimtutor text file, can you provide it?
@AnonymousAccount514
@AnonymousAccount514 3 ай бұрын
whats the best way to learn Vim on a work terminal where you do not have docker
@micaelviana
@micaelviana Жыл бұрын
whats your firefox theme?
@LS-th5hy
@LS-th5hy 2 жыл бұрын
Felt like I should've paid for this, thanks alot for your work. have a brilliant day
@fesprogrammer605
@fesprogrammer605 8 ай бұрын
thanks I install docker by accident and with this I take the importance of that
@joey2545
@joey2545 2 жыл бұрын
Great video! Thanks so much for recording. What font are you using? Looks very nice!
@joselima7655
@joselima7655 Жыл бұрын
In deed, very nice font! ... Its Ubuntu Mono, checkout the nerdfonts version
@Andy-ph9ub
@Andy-ph9ub 2 жыл бұрын
Wheres the container?
@raulmendes4935
@raulmendes4935 2 жыл бұрын
"You can learn to survive" XD thanks for the awesome video!
@rwxrob
@rwxrob 2 жыл бұрын
Any time!
@NonsensGaming
@NonsensGaming 2 жыл бұрын
yes i learn neovim with lua its very good
@techmouse.
@techmouse. Жыл бұрын
Why is nano so hated? Who did nano kill??
@ThePurpleSnork
@ThePurpleSnork 8 ай бұрын
I realize this comment is old, but I’ll give you my thoughts as a 30 year computer nerd - but also as a person who isn’t a VI master by any stretch. VIM allows you to keep your hands in the same place on the keyboard and once you master the keybindings you can fly through the editor. It also has tons of other functionality for advanced users. Often times when you log into a system you don’t necessarily have the means or permissions to install additional software. In the past it was very common for the only editor available on the system to be vi. This time is long past though and generally nano is installed and available. Gatekeeping - this is the toxic reason. A lot of people who are VIM or EMACS users look down upon anyone who doesn’t use the editor they prefer. There used to be an endless and heated rivalry between emacs and vi users, but it seems like the vi people have largely won that war over the last ten years.
@techmouse.
@techmouse. 8 ай бұрын
@@ThePurpleSnork I also know home row. But you don't need to learn vi/vim/emacs just to keep your fingers firmly in place. There are hardware solutions. Any keyboard that's compatible with the QMK and ZMK firmwares can be reprogrammed to your liking. This includes editing the key layout and adding custom modifier keys for your own layouts (or layers). I built my own keyboard, and compiled and flashed my own firmware to it so I could have a layer that puts the arrow keys at the U, J, K, and L, keys. And so I could have a layer that controls the mouse. And another that swaps WASD with the arrow keys because some games expect you to play with the arrow keys only. Needless to say, I understand and respect the need to let the wrist rest. And I still don't bother with vim or emacs. I literally just use nano or kate most days, and if that makes me a degen, then I guess I'll die a degen. 🤷‍♂ Also, I've been using Linux since Ubuntu 7, having only dabbled with Knoppix a couple years earlier, and nano was already there when I showed up. I don't know when exactly nano was coming standard in most distros, but it had to be before 2005. So the hate for nano _must_ be either a greybeard thing or a greybeard poser thing.
@ThePurpleSnork
@ThePurpleSnork 8 ай бұрын
For some reason I can't reply to your response, but I'll reply here. I don't remember exactly when nano started showing up as a default text editor in Linux, but it was definitely after 2005. Again, I have nothing against nano, I use it too, but there used to be A LOT of times when nano wasn't available on a system, and you didnt' necessarily have the permissions or means (eg no internet connection) to install nano. vi was always there, so being able to use it was a must. Yes, of course there are ways to use nano efficiently, but not everyone is going to take the time to make some custom keyboard, and what happens when you need to use another person's computer? Not everyone just has one computer, or only uses one computer.
@techmouse.
@techmouse. 8 ай бұрын
@@ThePurpleSnork I just downloaded the Ubuntu 5.04 (year 2005, month 4 (April)) ISO and I can confirm nano comes pre-installed OoB. So yeah, nano was at least some kind of standard by 2005. Anyways, you're saying you're willing to memorize vim commands but editing nanorc is too much work? Also, if you're at the point where you're making and programming your own keyboards, then you probably have more than one. I know I do. You can make money building and selling them, or simply selling the old ones you built and don't need anymore. There is a market for this because not everybody wants to build them. They still want them though and they'll pay hundreds for them. It's a profitable hobby. Regardless, even if you have only one keyboard, it's _still_ not a problem. That's exactly why the good lord made SSH. I have 4 active machines in just my home alone, with several of them being headless, and I can control all of them with just one keyboard, from one chair, and my hands never have to leave home row. Which ironically is something you have to do if you use vim and don't have a custom keyboard, because you need to press ESC to get out of an editing mode in vim, anyways. I assumed SSH is the exact reason people had such a boner for vi/vim/emacs in the first place. If it's not for SSH or DE-less purposes, then why bother obsessing with, and memorizing commands that only work for, a single TUI editor? I love TUI/CLI software too, but a text editor shouldn't have its own learning curve. Finally, whether or not the average person would edit nanorc, build their own keyboard, or could be expected to know SSH is a moot point, because memorizing vim commands already puts you into an edge group anyways. Any positive points you can make about vi, vim, or emacs is immediately undermined by that very same 'not everyone would take the time' point. Most people never bother learning any *nix system at all.
@lzy-v5136
@lzy-v5136 2 жыл бұрын
15:50 who is that twitch streamer you mention?
@rwxrob
@rwxrob 2 жыл бұрын
zorchenheimer
@abdellahcodes
@abdellahcodes Жыл бұрын
Ridiculous, why do you need Docker?
@rwxrob
@rwxrob 10 ай бұрын
The goal is always to get beginners on the terminal the quickest way possible. Docker/Podman is one of those ways that does not require installing a full Linux desktop (which most employers won't even allow) or doing a VM install. I've switch on this many times over the years. Currently, I plan to require beginners in 2024 obtain a dedicated computer and install Linux (server or desktop) directly on it. Learning a container engine is still required for most jobs, however.
@jewbaby9143
@jewbaby9143 2 жыл бұрын
Ooo what is that beautiful color scheme you have there?
@thelowendstudio
@thelowendstudio Жыл бұрын
Thanks for the video :>
@Ezillity
@Ezillity 3 жыл бұрын
Going to print off the table on visurvive and switch from nano today.
@tomtravis858
@tomtravis858 3 жыл бұрын
How good are you now lmao
@duanedonaldson2262
@duanedonaldson2262 2 жыл бұрын
I am sorry, this is too painful to watch, an instructor ought to not make so many mistakes, talk about things that do not apply so early in the talk, put all that AI stuff at the end, and cannot give complete sentences. I have respect for hyper people as their batteries never seem to die but cannot keep on track worth a damn.
@rwxrob
@rwxrob 2 жыл бұрын
Thanks for making my day. You've discovered that you do not like my free content. Bubye.
@Bilal-ys6df
@Bilal-ys6df 2 ай бұрын
@@rwxrob Take it as an advice rather than an attack
@majam1n
@majam1n Жыл бұрын
Run an entire operating system via docker to run vim? Good god, WHY? Also, a video explaining the unnecessary hate for Neovim would be interesting.
@arnabbanik6403
@arnabbanik6403 Жыл бұрын
exactly, running docker to get a vim experience is absolutely ridiculous
@filthyE
@filthyE Жыл бұрын
A Docker container is not an entire operating system.
@michaeletzkorn
@michaeletzkorn 5 ай бұрын
I think it makes some sense if you want a fresh slate with no other configs interfering. Obviously, it is a bit overkill for people who have a UNIX-based os already or WSL
@predragmiletic3078
@predragmiletic3078 Жыл бұрын
busybox for the.. true vi.. experience? uhm.. wrong..
@mikerollin4073
@mikerollin4073 2 жыл бұрын
I would suggest Alpine Linux because it is as bare bones, I think, of a Linux image you can use. This applies to so many use cases of Docker.
@mikerollin4073
@mikerollin4073 Жыл бұрын
Correction...maybe: I just recently heard of what may be an even lighter Linux image called Busybox so I spoke too soon! I bet I'll learn of something even more lightweight after posting this...
@jackscalibur
@jackscalibur 10 ай бұрын
I'm a little late to the party, but BusyBox is the way to go.@@mikerollin4073
@connorskudlarek8598
@connorskudlarek8598 7 ай бұрын
@@mikerollin4073 slight correction. BusyBox is not technically a Linux OS distro. It's a handful of stripped down Unix utilities bundled together. Tiny Core Linux is the most lightweight full Linux OS. Which uses BusyBox itself.
@connorskudlarek8598
@connorskudlarek8598 7 ай бұрын
@@mikerollin4073 slight correction. BusyBox is not technically a Linux OS distro. It's a handful of cut down Unix utilities bundled together. Tiny Core Linux is the most lightweight full Linux OS. Which uses BusyBox itself.
@stefenski
@stefenski 2 жыл бұрын
really complicated
@VortexFlickens
@VortexFlickens Ай бұрын
Blud must be a grandpa
@anikiandy
@anikiandy Жыл бұрын
Why the Perquisite of running a docker container Someone knowing how to effectively use docker and not vim seems unusual.
@mustafababdullah2485
@mustafababdullah2485 2 жыл бұрын
The reason it was written like that at the time keyboards had not invented extra keys screw the backwards people! And most people don't use a normal keyboard in Linux that are using vim nvim emac ECT. Most of those blow hards are just that
@centipedekid9824
@centipedekid9824 2 жыл бұрын
Why are you overcomplicating things?
@mikerollin4073
@mikerollin4073 2 жыл бұрын
I can see how this would seem complicated to someone with very little background. I have self learned almost everything I know tech-wise and if that's what you intend on doing I would suggest getting good at identifying resources that assume background knowledge you don't have so you can determine whether to acquire that knowledge and return to a resource or move on and seek out another one. That skill is key to self-learning and will serve you well. Complaining to people that they didn't make a video specifically tailored to your current skill set probably won't.
@majam1n
@majam1n Жыл бұрын
@@mikerollin4073 For one, running an operating system via docker just to run Vim is absurd!
@Paul-ys3eu
@Paul-ys3eu 4 ай бұрын
You don't know what you're talking about. Containers aren't operating systems. @@majam1n
i tried Vim...
10:06
Alex Ziskind
Рет қаралды 42 М.
Mastering the Vim Language
36:20
thoughtbot
Рет қаралды 607 М.
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 30 МЛН
Vim As Your Editor - Introduction
12:24
ThePrimeagen
Рет қаралды 839 М.
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 279 М.
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 74 М.
I tried 10 code editors
10:28
Fireship
Рет қаралды 2,9 МЛН
VIM shortcuts but they keep getting crazier
9:53
Amichai Mantinband
Рет қаралды 15 М.
everyone codes faster when they stop using their mouse
10:32
Low Level Learning
Рет қаралды 197 М.
🤝 BEST THINGS TO SAY IN JOB INTERVIEW
13:52
rwxrob
Рет қаралды 1,5 М.
Advanced Vim Workflows
10:41
Semicolon & Sons
Рет қаралды 81 М.
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Рет қаралды 936 М.
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 896 М.
Жаңа үйімді ЖЫЛАНДАР басып алды!
19:13