Тёмный

This VIM Mode Freaks Me Out 

The Linux Cast
Подписаться 54 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

9 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 67   
@TheLinuxCast
@TheLinuxCast Год назад
This video was released a bit early for patrons and youtube members (Tier 2 and above). I also do a patron exclusive podcast for all levels each week. patreon.com/thelinuxcast
@nekoill
@nekoill Год назад
Quick fun story: one time at a job interview I was asked a joke question: "how to quit Vim", which I of course answered immediately, and the follow-up question was "how do you quit Vim in easy mode?" I have never even heard of that mode before that, to which I admitted but asked to let me try it anyway, which they allowed with a reasonable "no Google" request. Didn't even take me 5 minutes. Vim is awesome and pretty reasonably logical once you know the very basic controls.
@no_name4796
@no_name4796 3 месяца назад
I now would love to know in which place you are interviewed for a job on vim. Would love to work there lol
@vladimir_k_bestplayerna1217
Whoah, I thought that this was some extension for people to install and modify their Vims, but its a flag in the base package? I never would have seen that coming.
@webflyer035
@webflyer035 Год назад
There should have been a constant display for help shortcut with a list of common actions such as exit vim😂
@skelebro9999
@skelebro9999 Год назад
This is literally poor man's Nano.
@lqlarry
@lqlarry Год назад
Nice video, it could have been called 'How to Make A Vim User Cry'.
@Bruces-Eclectic-World
@Bruces-Eclectic-World Год назад
🤣
@thingsiplay
@thingsiplay Год назад
I actually know about this easy mode. I discovered it long time ago. It's called "-y" option, because it's pronounced "why". At least this is the only logical explanation I can make up. And BTW vim -y starts the graphical user interface gvim if you have it installed.
@anon_y_mousse
@anon_y_mousse Год назад
Yep, me too. I've always found that aspect annoying, because I'm nearly always in the terminal.
@joshua_lee732
@joshua_lee732 Год назад
I actually use easy mode as a note scratchpad sometimes. Lighted I alias "vim -y" to "note" and it's temporary at best, I usually don't save doing this. Mostly because I never thought to see that Ctrl+q to actually work.
@anon_y_mousse
@anon_y_mousse Год назад
Agreed, it's strange. I've never liked it because when I use it it brings up gvim instead of opening in the terminal and I hate having to hit ctrl-o to enter commands and whatnot. I didn't know about ctrl-L, so thank you for that.
@JimmyDRoberts
@JimmyDRoberts Год назад
I tried easy mode and couldn't exit, lol. My reward for laughing at vim newbs.
@no_name4796
@no_name4796 3 месяца назад
Crazy how vim easy mode is harder then vim itself lol
@mohammedaslam2912
@mohammedaslam2912 Год назад
As a vs code user I find it really useful. Need more developments on it!!!
@amarboro
@amarboro Год назад
This new camera angle works much better, great video!
@sprtwlf9314
@sprtwlf9314 Год назад
Glad you're feeling better. I missed your videos.
@jongeduard
@jongeduard Год назад
Lol, I have the gvim build installed on Arch, in my case it opens the GTK version of Vim, which normally doesn't happen when typing vim instead of gvim. Fun thing is that I am still getting the relative line numbers that I enabled. To get "back" to Insert mode after pressing Ctrl L, it seems to be the Escape key that does this for you, opposite of the normal way.
@LeslieRussell
@LeslieRussell Год назад
(cua-mode t) emacs easy mode
@GiovanniCKC
@GiovanniCKC Год назад
this makes me curious to know how many vim users have just never read the man page for vim before.
@bennyjensen1
@bennyjensen1 Год назад
i've always found it strange why a text editor would make it difficult to actually edit text. this could actually be a vim client a normie like me could use
@davidh.4944
@davidh.4944 Год назад
Because it isn't more difficult, really. Vim is certainly more _complex_ than your average editor, and it has a _steep_ learning curve, but with great complexity comes great power. When you know what you are doing, and have it configured to your liking, you gain the ability to fly through text, making amazing and sweeping edits with little effort. You just need to put in the time and effort to learn it. That said, I am not a raging vim fanboy or anything. It _is_ more geared toward code production than prose, and there are situations where its mode-based workflow can be more of a hindrance than a benefit (e.g. fixing many small, random, typos scattered over a block of text-jump, insert, change, escape, jump, insert, change, escape, jump...). And sometimes the mental mode-switching required slows you down more than the physical. In those cases I usually switch to a more traditional gui editor like Kate. But for the most part vim works exceptionally well as an editor. I mean, there obviously must be _some_ reason it remains one of the most popular text editors around, some 30 years after it first came out (close to 50 including it's vi predecessor).
@anon_y_mousse
@anon_y_mousse Год назад
@@davidh.4944 You just need to learn more of it and you'll love it more. For random scattered typos, say a single letter, "teh" to "the", you could put the cursor on the e and hit `xp` real quick. For say "foo" to "foe", hit `ere`, first `e` to get to the end of the word, then `r` to replace a single letter then `e` to replace the o. Let's say you've got a whole word you just don't like, `cdw"new word"` works fine. If you've got updates you need to make across the whole file, `:%s/foo/bar/gc` to replace all foo with bar but ask before each change. You should try the vim tutor, you might have fun.
@mega_gamer93
@mega_gamer93 Год назад
@@anon_y_mousse did you mean to type "ciw"? "cdw" is not a thing in vim
@anon_y_mousse
@anon_y_mousse Год назад
@@mega_gamer93 Actually, I meant `cw` as that deletes the word and puts you in insert mode. Had a brain fart.
@davidh.4944
@davidh.4944 Год назад
@@anon_y_mousse I have been using Vim for over twenty years. Don't tell me I have to "Learn it more". I know _all about_ everything you wrote and much more. Vimtutor, indeed... It's not about the individual edits, it's about the process as a whole. In Vim, every change requires typing in some kind of search or movement string, then once you've homed in on the string you want, typing some kind of edit string. Every one you do needs just that little bit more time, effort, and thinking to accomplish, especially when each change itself is short, has to be done just a bit differently than the others, and requires multiple mode-switches and awkward-to-use keys. In a gui editor, however, I can usually just click-highlight-type. I don't need to struggle with it as much, I just put the cursror straight on what needs to be changed and change it. In any case, I was just to give a simple example that didn't require too much explanation. The reality is that it is extremely situational, and hard to describe succinctly. In _most_ cases Vim is as easy or easier to use than any other editor, but the reality is that there are just some combinations of conditions that require extra mental and physical effort, and can be done more efficiently in a graphical editor, and no amount of practice or fancy plug-ins will help.
@VioletRM
@VioletRM Год назад
"yeah i use vim"
@Fullflexno
@Fullflexno Месяц назад
haha cool. Thank you for this. Cheers from norway
@CGA111
@CGA111 Год назад
Vim and Micro had a baby.
@umikaliprivate
@umikaliprivate Год назад
you mean nano?
@nealinux
@nealinux Год назад
@@umikaliprivate micro editor
@OcteractSG
@OcteractSG Год назад
Cool. I guess I can now “use vim like the cool kids.”
@shrikamath
@shrikamath Год назад
Looks like this mode is supported only in vim and not in neovim.
@pedrofrohmut2471
@pedrofrohmut2471 Год назад
Caps Lock as Esc is so good. Just 'setxkbmap -layout us -option caps:escape &' in your .xprofile. Thx for the video man. Maybe it is good if you ssh in a server and you dont know how to Vim but now i dont know how to quit vim again.
@j1d7s
@j1d7s Год назад
Great to hear you are better now! This easy mode is really strange, I just cannot think of a good purpose for this. I have never heard of it and before watching your video I thought it would maybe offer some context-sensitive help to ease new Vim users in. But as it is it is pretty useless. I would advocate removing this mode from Vim and save a tiny bit of disk space.
@alexandrudan3794
@alexandrudan3794 Год назад
This is HERESY! Vim is like the Dark Souls of text editors. Vim DOES NOT NEED an easy mode.
@imzesok
@imzesok Год назад
People actually figured out how to use vim? that's the part that should freak you out. 🤣 kidding aside, it's cool that easy mode exists. it's nice to have a notepad actually behave like a notepad is expected to. most of the time the vim commands don't even work for me, so I did the reasonable thing and just retreated back to nano after trying to fight with it to do very basic things for a few days. I can't be issuing the same command over and over again several times before actually starts working. It's just not for me.
@thatoddshade
@thatoddshade 10 месяцев назад
I like keyboard-first softwares but I do not get the point of having weird shortcuts like `u` for undo instead of the standard `ctrl + z`.
@habituallearner7680
@habituallearner7680 Год назад
Whyyyyy? I like my Vim straight from the bottle!
@alexeiboukirev8357
@alexeiboukirev8357 Год назад
There is no Esc(ape)
@donaldmickunas8552
@donaldmickunas8552 Год назад
Matt, I have had the same experience. I don’t recommend it. 🙄
@Flowxp
@Flowxp Год назад
so easy mode is actually normal mode
@CrazedTamar
@CrazedTamar Год назад
how do i exit vim -y
@anon_y_mousse
@anon_y_mousse Год назад
There are multiple ways. In the video he mentioned ctrl-q or you could hit ctrl-o then :q or :q! if you've made changes you don't want to save, or ctrl-L and then :q or :q!
@CrazedTamar
@CrazedTamar Год назад
@@anon_y_mousse this “easy mode” is harder than normal vim
@damnhatesyou
@damnhatesyou Год назад
What they made vim good?
@martinvandenbroek2532
@martinvandenbroek2532 Год назад
usable, not good
@Flackon
@Flackon Год назад
Doesn't seem to exist in neovim
@kevinklement2621
@kevinklement2621 Год назад
I actually use (neo)vim this way. Everyone thinks I'm crazy, but I like the scripting abilities but just want the editor to act "normal".
@thelinuxtube
@thelinuxtube Год назад
To me, the copy and paste thing should be that way in regular vim... other than that, meh !!
@MichaelWilliams-lr4mb
@MichaelWilliams-lr4mb Год назад
So basically this is Vim for those that don't know how to use Vim but want to say they use Vim. I like Vim, but not like this. I'd think if I wanted an easier Vim, I'd use Micro.
@TheLinuxCast
@TheLinuxCast Год назад
Yes. Seems to be.
@damienbutt6320
@damienbutt6320 Год назад
I don't get why this is weird? Its just an optional mode that makes it behave like a traditional non-modal text editor.
@webflyer035
@webflyer035 Год назад
Mouse support & arrow keys are welcome, but it's weird because now we have to learn everything again (including how to exit vim😂)
@robbylock1741
@robbylock1741 Год назад
Hard to exit? :wq! or :q! how is that hard?
@TheLinuxCast
@TheLinuxCast Год назад
I didn't make the meme
@webflyer035
@webflyer035 Год назад
Maybe it's still under development 🙄
@Bruces-Eclectic-World
@Bruces-Eclectic-World Год назад
Thanks for trying Matt! No matter how hard you try, your still not going to get me to leave my Nano... 🙂 LLAP 🖖
@TheLinuxCast
@TheLinuxCast Год назад
Puke, nano
@Bruces-Eclectic-World
@Bruces-Eclectic-World Год назад
@@TheLinuxCast How's that go? Oh!!! "I got your Puke", Vim Boy! 🤣🤪 LLAP 🖖
@umikaliprivate
@umikaliprivate Год назад
I mean, this is just a nano clone
@MENTOKz
@MENTOKz Год назад
thats so dope thanks MATT
Далее
A Month With Nano - A Vim User's Perspective
26:23
Просмотров 7 тыс.
WTF is Snal Linux?
20:27
Просмотров 6 тыс.
АХХАХАХАХАХАХАХАХ
00:16
Просмотров 170 тыс.
Use Ex commands in Vim
16:13
Просмотров 12 тыс.
Ly -  A Nerd's Display Manager
13:24
Просмотров 220 тыс.
Why I Prefer Emacs Over VSCode and vim
8:23
Просмотров 118 тыс.
Better Than Bash?
18:03
Просмотров 7 тыс.
From Vim to  Emacs - Is this even my final form?
36:50
Vim Versus Emacs. Which Is Better?
30:38
Просмотров 269 тыс.
Plugins? We Don't Need No Stinkin' Plugins!
11:31
Просмотров 4,4 тыс.
Vim Tips You Probably Never Heard of
12:11
Просмотров 118 тыс.
How to Use i3 with XFCE
18:29
Просмотров 33 тыс.
So, I Tried Arch Linux.. (and Hyprland btw)
36:10
Просмотров 90 тыс.
АХХАХАХАХАХАХАХАХ
00:16
Просмотров 170 тыс.