The Vim Experience

  Рет қаралды 201,036

Bog

Bog

Күн бұрын

Пікірлер: 860
@bogxd
@bogxd 19 күн бұрын
Try the #1 AI-powered personal productivity time-blocking tool, Akiflow, today: akiflow.pro/bog
@subsarefun2
@subsarefun2 19 күн бұрын
Hi
@xninja2369
@xninja2369 19 күн бұрын
Can't believe I am in top 20 😮
@TheRealMangoDev
@TheRealMangoDev 19 күн бұрын
1 reply?
@azure-hawk
@azure-hawk 19 күн бұрын
I can't wait for the AI bubble to burst. I'm so tired of it.
@budgetarms
@budgetarms 19 күн бұрын
vsVim buddy
@anixolx
@anixolx 19 күн бұрын
timestamps: start: 0:00 end: 45:18
@bogxd
@bogxd 19 күн бұрын
the new profile picture threw me off
@jeevacation
@jeevacation 19 күн бұрын
Inside joke moment
@anixolx
@anixolx 19 күн бұрын
@@bogxd 😭😭🙏
@darukutsu
@darukutsu 19 күн бұрын
thanks, you're legend
@mattiafalappi5516
@mattiafalappi5516 19 күн бұрын
​​@@bogxdwait until you try emacs,you'll understand why vi vi vi it's the editor of the beast .
@Pandacier
@Pandacier 19 күн бұрын
bro is actually speedrunning the entire linux iceberg edit: I said that before realizing that he made this video on macOS :(
@aniruddh576
@aniruddh576 19 күн бұрын
frfr
@vipherobrine7129
@vipherobrine7129 19 күн бұрын
PANDA, ITS BEEN SO LONG :o
@Pandacier
@Pandacier 19 күн бұрын
@@vipherobrine7129 LMAO HOW DID YOU FIND ME HERE
@_BLANK_BLANK
@_BLANK_BLANK 19 күн бұрын
Is sad
@Pandacier
@Pandacier 19 күн бұрын
@@vipherobrine7129 LOL HOW DID YOU FIND ME HERE
@pointyorb
@pointyorb 19 күн бұрын
he exited vim... he is the chosen one
@rawallon
@rawallon 19 күн бұрын
he's definetly one of the ones
@NotSoSylent
@NotSoSylent 19 күн бұрын
I just turn off my computer
@SophiaWoessner
@SophiaWoessner 19 күн бұрын
@@NotSoSylent I just buy a new one!
@Alt.N
@Alt.N 19 күн бұрын
​@@SophiaWoessner I just start a new universe
@sillythewanderer4221
@sillythewanderer4221 19 күн бұрын
:qa!
@betannet.mp4
@betannet.mp4 19 күн бұрын
Next video: The Neovim Experience
@ThatJohnCraft
@ThatJohnCraft 19 күн бұрын
yes please
@greatguyinskulk
@greatguyinskulk 19 күн бұрын
Pls pls pls pls
@SkyNick
@SkyNick 19 күн бұрын
29:58
@danilo463
@danilo463 19 күн бұрын
i love neovim
@yugalkhanal6967
@yugalkhanal6967 19 күн бұрын
Same experience
@lolitbairiganjan2940
@lolitbairiganjan2940 19 күн бұрын
I love how you're interested in stuff that people usually run away from. You recently did "Linux Mint Review", "Arch linux review", and now you're doing "Vim review". And the funny thing is that you're getting HUGE amount of views on these videos. Good job man. Love your voice.
@Helldiver211
@Helldiver211 19 күн бұрын
Sad that he doesnt use linux or even windows he uses mac os😢
@adnope
@adnope 19 күн бұрын
​@@Helldiver211he is most familiar with macos so he would eventually go back to it after tinkering around with linux. Still cool to see a person learning stuff quickly like him though
@Helldiver211
@Helldiver211 19 күн бұрын
@adnope i know but still Go to windows or linux
@zoox3732
@zoox3732 19 күн бұрын
@@Helldiver211 MacOS is a POSIX pal; according to the propaganda, MacOS is a closer friend to Linux than Windows.
@erlgr
@erlgr 19 күн бұрын
​@@Helldiver211 Macos might be the right balance between the two of them for many of us. Windows isn't POSIX compliant which is a huge bummer for linux users, developers, or anyone wanting to use a command line or some advanced file management, really. Linux doesn't run proprietary programs like the Affinity suite, most video editors or DAWs. MacOS is both POSIX compliant AND runs proprietary software. The perfect balance for some people's niche.
@FreshSmog
@FreshSmog 19 күн бұрын
I can't believe he found primagen game and vim adventures, but not the built-in vimtutor..
@plankcaller
@plankcaller 19 күн бұрын
every time i see one of bog's videos i see people in the comments talking about how he missed the obvious easy path and found the most roundabout way lol
@anj000
@anj000 19 күн бұрын
@@plankcaller I'm starting to think it is all on purpose. Playing a little bit dumb to make it more entertaining.
@danielalegriasallo5551
@danielalegriasallo5551 19 күн бұрын
@@anj000 Well, i'ts easier for some people to learn from a well edited video then trying it out. And the primagen is a really good explainer.
@anj000
@anj000 18 күн бұрын
@@danielalegriasallo5551 in the Arch video instead of relying on official docs he started going to some random forums, while answer was pretty easy to find. So it is not necessarily about video
@mrpiggy105
@mrpiggy105 18 күн бұрын
Let's get Prime to react to this guy. We already got Brodie with the Hyprland vid... (and yes some things are a bit of a troll. In the hyprland video we were all wondering why he was editing configs with vim instead of nano. If you pause in a certain place you can see nano in the terminal history)
@doBobro
@doBobro 18 күн бұрын
As someone with 15 year VIM experience it was amazingly entertaining to watch. It took me 3 times to get into VIM. it clicked only after forbidding myself to use other editors and spending a week with doing actual work stuff. And all this with my highly systematic approach with actually reading carefully manuals before trying anything. Impressive results!
@zekiz774
@zekiz774 5 күн бұрын
Been using Vim for a year and pretty much had the same experience
@sens9739
@sens9739 19 күн бұрын
36:51 you can just type ci{ in normal mode to delete inside the curly brackets and put you in insert mode, same for other brackets and quotes. eg: ci' will Change Inside Quotes('), ci( will Change Inside Paranethesis, etc.
@mage3690
@mage3690 19 күн бұрын
cit changes inside HTML tags. I wonder if there's a version for Python blocks? I bet there is, I just don't know what it is.
@TheRealZitroX
@TheRealZitroX 18 күн бұрын
@@mage3690 python? Has brackets?
@jonesy_b
@jonesy_b 18 күн бұрын
This, it was so painful to see how he did that exercise with visual mode lol
@EwanMarshall
@EwanMarshall 17 күн бұрын
big part of the issue here starts earlier, where he didn't read the page that comes up if you just run vim :D, I'm pretty certain it says "type :help vim if you are new!" (I use neovim so the default is a little different there).
@Enum-o4l
@Enum-o4l 14 күн бұрын
There's a few handy text objects for common blocks, assuming you use (neo)vim and not vi: `dib` - remove within parentheses ( HERE ) `diB` - remove within squiggly brackets... { HERE } `dit` - remove content within tags... HERE As far as I'm concerned, for square brackets there is no built-in (letter) text object, so you'd either have to add your own text object (in your .vimrc) or stick to `di[`. Also, you can remove the contents and the blocksthemselves by substituting `i` with `a`, which I mostly find useful for XML with `dat` to remove an entire element along with its content. Along with that there's choosing `d` or `c` depending on whether or not you intend to change the content you've just deleted. Where `d` represents "delete" and keeps you in NORMAL mode `c` represents "change" and puts you into INSERT mode. Tangent: there are some other interesting text objects that come with vim: `s` and `p`, which represent sentences and paragraphs respectively. These aren't necessarily super useful for code but perhaps you could use it to remove a sentence in documentation (`das` respects punctuation, `dap` does not). It seems most intuitive to use `a` over `i` for deletions (`das`), and vice-versa for changes (`cis`).
@Lambda_Ovine
@Lambda_Ovine 19 күн бұрын
Your videos are so much "he can't just jump and do it, oh my god he's doing it" energy, I love them
@SanteyKhena
@SanteyKhena 19 күн бұрын
from linux mint to arch to hyprland on arch to vim, the speedrun is insane
@phoenix-tt
@phoenix-tt 19 күн бұрын
The next one is compiling Gentoo
@nmcli
@nmcli 19 күн бұрын
i went from linux mint to arch linux dual booted with linux from scratch in like 3 weeks lmao
@frostiefops
@frostiefops 19 күн бұрын
@@phoenix-tt LFS after gentoo! actually nevermind that might be too painful to watch he seems to have a knack of following everything except the tutorial lol
@ahababzarif7915
@ahababzarif7915 19 күн бұрын
Damn, I am literally getting addicted to this channel.
@ssolo_
@ssolo_ 19 күн бұрын
I dont even know how to do half the stuff he does but still i enjoy all his videos
@nourgaser6838
@nourgaser6838 19 күн бұрын
I know most of the stuff in these Linux basics videos as I'm a Linux user but I still enjoy these videos so much for some reason. I guess it's exciting to see someone explore something that you're passionate about, reminds me of when I was going through these experiences for the first time
@Amoral-uu3nf
@Amoral-uu3nf 19 күн бұрын
10 videos later : Writing my own version of the linux kernel
@fireninja8250
@fireninja8250 19 күн бұрын
There comes a time in every Linux user's life when writing a custom kernel is necessary
@PranavShewale-s1d
@PranavShewale-s1d 19 күн бұрын
​@@fireninja8250 For flex imo
@edo9k
@edo9k 19 күн бұрын
then you abandon Linux, move to a shack in the woods, and write your OS from scratch using Forth and some obscure hardware with a custom instruction set.
@adamantris2
@adamantris2 18 күн бұрын
why even linux, just do a templeOS and make everything your own
@PranavShewale-s1d
@PranavShewale-s1d 18 күн бұрын
@@adamantris2 avg social anxiety shenanigans
@_xeere
@_xeere 19 күн бұрын
The nice thing about Vim is that once you use it enough, you can no longer use any other code editor without randomly turning on the caps lock and spamming a bunch of random letters in the file.
@kukuc96
@kukuc96 16 күн бұрын
You will also start typing j or k and other commands in regular text input fields, like Discord or Slack.
@JustAlternate
@JustAlternate 19 күн бұрын
We are just waiting for the Primeagen React to "The Vim Experience" now lmao
@ArturdeSousaRocha
@ArturdeSousaRocha 19 күн бұрын
There is a subreddit for suggesting videos for Prime to react to.
@plaintext7288
@plaintext7288 19 күн бұрын
with his usual productivity, he'll probably turn this one into a 1.5-2 hour stream
@keaneplayingmbae2852
@keaneplayingmbae2852 19 күн бұрын
@@plaintext7288 Worth watching every second
@whoman0385
@whoman0385 19 күн бұрын
​@@plaintext7288thats very generous, i'd say at least a good 3-4 hours
@goupsoup3684
@goupsoup3684 19 күн бұрын
@@plaintext7288 Probably closer to 4
@unicorn_tamer
@unicorn_tamer 19 күн бұрын
This channel is getting better and better lmao! Bro said "lets speedrun being an elite hackery man" and he's actually doing it!
@kiryls1207
@kiryls1207 19 күн бұрын
vim motions are like driving a car. at the beginning you need some muscle memory and after that, some of the motions will become second nature. so in the end, whenever an intention comes up in your mind, your fingers will already be executing the motion without you actively thinking about it. that is the power behind the motions, everything else is "manual customization" land
@jkl.project
@jkl.project 19 күн бұрын
but with vim you eventually realize that your car was actually a plane all along and you have only been using 2% of its power up until that point and the learning starts once more
@kiryls1207
@kiryls1207 19 күн бұрын
@ yeah, i agree. the iceberg thing is so true. for instance, at the very beginning i only needed about 10 basic move commands, everything else was made through command line. next thing you know is you really don’t want to leave the magical vim environment, and so it begins, the long journey into the lsp abyss…
@adissentingopinion848
@adissentingopinion848 17 күн бұрын
​@@kiryls1207 I got lucky: there's no lsp worth a damn for HDLs for cheap. Cool things I've done: I've made do with extreme amounts of vimscripting that, for example, runs svn (not git!) blame and outputs info for the current line and surrounding lines. Ctags and plugins are your friend. At a minimum, get makeprg working. ChatGPT is THE way to write vimscript. I've autopopulated the quickfix from a janky Ctrl-C infested with non-ascii characters that I could have never written the regex to filter out.
@squaremarco
@squaremarco 15 күн бұрын
Nice gaslighting nerd lmao
@RenderingUser
@RenderingUser 19 күн бұрын
In case you missed it, ci{ clears contents of {} And ~ toggles case. u in visual mode sets lower case. And U in visual mode sets upper case. Also one headache saver, you copied init.Lua stuff into init.Vim You can only have one or the other. Neovim uses either vim script or lua. And the best package manager for neovim is "lazy". Also, pls look into using kick-start nvim. It's like a neovim config that comes reconfigured with good defaults, and has built in tutorials on how to handle configuring vim. It's literally a nightmare to figure out neovim configuration. Atleast it was for me cause I've never used lua.
@fahadahaf
@fahadahaf 19 күн бұрын
I'd also recommend lazy.nvim if you want a "kitchen-sink" experience with neovim
@slayvict
@slayvict 19 күн бұрын
Kickstart saved my ass and now I use neovim at work
@RenderingUser
@RenderingUser 19 күн бұрын
@slayvict I've actually never gotten around to setup kick-start. I've been using astro nvim for the whole time. Today I've started working on my own config from kick-start finally.
@slayvict
@slayvict 19 күн бұрын
@RenderingUser good luck, I did very minimal basics that I need and nothing more. And it took me more than a year after I learned about kickstart to finally get the courage to do it, before it I tried lazyvim(distro), but found configuring plugins very frustrating, especially removing standard one I didn't want
@t-rc-86
@t-rc-86 8 күн бұрын
Thank you for saving me the time having to write that! (btw `c` stand for "change", so it's "change inside {")
@Itsneil17
@Itsneil17 19 күн бұрын
bro is becoming a super god amazing fullstack web, backend, frontend, aws, agile developer
@thingsiplay
@thingsiplay 16 күн бұрын
Next video: How to become a 10x developer in only 2 weeks.
@majoraslayer64
@majoraslayer64 19 күн бұрын
Vim is the text editor that online guides use to make new Linux users immediately hate Linux. If you're just editing config files like most Linux users, nano is everything you ever need. It took me a while to learn that, and it made me hate everyone who insists on telling non-coder users to use Vim.
@ArturdeSousaRocha
@ArturdeSousaRocha 19 күн бұрын
Heh, as an experienced Vim user I sometimes enjoy trying to figure out how to achieve something Vim-like in nano. Ctrl-T, custom key bindings, formatter and linter support, etc.
@RenderingUser
@RenderingUser 19 күн бұрын
Micro >>>> nano
@alexgghlebg5375
@alexgghlebg5375 19 күн бұрын
I've been a Vim user for a very long time. For me, it's actually the opposite-I find Nano much more complicated. Here’s something I do every day in Vim: - Select two lines, yank (copy) them, then delete them (:2y d). - Jump word by word through a search pattern using / then w or *. ... Vim is quite advanced, and once you master it, the mouse becomes almost unnecessary when coding. I even use the same keybindings in PyCharm to replicate Vim functionality. Once you train yourself to use Vim keybindings, it’s hard to go back. I instinctively type :wq! to save every file, even when it’s not needed like a note application that is not vim at all.
@BeefIngot
@BeefIngot 19 күн бұрын
Even for coders it's a niche of people whose personalities are their text editor. Like no hate to the people who just enjoy it, but too many people are religious about spending thousands of hours to theoretically be 1% faster.
@RenderingUser
@RenderingUser 19 күн бұрын
@@BeefIngot not exactly theoretical. Using another editor or an editor without modal editing feels like I'm crippling myself.
@mzakyr342
@mzakyr342 19 күн бұрын
fun fact : VI (Vim without M, basically the base of Vim) uses hjkl because its creator's keyboard didn't have physical cursor keys.
@matwyder4187
@matwyder4187 15 күн бұрын
This goes even deeper, the low 6 bits of the ASCII codes for HJKL are the TTY control characters for Backspace, LF, Vertical Tab and FF respectively, at least the first 2 makes a lot of sense. Holding Ctrl and pressing the key emits exatly those, so in a readline-based prompt, like most shells, you can instead of the Enter key ("down"), to backspace ("left"), these 2 out of 4 happen to sit just in comfortable home row positions. Have no clue who originally came up with the concept, but the ADM-3A terminal already had the arrows printed on these keys, the original Vi was coded on one of those.
@mzakyr342
@mzakyr342 15 күн бұрын
@@matwyder4187 nice fact
@blob0000
@blob0000 19 күн бұрын
Bog keeps showing me cool ass computer programs and stuff that I never knew existed
@brijeshsrivastava6682
@brijeshsrivastava6682 19 күн бұрын
Bro didn't know about Vim 💀
@froggotheboi
@froggotheboi 19 күн бұрын
​@brijeshsrivastava6682 people like you are why no ones wants to use linux 😭 even experienced people might've just picked nano and not considered the other options
@laurii0512
@laurii0512 19 күн бұрын
@@brijeshsrivastava6682 Not everyone knows about Vim, that isn't all that shocking.
@mage3690
@mage3690 19 күн бұрын
Ooh, you want cool computer programs? btop is the Linux version of Task Manager and it looks cool AF (well, top was the original, then htop made it better, but IMHO btop is peak). Also, if you're using the command line, tldr is goated. `tldr ` will tell you how to use that command in 20 lines or less, which is insanely useful for commands which might have a 20 thousand line man page like find, grep, gcc, or ffmpeg (the man pages are still useful for a lot of things, though).
@sheesh3178
@sheesh3178 19 күн бұрын
Bro didn't know about Vim 💀
@HedgehogGolf
@HedgehogGolf 19 күн бұрын
A few notes - for the VimBeGood ci{ game, you're supposed to replace the contents within the brackets using the ci{ command. This deletes everything within the pair of curly braces and enters Insert mode. It's pretty useful and can be used with pretty much any pair of symbols like (), [], {}, "", '', ``, , and even HTML-like tags by typing "cit". Also the reason why you were getting errors at 38:17 was because you were pasting Lua code into the Vimscript init file. Neovim supports two different languages for the configuration - the original Vimscript language (.vim files) and Lua (.lua files). You had an init.vim file so that's why it worked when you replaced the vim.o... line with the equivalent Vimscript line.
@TheLintwurm
@TheLintwurm 19 күн бұрын
To add to this, the whackamole game you should use the "tilde" key '~' to change the case of a character :)
@maximofernandez196
@maximofernandez196 18 күн бұрын
Your channel is beautiful because it actually promotes doing research, actually trying to learn and understand how things work, even if starting from scratch. I really love this because you put so much effort into learning the tools instead of saying that they are bad (like, sadly, some people do) because they are not intuitive when starting. Thank you so much for this kind of videos :)
@holy-eliescaide2219
@holy-eliescaide2219 19 күн бұрын
As a vim user for many years, I'd recommend that as a tutorial, especially if you're not that familiar with the terminal and the shell
@ArturdeSousaRocha
@ArturdeSousaRocha 19 күн бұрын
This might just be the best Vim tutorial video available. The fast pace actually makes it better, because it's about the experience/mindset, not about every single tidbit of info.
@sleepy3362
@sleepy3362 19 күн бұрын
​​​ It's actually insane to call this the best tutorial, or a tutorial of any kind. I like this guy and have been subscribed for months. It's very entertaing though and could get people interested. No hate. Just genuinely and truly, baffled and astounded.
@eRiiiiiCc
@eRiiiiiCc 19 күн бұрын
funny how it reminds me that I stumbled over plug and coc, too 😂 mate should switch to lazy and mason real fast
@DenisEneotescu
@DenisEneotescu 19 күн бұрын
This guy is smart. You can tell that through the way he approached and went through the challenges he encountered.
@theairaccumulator7144
@theairaccumulator7144 19 күн бұрын
Having basic problem solving skills doesn't make you smart. Not having them makes you dumb.
@er42069
@er42069 18 күн бұрын
@@theairaccumulator7144 I'd argue it does put you ahead of a LOT of people. Most people would just get stuck and call it a day.
@yusufyusuf1998
@yusufyusuf1998 16 күн бұрын
​@@theairaccumulator7144 cringe
@JapaneseBread6940
@JapaneseBread6940 19 күн бұрын
From the screen to the vim to the (Linux -to )the ping 🔥🔥
@fridriksoebech4330
@fridriksoebech4330 19 күн бұрын
For anyone that is really interested in trying out vim and giving it a chance or atleast it’s keybindings a really easy way of remembering vim commands is that they follow generally: [command][movement] so now you find out d is for delete, now what do you want to do? delete a word? i - inside w - word so the command becomes diw: delete inside word f[char] moves to the next instance of a character “char” now try to find the command that deletes everything up untill a character and have fun learnin vim 😊
@A7med9870
@A7med9870 19 күн бұрын
"learning (insert name program here/OS)" has to be my favorite type of anime
@Cipherify7
@Cipherify7 19 күн бұрын
You are my favorite content creator. I've learned so much just by watching your videos.
@SkyNick
@SkyNick 19 күн бұрын
26:20 Vim shortcuts in Obsidian was just a flex now c'mon that's cool
@pigmasta7273
@pigmasta7273 19 күн бұрын
You're gonna make me go insane with your desire to rawdog everything lol.
@adissentingopinion848
@adissentingopinion848 17 күн бұрын
Tbh you can only truly understand vim when you've resorted to writing custom commands to automate everything. The only thing ChatGPT is good for is to help write vimscript and it is crazy to just make a wish and have a 90% working feature.
@ecavero1
@ecavero1 18 күн бұрын
Welcome aboard! Quick tip: In the brackets game, try the following in normal mode. Say you have a bunch of text around {.........} Go inside the braces and, in normal mode, type ci{ This will "change inside {" i.e delete everything inside the braces and put you in normal mode to start typing!
@vitaminluke5597
@vitaminluke5597 19 күн бұрын
Bro went from taking 2 minutes to do something that takes me 5 seconds, to becoming a VIM master and MOGging me and the false confidence I once had with this legendary text editor. My life is in shambles, my girlfriend fired me, and my boss took my dog.
@nightfox6738
@nightfox6738 9 күн бұрын
20:13 : End of line navigation in vim is the $ because $ means end of line in regular expressions. You can also use ^ for beginning of line. 37:13 : If you do ci and the open brace or parenthesis it will replace everything (i)nside those braces. So with your cursor over the foo in ( foo ) you type "ci(bar" you will have (bar) 39:14 : Instead of going into visual mode for everything, you could cut all three of those lines by putting your cursor on the first line and typing 3dd (delete 3 lines) 40:41 : In visual mode if you press u it sets the selected text to lower case and Shift+U changes it to uppercase.
@ahmedthegreat3973
@ahmedthegreat3973 19 күн бұрын
Next do 'The Neovim Experience' or 'The i3wm Experience'
@AR-yd2nd
@AR-yd2nd 19 күн бұрын
The ricing experience The suckless experience
@theairaccumulator7144
@theairaccumulator7144 19 күн бұрын
He's an apple user tho
@ahmedthegreat3973
@ahmedthegreat3973 19 күн бұрын
@@AR-yd2nd OH YES!
@ahmedthegreat3973
@ahmedthegreat3973 19 күн бұрын
@@theairaccumulator7144 But he has also installed arch and Linux mint
@AR-yd2nd
@AR-yd2nd 18 күн бұрын
@@theairaccumulator7144 he has a arch partition
@Joih08
@Joih08 4 күн бұрын
Something like “The C experience” “The Go experience” Will be interesting to see
@TheRealMangoDev
@TheRealMangoDev 19 күн бұрын
oh and : is very useful it jumps you to the line you specify. also, the regex thing is the best
@jeffreychandler8418
@jeffreychandler8418 19 күн бұрын
especially in good languages that tell you the line an error occured. Can go to it instantly. And if you remap window shifting to ctrl+h,j,k,l you can be wicked fast
@msl6384
@msl6384 19 күн бұрын
in vscode you can do this inside the search file thing (CMD + P). Type : for the current file or navigate to same file and append :
@niuniujunwashere
@niuniujunwashere 19 күн бұрын
equivalently you can do G (if you don't want to mess up your q: history)
@niuniujunwashere
@niuniujunwashere 19 күн бұрын
⁠​⁠@@jeffreychandler8418 i've personally never done any remapping of vim default binding, imo having that ctrl-w makes me feel safe since it acts as a "namespace" of sorts but that sounds like a neat idea 😄
@HumanShield117
@HumanShield117 19 күн бұрын
Fun fact about the "touch" command. It doesn't actually create the file, or rather, that's not what it was intended for. What it does is "touch" the file's 'last edited' timestamp, so you can force something like make to recompile something without having to actually make an edit.
@gamerashu7170
@gamerashu7170 18 күн бұрын
This video is perfect representation of how I tried to learn assembly.
@turun_ambartanen
@turun_ambartanen 17 күн бұрын
Explanations for random stuff: - $ jumps to the end of the line, probably because in regex it matches the end of the line - hjkl are on the home row, yes. But you probably already noticed that they are not the positions of the fingers. However, the keyboard of the ADM-3A PC (Keyboard Layout can be seen on Wikipedia. I'm not gonna link it, because YT likes to delete comments with links in them) from 1976 has arrow keys printed on the letters hjkl that correspond exactly to the movements in vim - conincidence? I think not. (Bonus fact: it also has the "home" button and the "~" printed on the same key. How awfully convenient that in Linux shells ~ is an alias for the home directory)
@Y2GeekUK
@Y2GeekUK 18 күн бұрын
You always teach me something new! I wasn't aware of the CTRL + Back Space shortcut, thank you
@HasanboyKarimjonov
@HasanboyKarimjonov 18 күн бұрын
finally, I have an idea about what is vim, thank you
@JoaquinDev
@JoaquinDev 19 күн бұрын
Good on you dude, a lot of people get freaked by the learning curve of nvim. I am a CS student still and I live in the terminal, I move to it on January this year, and have not looked back since. Wait until you discover macros to edit multiple lines in 15 seconds, it is heaven.
@BeefIngot
@BeefIngot 19 күн бұрын
You can do this in non terminal only eidiotrs too tho
@oglothenerd
@oglothenerd 19 күн бұрын
You might like Helix more. It is a Vim-like text editor, but it has a UI that explains a lot to you, and it has more intuitive shortcuts out of the box.
@akshatsingh282
@akshatsingh282 19 күн бұрын
I actually don't know i enjoy watch u but yet always come up whenever a video arrives
@keyboardwarrior6296
@keyboardwarrior6296 19 күн бұрын
18:00 Wrong. The HJKL movement keys are just a hold over from the old unix tty terminals, which didn't have dedicated arrow keys at all. The ergonomics are entirely unintended.
@t-rc-86
@t-rc-86 8 күн бұрын
A lot of us don't remember specific commands, what we do instead is learn that "c" is change, "w" is word etc. So when I for example see a "string" that I want to change, my brain just automatically thinks ` change inside " ` and I press `c` then `i` and finally `"` and it just works! If I wanted to delete the string, I'd do `d` then `i` and `"`. All I did was change the `c` to a `d`, and I can combine that with anything else I want to do. So even if there are a bazillion commands and keys, they're very often just different combinations of the same things you already know. And eventually you rarely even use HJKL, instead you jump around by using commands and motions. And if you're using more than 3 commands or 2 mode changes to do something simple, you're probably doing it wrong heh. (example of this was changing things inside { } and [ ], which would just be `ci{` and `ci[` instead of jumping into visual mode and what not) I'd also like to say that the terminal, and all that `cd` etc. are things most developers have used for years, so those things come naturally to us. So you're basically learning 2 or 3 things at the same time here, not just Vim. (pro tip: press tab in the terminal so you don't have to actually type all the filenames and commands) Well done tho!
@hosseintarighatimomtaz3298
@hosseintarighatimomtaz3298 17 күн бұрын
So entertaining dude. And so powerful for learning. I think so many people will use these in the future
@MaxMorfiX
@MaxMorfiX 18 күн бұрын
This is something good to watch in bedtime. But in a good way. When you go sleep, you know you learned something today (tonight ig) and you feel good for yourself
@KriosDaJester
@KriosDaJester 19 күн бұрын
tip: there's a raycast extension that lets you search vim commands.
@tovi3458
@tovi3458 18 күн бұрын
This brings me back to when i was first learning vim, now i cant live without it.
@almuhimen8023
@almuhimen8023 18 күн бұрын
I am enjoying this dudes character development
@FinalJuice
@FinalJuice 19 күн бұрын
it really is fun watching you learn things. i say that as someone who does not know things
@senyosgame5088
@senyosgame5088 17 күн бұрын
Your videos are so motivating, it's also nice for the soul to watch. Thank you very much!
@the-real-pedro
@the-real-pedro 19 күн бұрын
just a tip, if you wont use the variable in a for loop you can use _ (for _ in range(5):)
@chem-z9718
@chem-z9718 17 күн бұрын
_ works the same way as any other name. it doesn't matter
@the-real-pedro
@the-real-pedro 17 күн бұрын
Looks better and its the way we do it;)
@MariusvanZundert
@MariusvanZundert 19 күн бұрын
As somebody coding in vim on macOS for over a decade (started with the first Intel Macs in 2006) seeing somebody stumble across how awesome it is, feels like pure joy!
@nokyoto
@nokyoto 19 күн бұрын
tip: you can just use vim without the filename parameter, saving the file creates it without needing to use the touch command
@tenacity_dev
@tenacity_dev 19 күн бұрын
I know the basics Vim but I always catch myself not using it like I should. After the steep learning curve Vim is such a powerful text editor (Specifically the vim motions). Great video.
@julioflores1849
@julioflores1849 19 күн бұрын
I've been using vim for like ~2 years, I enjoyed this video a lot!
@TheRealMangoDev
@TheRealMangoDev 19 күн бұрын
ALSO use dd and dd. ALSO u can use dd and dd to do the same thing but in the direction u choose EDIT: sorry i accidentally said dd instead of d when reffering to the arrow key shortcuts but ye the line thing is still correct also sorry i accidentaloy said dd which is incorrect what i meant is dd
@TheRealMangoDev
@TheRealMangoDev 19 күн бұрын
but the arrow stuff deletes only 2 lines
@ZxRipredxZ
@ZxRipredxZ 19 күн бұрын
Wouldn't it be a single d when starting with d? dd deletes the current line as soon as you hit the second d
@TheRealMangoDev
@TheRealMangoDev 19 күн бұрын
@ ye sorry i accidentally typed dd oops
@phoenix-tt
@phoenix-tt 19 күн бұрын
My favourite one is deleting two lines with dj Every time I do this, the song by Rihanna plays in my head (Come Mr DJ, won't you turn the music up)
@qlank9751
@qlank9751 18 күн бұрын
this is why vim motions suck dick
@Ghostdawg176
@Ghostdawg176 18 күн бұрын
Always fun to watch someone at least try to learn vim. Neovim is definitely superior
@Hummr01
@Hummr01 18 күн бұрын
Really like you sharing your adventures on discovering new tech for you
@Fudmottin
@Fudmottin 14 күн бұрын
Learning the command line and vim at the same time? Based. BTW, you don't have to create a file with the touch command. You can just vim . It will be created when you save it. Also instead of :wq, use :x. Saves typing!
@Chikowski101
@Chikowski101 19 күн бұрын
bro said yoink an unhealthy number of times !! love your content dude you are an absolute talent a gem of youtube
@mskiptr
@mskiptr 19 күн бұрын
The ci{ game literally tells you how to play it. It's in the title! To change `{ spam; eggs; }` into `{foo}`, you press ci{ to _Change Inside {_ (the curly braces).
@mskiptr
@mskiptr 19 күн бұрын
And there's a similar trick for the whackamole game. You can type ~ to toggle the case of a letter. (and also there's gu to make a bunch of letter all lowercase and gU for uppercase)
@joelgreen737
@joelgreen737 19 күн бұрын
Loved the video man!! Honestly if you want to use vim more, just start with the vim plugin in vscode and only switch to neovim after you get comfortable with using vim motions (thats what the vim keybindings are called) Also protip: if you want to delete (d) or change (c) inside brackets you can just do something like "di[" which will delete everything inside the square brackets or "di{"/"di(" for the respective brackets and if you want to be in insert mode after deleting just change the d to c.
@user-ix3lx8cm6s
@user-ix3lx8cm6s 18 күн бұрын
What I like about the video is how it teaches you to Google your questions
@mikkelens
@mikkelens 17 күн бұрын
every experienced software engineer should watch this video in order to remember what beginner users will try to do in order to learn a tool instead of actually reading the explanations/documentation that they find. The part where bog confuses visual and visual block mode (shift+v vs ctrl+v) definitely hurt to watch. Great video.
@Ozzy_Axil
@Ozzy_Axil 18 күн бұрын
When I grow up , I want to continue learning new things everyday regardless of my age . Like you
@nicolasnaranjo7885
@nicolasnaranjo7885 17 күн бұрын
As someone on the bottom of the iceberg (i have Vim on my phone configured for a bunch of languages), you did great. Hell, you learned faster than i did. Some of these things took me a while. And I'd say a fair compromise is vim motions on vscode. That way, you have Vim but without having to configure it. I do believe just raw neovim is better tho.
@albertkovtoun662
@albertkovtoun662 18 күн бұрын
We need a The Neovim Experience video next
@ferhatkorkmaz11
@ferhatkorkmaz11 18 күн бұрын
You have an amazing skill of critical thinking. I love watching you exploring programs, operating systems, browsers.. Keep going my man!
@hebersolano5093
@hebersolano5093 17 күн бұрын
Really interesting and entertaining, thanks. I'll try vim in the future
@kn4ughty
@kn4ughty 19 күн бұрын
25:00 in neovim to comment and uncomment you can just press gcc, and then for multiline you can select multiple lines however you want and type gc 39:20 a more optimal way to do that is with shift+P to paste above the cursor 40:20 to swap the case of the character under the cursor you can press ~ (or shift + backtick if you prefer that notation)
@fabricehategekimana5350
@fabricehategekimana5350 18 күн бұрын
Man, you're a chad of the highest level. Congrats for trying vim !
@AhmadMughal1
@AhmadMughal1 19 күн бұрын
After you've learned the basics here i would recommend going for nvim and setting up lsps for proper suggestions. For the sake of making this easier and not having to do a lot of configurations i would recommend searching for nvim distributions which do this for you by default and you just have to enable what you're are going to use it for as in your case python.
@poutineausyropderable7108
@poutineausyropderable7108 19 күн бұрын
You can also do "vim file" to both create and open a file if it doesn't exist. As long as you don't :w, you can :q without creating the file. Usefull if you typo and accidentally go into an empty file, so you don't leave a bunch of "File1 file1 fil1 fill" in the directory. Btw, there's neovim. It's vim, just that there's more plugins and the configuration to add every single feature of modern IDEs fors from Impossible/7th Layer of Hell to Really hard/1st Layer of Hell.
@calleha01
@calleha01 18 күн бұрын
The editor with the familiar shortcuts you're looking for is emacs. Ctrl-backspace etc. Emacs does not have modes and instead uses the control key to perform its commands. In vim you are always going between two modes, typing and movement commands
@calleha01
@calleha01 18 күн бұрын
also it's funny how you didn't start with vimtutor which comes along with your vim installation
@ssolo_
@ssolo_ 19 күн бұрын
Been waiting for a new Bog’s vid more than GTA6
@W1nd0w55
@W1nd0w55 16 күн бұрын
You know it's serious when Bog uses Mac to record a video
@luclisson6310
@luclisson6310 19 күн бұрын
the keyboard shortcut guy from youtube just found out about vim. hes gonna be unstoppable!!!
@Snailsxd
@Snailsxd 18 күн бұрын
8:44 what you're looking for is Ctrl + w (in insert mode)
@henil0604
@henil0604 18 күн бұрын
to be honest, you are describing the correct process of learning something.
@haquire
@haquire 19 күн бұрын
Uploaded literally while I'm rewriting my neovim config gg
@GT-20
@GT-20 19 күн бұрын
YESSSS!! FINALLY A BOG VIDEO. Even tho i have nothing to do with half of the things that BOG makes video about, i still can't control myself from watching the whole video
@jkl.project
@jkl.project 19 күн бұрын
I think we all knew this video was gonna be here eventually
@kyrylotaranenko3678
@kyrylotaranenko3678 18 күн бұрын
Pure gold comedy, should be a TV series
@natsukashii_ne
@natsukashii_ne 19 күн бұрын
vim is not only speed, it's actually more about customization - making it your own personal workflow, tailored to your preferences. and the instruments that neovim provide for that are far more substantial that vim. vim-motions are basically just the begging of your vim journey
@alexisthelegend3467
@alexisthelegend3467 19 күн бұрын
YESSS i knew this video was coming!! im loving it so far... keep it up pleasee!! :>
@paulj505
@paulj505 18 күн бұрын
If it's the same on Mac as on Linux, then you should be able to copy from terminal with ctrl+shift+c and then you can paste is outside terminal with normal shortcut. And if you want to paste something to terminal, you press v in that combination, instead of c. So you just add shift to normal shortcuts. It works in Vim too
@asdfmonstrosity
@asdfmonstrosity 19 күн бұрын
0 is the 0th character on the line, ^ is the first character (regex-inspired), $ is the last character (regex-inspired)
@imnotchinese6235
@imnotchinese6235 19 күн бұрын
im impressed on how effectively you learned vim😅
@zeocamo
@zeocamo 16 күн бұрын
for the change all in the {} game you need to learn the a/i for around or inner, so ci{ will delete all in the {} block and go to insert mode, then you type bar esc.
@scritch9549
@scritch9549 12 күн бұрын
vim takes some time to get used to, but soo nice to write in when you use it daily
@Illogical.
@Illogical. 12 күн бұрын
Honestly, the idea of using the terminal for everything, thereby massively reducing the amount of visual input I have to process sounds wonderful. As long as there is more than one slot for copied text, like on mobile. And also, it would be awful to use before a certain level of proficiency.
@000TheMatheus000
@000TheMatheus000 19 күн бұрын
44:36 ladies and mentalgen
@vader567
@vader567 17 күн бұрын
The plug installation part man I realated so much.. destroyed 4 hours of my life to figure stuff out
@babybadger1563
@babybadger1563 18 күн бұрын
Any new vim user should go through the vim tutor first to get the hang of things, then dive deeper. Nice video btw.
@JMBalaguer
@JMBalaguer 17 күн бұрын
Great video! But you forgot one of the most powerful Vim commands: the “dot” command (“.” in normal mode) to avoid repetition!!!😊
First PC Building Experience
24:36
Bog
Рет қаралды 1,1 МЛН
Arch Linux Experience - Hyprland
39:02
Bog
Рет қаралды 360 М.
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 111 МЛН
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 44 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 51 МЛН
How Unofficial Minecraft Clients Beat Mojang
16:35
SkyBoi
Рет қаралды 288 М.
Python Developer learns Rust (and remaking my chess engine)
16:18
TheSandwichCoder
Рет қаралды 36 М.
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 376 М.
Spotify Bricked The Car Thing, So I Hacked Mine
21:20
Dammit Jeff
Рет қаралды 2,1 МЛН
I made a Map app... that gets you ARRESTED
12:32
FaceDev
Рет қаралды 62 М.
Trying "Free Photoshop" - Photopea
15:21
Bog
Рет қаралды 433 М.
Somebody emailed me a trojan virus
14:06
Bog
Рет қаралды 1 МЛН
Creating a window - Software from Scratch
1:04:12
Muukid
Рет қаралды 137 М.
Why do Content Creators REFUSE to use Linux?
41:24
ThatCowBloke
Рет қаралды 46 М.
The Manim Experience - Creating animations with Python
38:51
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 111 МЛН