The Vim Experience

Поділитися
Вставка
  • Опубліковано 21 лис 2024
  • Try the #1 AI-powered personal productivity time-blocking tool, Akiflow, today: akiflow.pro/bog
    Vim is an advanced text editor (just like Neovim) that has a cult like following among software developers.
    🟧 Learn to make animations with code (Manim):
    store.thaomaoh...
    🟪 WALLPAPER:
    store.thaomaoh...
    🚀 Want to grow a profitable UA-cam Channel? Check out The 1 Hour UA-camr, my online course for creators:
    thaomaoh.com/1...
    ♟️ HOW TO PLAY THE UA-cam GAME (template):
    game.thaomaoh....
    💌 MY NEWSLETTER:
    thaomaoh.subst...
    MY FAVOURITE TOOLS:
    🍎 - Setapp - For A Bunch Of Cool Mac Apps - bit.ly/bogSetapp
    🖱️ - My Mouse - amzn.to/3yysj2s
    🛜 - Hostinger - For Hosting A Website - bit.ly/bogHost...
    🔒 - VPN I'm using rn - bit.ly/bogProt...
    💻 - My MacBook - amzn.to/4e2Ajcw
    Some of the links above are affiliate links that I get a kickback from.

КОМЕНТАРІ • 859

  • @bogxd
    @bogxd  18 днів тому +60

    Try the #1 AI-powered personal productivity time-blocking tool, Akiflow, today: akiflow.pro/bog

  • @anixolx
    @anixolx 17 днів тому +1236

    timestamps:
    start: 0:00
    end: 45:18

    • @bogxd
      @bogxd  17 днів тому +162

      the new profile picture threw me off

    • @jeevacation
      @jeevacation 17 днів тому +22

      Inside joke moment

    • @anixolx
      @anixolx 17 днів тому +6

      @@bogxd 😭😭🙏

    • @darukutsu
      @darukutsu 17 днів тому +7

      thanks, you're legend

    • @mattiafalappi5516
      @mattiafalappi5516 17 днів тому

      ​​@@bogxdwait until you try emacs,you'll understand why vi vi vi it's the editor of the beast .

  • @Pandacier
    @Pandacier 17 днів тому +1800

    bro is actually speedrunning the entire linux iceberg
    edit: I said that before realizing that he made this video on macOS :(

    • @aniruddh576
      @aniruddh576 17 днів тому +8

      frfr

    • @vipherobrine7129
      @vipherobrine7129 17 днів тому +3

      PANDA, ITS BEEN SO LONG :o

    • @Pandacier
      @Pandacier 17 днів тому

      @@vipherobrine7129 LMAO HOW DID YOU FIND ME HERE

    • @_BLANK_BLANK
      @_BLANK_BLANK 17 днів тому

      Is sad

    • @Pandacier
      @Pandacier 17 днів тому

      @@vipherobrine7129 LOL HOW DID YOU FIND ME HERE

  • @pointyorb
    @pointyorb 17 днів тому +1133

    he exited vim...
    he is the chosen one

    • @rawallon
      @rawallon 17 днів тому +17

      he's definetly one of the ones

    • @NotSoSylent
      @NotSoSylent 17 днів тому +32

      I just turn off my computer

    • @SophiaWoessner
      @SophiaWoessner 17 днів тому +25

      @@NotSoSylent I just buy a new one!

    • @Alt.N
      @Alt.N 17 днів тому +14

      ​@@SophiaWoessner I just start a new universe

    • @sillythewanderer4221
      @sillythewanderer4221 17 днів тому +1

      :qa!

  • @lolitbairiganjan2940
    @lolitbairiganjan2940 17 днів тому +314

    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 17 днів тому +6

      Sad that he doesnt use linux or even windows he uses mac os😢

    • @adnope
      @adnope 17 днів тому +11

      ​@@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 17 днів тому

      @adnope i know but still
      Go to windows or linux

    • @zoox3732
      @zoox3732 17 днів тому +10

      @@Helldiver211 MacOS is a POSIX pal; according to the propaganda, MacOS is a closer friend to Linux than Windows.

    • @erlgr
      @erlgr 17 днів тому +9

      ​@@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.

  • @betannet.mp4
    @betannet.mp4 17 днів тому +1148

    Next video: The Neovim Experience

  • @doBobro
    @doBobro 16 днів тому +16

    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 3 дні тому

      Been using Vim for a year and pretty much had the same experience

  • @Lambda_Ovine
    @Lambda_Ovine 17 днів тому +55

    Your videos are so much "he can't just jump and do it, oh my god he's doing it" energy, I love them

  • @FreshSmog
    @FreshSmog 17 днів тому +460

    I can't believe he found primagen game and vim adventures, but not the built-in vimtutor..

    • @plankcaller
      @plankcaller 17 днів тому +104

      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 17 днів тому +46

      @@plankcaller I'm starting to think it is all on purpose. Playing a little bit dumb to make it more entertaining.

    • @danielalegriasallo5551
      @danielalegriasallo5551 17 днів тому +15

      @@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 17 днів тому +10

      @@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 17 днів тому +12

      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)

  • @ahababzarif7915
    @ahababzarif7915 17 днів тому +81

    Damn, I am literally getting addicted to this channel.

    • @ssolo_
      @ssolo_ 17 днів тому +2

      I dont even know how to do half the stuff he does but still i enjoy all his videos

    • @nourgaser6838
      @nourgaser6838 17 днів тому +4

      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

  • @unicorn_tamer
    @unicorn_tamer 17 днів тому +70

    This channel is getting better and better lmao! Bro said "lets speedrun being an elite hackery man" and he's actually doing it!

  • @sens9739
    @sens9739 17 днів тому +74

    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 17 днів тому +1

      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 17 днів тому

      @@mage3690 python? Has brackets?

    • @jonesy_b
      @jonesy_b 17 днів тому +9

      This, it was so painful to see how he did that exercise with visual mode lol

    • @EwanMarshall
      @EwanMarshall 15 днів тому

      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 12 днів тому

      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`).

  • @SanteyKhena
    @SanteyKhena 17 днів тому +49

    from linux mint to arch to hyprland on arch to vim, the speedrun is insane

    • @phoenix-tt
      @phoenix-tt 17 днів тому +10

      The next one is compiling Gentoo

    • @nmcli
      @nmcli 17 днів тому +3

      i went from linux mint to arch linux dual booted with linux from scratch in like 3 weeks lmao

    • @frostiefops
      @frostiefops 17 днів тому +2

      @@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

  • @JustAlternate
    @JustAlternate 17 днів тому +237

    We are just waiting for the Primeagen React to "The Vim Experience" now lmao

    • @ArturdeSousaRocha
      @ArturdeSousaRocha 17 днів тому +7

      There is a subreddit for suggesting videos for Prime to react to.

    • @plaintext7288
      @plaintext7288 17 днів тому +38

      with his usual productivity, he'll probably turn this one into a 1.5-2 hour stream

    • @keaneplayingmbae2852
      @keaneplayingmbae2852 17 днів тому

      @@plaintext7288 Worth watching every second

    • @whoman0385
      @whoman0385 17 днів тому

      ​@@plaintext7288thats very generous, i'd say at least a good 3-4 hours

    • @goupsoup3684
      @goupsoup3684 17 днів тому

      @@plaintext7288 Probably closer to 4

  • @_xeere
    @_xeere 17 днів тому +76

    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 14 днів тому +11

      You will also start typing j or k and other commands in regular text input fields, like Discord or Slack.

  • @Amoral-uu3nf
    @Amoral-uu3nf 17 днів тому +341

    10 videos later : Writing my own version of the linux kernel

    • @fireninja8250
      @fireninja8250 17 днів тому +12

      There comes a time in every Linux user's life when writing a custom kernel is necessary

    • @PranavShewale-s1d
      @PranavShewale-s1d 17 днів тому

      ​@@fireninja8250 For flex imo

    • @edo9k
      @edo9k 17 днів тому +10

      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 16 днів тому +6

      why even linux, just do a templeOS and make everything your own

    • @PranavShewale-s1d
      @PranavShewale-s1d 16 днів тому +1

      @@adamantris2 avg social anxiety shenanigans

  • @RenderingUser
    @RenderingUser 17 днів тому +69

    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 17 днів тому

      I'd also recommend lazy.nvim if you want a "kitchen-sink" experience with neovim

    • @slayvict
      @slayvict 17 днів тому +4

      Kickstart saved my ass and now I use neovim at work

    • @RenderingUser
      @RenderingUser 17 днів тому +2

      @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 17 днів тому +1

      @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 6 днів тому

      Thank you for saving me the time having to write that!
      (btw `c` stand for "change", so it's "change inside {")

  • @Itsneil17
    @Itsneil17 17 днів тому +37

    bro is becoming a super god amazing fullstack web, backend, frontend, aws, agile developer

    • @thingsiplay
      @thingsiplay 14 днів тому +2

      Next video: How to become a 10x developer in only 2 weeks.

  • @kiryls1207
    @kiryls1207 17 днів тому +51

    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 17 днів тому +21

      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 17 днів тому +10

      @ 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 15 днів тому

      ​@@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 13 днів тому

      Nice gaslighting nerd lmao

  • @blob0000
    @blob0000 17 днів тому +94

    Bog keeps showing me cool ass computer programs and stuff that I never knew existed

    • @brijeshsrivastava6682
      @brijeshsrivastava6682 17 днів тому +18

      Bro didn't know about Vim 💀

    • @froggotheboi
      @froggotheboi 17 днів тому

      ​@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 17 днів тому

      @@brijeshsrivastava6682 Not everyone knows about Vim, that isn't all that shocking.

    • @mage3690
      @mage3690 17 днів тому

      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 17 днів тому +6

      Bro didn't know about Vim 💀

  • @mzakyr342
    @mzakyr342 17 днів тому +20

    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 13 днів тому +5

      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 13 днів тому

      @@matwyder4187 nice fact

  • @HedgehogGolf
    @HedgehogGolf 17 днів тому +13

    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 17 днів тому

      To add to this, the whackamole game you should use the "tilde" key '~' to change the case of a character :)

  • @majoraslayer64
    @majoraslayer64 17 днів тому +61

    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 17 днів тому +5

      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 17 днів тому +3

      Micro >>>> nano

    • @alexgghlebg5375
      @alexgghlebg5375 17 днів тому

      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 17 днів тому +15

      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 17 днів тому +5

      @@BeefIngot not exactly theoretical. Using another editor or an editor without modal editing feels like I'm crippling myself.

  • @maximofernandez196
    @maximofernandez196 16 днів тому +1

    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 :)

  • @JapaneseBread6940
    @JapaneseBread6940 17 днів тому +16

    From the screen to the vim to the (Linux -to )the ping 🔥🔥

  • @Cipherify7
    @Cipherify7 17 днів тому +5

    You are my favorite content creator. I've learned so much just by watching your videos.

  • @holy-eliescaide2219
    @holy-eliescaide2219 17 днів тому +7

    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 17 днів тому +4

      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 17 днів тому +5

      ​​​ 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 17 днів тому

      funny how it reminds me that I stumbled over plug and coc, too 😂 mate should switch to lazy and mason real fast

  • @SkyNick
    @SkyNick 17 днів тому +7

    26:20 Vim shortcuts in Obsidian was just a flex now c'mon that's cool

  • @fridriksoebech4330
    @fridriksoebech4330 17 днів тому +2

    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 😊

  • @DenisEneotescu
    @DenisEneotescu 17 днів тому +14

    This guy is smart. You can tell that through the way he approached and went through the challenges he encountered.

    • @theairaccumulator7144
      @theairaccumulator7144 17 днів тому +4

      Having basic problem solving skills doesn't make you smart. Not having them makes you dumb.

    • @er42069
      @er42069 16 днів тому +4

      @@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 15 днів тому

      ​@@theairaccumulator7144 cringe

  • @A7med9870
    @A7med9870 17 днів тому +7

    "learning (insert name program here/OS)" has to be my favorite type of anime

  • @Joih08
    @Joih08 2 дні тому +1

    Something like
    “The C experience”
    “The Go experience”
    Will be interesting to see

  • @ecavero1
    @ecavero1 16 днів тому +1

    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!

  • @HumanShield117
    @HumanShield117 17 днів тому +3

    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.

  • @vitaminluke5597
    @vitaminluke5597 17 днів тому +21

    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.

  • @gamerashu7170
    @gamerashu7170 16 днів тому +1

    This video is perfect representation of how I tried to learn assembly.

  • @nightfox6738
    @nightfox6738 7 днів тому

    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.

  • @JoaquinDev
    @JoaquinDev 17 днів тому

    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 17 днів тому +1

      You can do this in non terminal only eidiotrs too tho

  • @Chikowski101
    @Chikowski101 17 днів тому

    bro said yoink an unhealthy number of times !! love your content dude you are an absolute talent a gem of youtube

  • @ahmedthegreat3973
    @ahmedthegreat3973 17 днів тому +20

    Next do 'The Neovim Experience' or 'The i3wm Experience'

    • @AR-yd2nd
      @AR-yd2nd 17 днів тому +1

      The ricing experience
      The suckless experience

    • @theairaccumulator7144
      @theairaccumulator7144 17 днів тому +1

      He's an apple user tho

    • @ahmedthegreat3973
      @ahmedthegreat3973 17 днів тому +1

      @@AR-yd2nd OH YES!

    • @ahmedthegreat3973
      @ahmedthegreat3973 17 днів тому

      @@theairaccumulator7144 But he has also installed arch and Linux mint

    • @AR-yd2nd
      @AR-yd2nd 17 днів тому

      @@theairaccumulator7144 he has a arch partition

  • @joelgreen737
    @joelgreen737 17 днів тому

    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.

  • @pigmasta7273
    @pigmasta7273 17 днів тому +37

    You're gonna make me go insane with your desire to rawdog everything lol.

    • @adissentingopinion848
      @adissentingopinion848 15 днів тому

      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.

  • @akshatsingh282
    @akshatsingh282 17 днів тому +2

    I actually don't know i enjoy watch u but yet always come up whenever a video arrives

  • @TheRealMangoDev
    @TheRealMangoDev 17 днів тому +4

    oh and : is very useful it jumps you to the line you specify. also, the regex thing is the best

    • @jeffreychandler8418
      @jeffreychandler8418 17 днів тому +1

      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 17 днів тому

      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 17 днів тому

      equivalently you can do G (if you don't want to mess up your q: history)

    • @niuniujunwashere
      @niuniujunwashere 17 днів тому

      ⁠​⁠@@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 😄

  • @HasanboyKarimjonov
    @HasanboyKarimjonov 17 днів тому +1

    finally, I have an idea about what is vim, thank you

  • @MaxMorfiX
    @MaxMorfiX 16 днів тому

    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

  • @hosseintarighatimomtaz3298
    @hosseintarighatimomtaz3298 15 днів тому

    So entertaining dude. And so powerful for learning. I think so many people will use these in the future

  • @oglothenerd
    @oglothenerd 17 днів тому +3

    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.

  • @nicolasnaranjo7885
    @nicolasnaranjo7885 15 днів тому

    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.

  • @fabricehategekimana5350
    @fabricehategekimana5350 16 днів тому

    Man, you're a chad of the highest level. Congrats for trying vim !

  • @tenacity_dev
    @tenacity_dev 17 днів тому

    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.

  • @Y2GeekUK
    @Y2GeekUK 17 днів тому

    You always teach me something new! I wasn't aware of the CTRL + Back Space shortcut, thank you

  • @GT-20
    @GT-20 17 днів тому

    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

  • @tovi3458
    @tovi3458 17 днів тому

    This brings me back to when i was first learning vim, now i cant live without it.

  • @almuhimen8023
    @almuhimen8023 16 днів тому +1

    I am enjoying this dudes character development

  • @t-rc-86
    @t-rc-86 6 днів тому

    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!

  • @user-ix3lx8cm6s
    @user-ix3lx8cm6s 16 днів тому

    What I like about the video is how it teaches you to Google your questions

  • @julioflores1849
    @julioflores1849 17 днів тому

    I've been using vim for like ~2 years, I enjoyed this video a lot!

  • @luclisson6310
    @luclisson6310 17 днів тому

    the keyboard shortcut guy from youtube just found out about vim. hes gonna be unstoppable!!!

  • @ferhatkorkmaz11
    @ferhatkorkmaz11 17 днів тому

    You have an amazing skill of critical thinking. I love watching you exploring programs, operating systems, browsers.. Keep going my man!

  • @Fudmottin
    @Fudmottin 12 днів тому

    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!

  • @Ghostdawg176
    @Ghostdawg176 16 днів тому

    Always fun to watch someone at least try to learn vim. Neovim is definitely superior

  • @albertkovtoun662
    @albertkovtoun662 17 днів тому +1

    We need a The Neovim Experience video next

  • @senyosgame5088
    @senyosgame5088 15 днів тому

    Your videos are so motivating, it's also nice for the soul to watch. Thank you very much!

  • @mikkelens
    @mikkelens 15 днів тому

    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.

  • @alexisthelegend3467
    @alexisthelegend3467 17 днів тому +1

    YESSS i knew this video was coming!! im loving it so far... keep it up pleasee!! :>

  • @ssolo_
    @ssolo_ 17 днів тому +1

    Been waiting for a new Bog’s vid more than GTA6

  • @W1nd0w55
    @W1nd0w55 14 днів тому +1

    You know it's serious when Bog uses Mac to record a video

  • @KriosDaJester
    @KriosDaJester 17 днів тому +3

    tip: there's a raycast extension that lets you search vim commands.

  • @kirbyoui
    @kirbyoui 17 днів тому +3

    Finally new bog vid

  • @haquire
    @haquire 17 днів тому +1

    Uploaded literally while I'm rewriting my neovim config
    gg

  • @Ozzy_Axil
    @Ozzy_Axil 17 днів тому

    When I grow up , I want to continue learning new things everyday regardless of my age . Like you

  • @nokyoto
    @nokyoto 17 днів тому +1

    tip: you can just use vim without the filename parameter, saving the file creates it without needing to use the touch command

  • @vader567
    @vader567 15 днів тому

    The plug installation part man I realated so much.. destroyed 4 hours of my life to figure stuff out

  • @natsukashii_ne
    @natsukashii_ne 17 днів тому

    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

  • @FinalJuice
    @FinalJuice 17 днів тому

    it really is fun watching you learn things.
    i say that as someone who does not know things

  • @Hummr01
    @Hummr01 16 днів тому

    Really like you sharing your adventures on discovering new tech for you

  • @hebersolano5093
    @hebersolano5093 15 днів тому

    Really interesting and entertaining, thanks. I'll try vim in the future

  • @JMBalaguer
    @JMBalaguer 15 днів тому

    Great video! But you forgot one of the most powerful Vim commands: the “dot” command (“.” in normal mode) to avoid repetition!!!😊

  • @TheRealMangoDev
    @TheRealMangoDev 17 днів тому +1

    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 17 днів тому

      but the arrow stuff deletes only 2 lines

    • @ZxRipredxZ
      @ZxRipredxZ 17 днів тому

      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 17 днів тому +1

      @ ye sorry i accidentally typed dd oops

    • @phoenix-tt
      @phoenix-tt 17 днів тому

      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 17 днів тому

      this is why vim motions suck dick

  • @kyrylotaranenko3678
    @kyrylotaranenko3678 17 днів тому

    Pure gold comedy, should be a TV series

  • @arrow_function
    @arrow_function 17 днів тому

    He exited vim? Ain't no way. I use neovim, btw. Great job. Awesome tech videos. Love it 😘

  • @henil0604
    @henil0604 16 днів тому

    to be honest, you are describing the correct process of learning something.

  • @imnotchinese6235
    @imnotchinese6235 17 днів тому

    im impressed on how effectively you learned vim😅

  • @calleha01
    @calleha01 17 днів тому

    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 17 днів тому

      also it's funny how you didn't start with vimtutor which comes along with your vim installation

  • @MariusvanZundert
    @MariusvanZundert 17 днів тому +5

    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!

  • @poutineausyropderable7108
    @poutineausyropderable7108 17 днів тому +1

    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.

  • @captheobbyist6434
    @captheobbyist6434 17 днів тому

    this reminds me of how my dad was teaching me how to use the linux terminal.
    it was pretty hard to grasp but then i got used to it

  • @taczki2
    @taczki2 14 днів тому

    A shield transforming into Yoink is peak internet

  • @ProgrammerPenguin
    @ProgrammerPenguin 17 днів тому +1

    mate....you don't need touch...just do "vim {filename}" to make the file and go inside of it....
    idk if you learnt it eventually but I'm 5 minutes in...i will edit this comment if I find anything else to say :3
    edit 1:
    you don't need to type the full :u, *pressing* u in normal mode will do it too, and its faster and easier.
    edit 2:
    ok nvm he figured it out at 14:27 good job!
    edit 3:
    at 16:02 you're trying to run a python file from the usual terminal, but you can run terminal commands in vim too by doing ":!python3 {filename}" after saving the file with ":w"
    edit 4:
    oh nvm he figured it out at 21:40 good job bog!

  • @not_eagleye
    @not_eagleye 17 днів тому +1

    yay new bog video

  • @iyyov7253
    @iyyov7253 17 днів тому

    When we needed him the most, he showed up.

  • @Illogical.
    @Illogical. 10 днів тому

    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.

  • @AhmadMughal1
    @AhmadMughal1 17 днів тому

    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.

  • @jkl.project
    @jkl.project 17 днів тому +2

    I think we all knew this video was gonna be here eventually

  • @scritch9549
    @scritch9549 10 днів тому

    vim takes some time to get used to, but soo nice to write in when you use it daily

  • @smort123
    @smort123 17 днів тому

    "Lets do an animation!"
    Me: "That sounds like a job for Manim."
    Lo and behold, Bog is a fellow Manim enjoyer.

  • @kn4ughty
    @kn4ughty 17 днів тому

    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)

  • @babybadger1563
    @babybadger1563 16 днів тому

    Any new vim user should go through the vim tutor first to get the hang of things, then dive deeper. Nice video btw.

  • @aV5d9nlUBQ9
    @aV5d9nlUBQ9 17 днів тому +2

    I freaking knew this was coming