Vim: Tutorial on Editing, Navigation, and File Management (2018)

Поделиться
HTML-код
  • Опубликовано: 26 июн 2024
  • How to efficiently edit, navigate, and manage files in Vim! This talk will provide a basic overview on how you can begin to start using Vim like a pro 😎 without any plugins involved!
    This is a talk I gave on using Vim effectively designed for users of all experience levels. Unlike most talks on the same topic, this talk has been made to be as interactive and visual as possible to allow for a more seamless learning process.
    Every topic and demo is outlined below:
    0:00 Intro
    3:29 Why Vim?
    7:00 Demo 1 - Impractical Vim Usage
    9:10 Operators, Text Objects, Motions
    12:44 Demo 2 - Practical Vim Usage with Operators, Text Objects, Motions
    14:52 Advanced Navigation
    15:55 Advanced Navigation - Scrolling and Other Motions
    16:48 Advanced Navigation - Editing
    17:36 Advanced Navigation - Searching
    18:04 Advanced Navigation - Marks
    18:41 Advanced Navigation - Tags
    19:15 Advanced Navigation - Jumplist / Changelist
    20:22 Demo 3 - Practical Vim Usage with Advanced Navigation
    29:32 Project Management
    30:50 Project Management - Buffers
    32:28 Project Management - Windows
    33:02 Project Management - Tabs
    34:06 Demo 4 - Practical Vim Usage with Project Management (Vim as an IDE)
    43:36 Clipboard Synchronization
    48:17 Hotkeys + Misc.
    50:05 Screen Multiplexing (tmux)
    51:27 Answer to Important Question
    52:14 Brief Touch on Abduco + Dvtm as a Tmux Alternative
    52:51 Questions
    Contact Me:
    / leerenchang
    / leerenchang
    / leeren
    Subscribe: / leerenchang

Комментарии • 408

  • @leeren_
    @leeren_  3 года назад +11

    Hi everyone - remember to visit my community channel to give me suggestions on new videos to do and to stay up to date with everything that i'm working on: ruclips.net/user/LeerenTalkscommunity

  • @inspirated
    @inspirated 4 года назад +17

    I have been a vim user for more than a decade and a half and I was still blown away by this talk. Very organized, visual. From now on, this is my goto recommendation for all the newcomers to vim.

    • @leeren_
      @leeren_  4 года назад +2

      Thank you so much! New one shortly

  • @Soulthym
    @Soulthym 5 лет назад +80

    I'm only 18minutes in the talk and I already have enough information to improve my vim skills significantly and have learned ~20 new things!
    That's just awesome, I can't wait to put it all these into action!

    • @leeren_
      @leeren_  5 лет назад +3

      That's great to hear! Have fun!

    • @dungkieu3669
      @dungkieu3669 4 года назад +2

      @@leeren_ Could you please also share Slide for this talk? Thank you very much!

  • @ackmandesu8538
    @ackmandesu8538 5 лет назад +167

    One of the best Vim talks I've seen. Lots of content, lots of new things. That part with the arguments, splits, quickfix, diffs... I'll try to practice it and implement it into my workflow.

    • @leeren_
      @leeren_  5 лет назад +5

      Thank you so much!

    • @ultimas20
      @ultimas20 5 лет назад +6

      DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU DESU

    • @michajurczuk6265
      @michajurczuk6265 5 лет назад +1

      @@ultimas20 ha ha ha

    • @francescominnocci
      @francescominnocci 4 года назад

      @AckmanDESU I agree!
      ~written with wasavi chrome vim editor

  • @sightf2
    @sightf2 5 лет назад +24

    This is the video people need to see after vimtutor. Makes the 'why' of using vim much more clear.

  • @MyPhuckDub
    @MyPhuckDub Год назад +1

    People are recommending your video, good job!

  • @MauricePoos
    @MauricePoos 4 года назад +1

    This presentation should be marked read only and mandatory, never to be removed by anyone and to be viewed by everyone even thinking about touching a computer beyond watching RUclips.
    Thank you!

    • @leeren_
      @leeren_  4 года назад

      Thank you for the kind words!

  • @leeren_
    @leeren_  4 года назад +31

    Hi all, I've started to prepare for a talk on OAuth that will ideally be as visual, hands-on, and comprehensive as this one. I want to thank everyone for the wonderful praise and feedback this video received.
    But more importantly, what other software-related topics would you want to be covered? Be as general or as specific as you'd like. Let me know by replying to this comment!

    • @DannyPhantumm
      @DannyPhantumm 4 года назад

      Hi Leeren, this was a great talk. I've used vim for years and have never heard of many of the things you've mentioned here. Is there anyway you could post the slides?
      Also, for your question.. a software-related topic I'd be interested in is parallelization. Which types of programs are good candidates for parallelization? How would one go about parallelizing code with either python, javascript, etc. (whichever language you're most comfortable in)?

    • @leeren_
      @leeren_  4 года назад +3

      ​@@DannyPhantumm​
      Apologies but the slides are no longer with me. My next Vim talk will definitely include them.
      Parallelization and multithreading is a great topic. I'll definitely put that down for the future. Exploring differences between Go, Javascript, and Python and the differences between how they tackle concurrency and parallelism is something that needs way more coverage. E.g. for concurrency, how does Node.js' Event Loop (based on the Reactor pattern) differ from Go's goroutines (based on Communicating Sequential Processes) or Python's greenlets? And under what context is parallelism beneficial, how do you use it effectively, and to what degree can it be useful (i.e. Ahmdal's law)?
      Thanks for the excellent suggestion. As a backend focused person, these are all problems I wish there were more visual resources for. I'll give it a shot in the future.

    • @asdfkjhlk34
      @asdfkjhlk34 4 года назад

      All i have to say is yes

    • @morphomorph4923
      @morphomorph4923 3 года назад +1

      I would really like a talk in your style about git. Before I saw this talk I was using Vim totally wrong, and now I feel like I'm doing the same thing with git. Might be a bit too entry-level of a subject though, idk.

    • @leeren_
      @leeren_  3 года назад

      @@morphomorph4923 What do you think you're doing wrong with git?

  • @videogamesare1
    @videogamesare1 5 лет назад +8

    Halfway thorough and I've found this immensely, immensely helpful....thank you dawg

    • @leeren_
      @leeren_  5 лет назад +1

      No problem. Glad it helped!

  • @d3javu1978
    @d3javu1978 2 года назад

    ive been using vim for 7 years, hands down this video is so awesome! thanks for all the time savings!

  • @Naton
    @Naton 5 лет назад +7

    this vim talk is insane. it's crazy

  • @aidancollins1591
    @aidancollins1591 4 года назад +5

    Incredible! It's always entertaining to see Vim functionality that I was unaware of, it's a gift that keeps on giving! Good job Leeren

    • @leeren_
      @leeren_  4 года назад +1

      Thank you Aidan!

  • @jettlaggg
    @jettlaggg 2 года назад

    I'm so glad this popped out from my feed and I cared enough to click it! Having learned the basics from vimtutor this year and have transitioned to vim from vscode, I thought I already knew enough. This was so inspiring in many ways and made me want to trim down and rethink again some of the plugins I've installed haha. Thank you so much!

  • @hudatolah
    @hudatolah 5 лет назад +20

    Wow! Impressive. I've been using vi over 20 years and I still learned a lot from your presentation. Ping me if you come to Austin one day. I'll buy you lunch!

    • @leeren_
      @leeren_  5 лет назад +4

      Thanks! I'll keep that offer in mind if I ever come.

  • @sethbrown1763
    @sethbrown1763 10 месяцев назад

    I loved the "But that's it, thanks!" Cleanest end ever :)

  • @SuperMegaDima
    @SuperMegaDima 4 года назад +4

    This one talk answered huge amount of my open questions about vim. Thank you so much!

    • @leeren_
      @leeren_  3 года назад

      I wonder if other talks helped you as well! Let me know!

  • @NickMaxwell
    @NickMaxwell 3 года назад +1

    This is one of the best... maybe THE best Vim vid I've seen. Huge thanks for this.

  • @chromosoulmagic
    @chromosoulmagic 4 года назад +2

    This is the vim workflow video. My brain has been begging for it. Great job.

    • @leeren_
      @leeren_  4 года назад

      Thanks - keep that brain begging!

  • @paterson.
    @paterson. Год назад

    That was so cool. I've been looking for exactly something like this, a demo video of using Vim in an actual (well not really actual) project, and couldn't find one. I'm glad I found it finally! Thank you so much Leeren!

  • @jasonxoc
    @jasonxoc 5 лет назад +10

    Just when I thought I was getting good with vim I see this dude and realize why I love vim... no bottom of the pool. I've never thought this before but I just want to watch you code for a day.

    • @leeren_
      @leeren_  4 года назад

      Thanks! Stay tuned!

  • @RalphKoettlitz
    @RalphKoettlitz 3 года назад +1

    This is a condensed, concept orientated and practical tutorial. Thank you.

    • @leeren_
      @leeren_  2 года назад

      Thank you for watching!

  • @saintbenedictscholacantorum
    @saintbenedictscholacantorum 4 года назад +2

    Fantastic, well-organized and engaging talk, that taught me more vim features than any other tutorial of similar length, and inspired me to actually go out and use them.

    • @leeren_
      @leeren_  4 года назад

      Thank you so much!

  • @giftedoneaz
    @giftedoneaz 5 лет назад +2

    Amazing talk. I’ve been using Vim on and off for 15 years and learned a lot. Need to watch it a second time and take notes this time.

    • @leeren_
      @leeren_  5 лет назад

      That's great to hear!

  • @jbyork
    @jbyork 4 года назад

    I've used vim for many, many years and I learned a ton of stuff! Thanks for posting this!

    • @leeren_
      @leeren_  4 года назад

      Thanks you for watching!

  • @axelsalazar2824
    @axelsalazar2824 Год назад

    I thought I was an intermediate user but this talk have taught me that I still have to learn a lot of things, great talk!

  • @travisireland7276
    @travisireland7276 2 года назад +1

    I'm trying to build a zettelkasten based around Vim and Ctags.
    Going back and trying to understand Vim a little more, this is still essentially the very best tutorial after Vimtutor.
    Super grateful to you for making these Vim videos.

    • @leeren_
      @leeren_  2 года назад

      Thank you! Hope that goes well!

  • @travisireland8591
    @travisireland8591 11 месяцев назад

    This is great because now I know what to look for in the documentation. This talk is going to take me through my first web development project. Thank you for this.

  • @RogerBarraud
    @RogerBarraud 4 года назад +2

    I like the way Leeren gives a good and humble motivation up front.
    As a probably-not-really-RockStar-programmer, I appreciate all the help I can get :-)

    • @leeren_
      @leeren_  4 года назад

      Everyone starts with humble beginnings!

  • @seungjinkim8860
    @seungjinkim8860 4 года назад +3

    Best video I've seen about vim. Looking forward to more content in the future. Thanks for the timestamps.

    • @leeren_
      @leeren_  4 года назад

      Thank you man! Content will be coming out soon! ;)

  • @squintygreeneyes
    @squintygreeneyes 5 лет назад

    only 3:50mins in and already know i’m upvote this talk. vim is the ~hit

  • @notlessgrossman163
    @notlessgrossman163 3 года назад

    This is awesome, i saved this video to rewatch again and again.

    • @leeren_
      @leeren_  3 года назад

      Great to hear! I hope you learned a bunch.

  • @anuragbisht1200
    @anuragbisht1200 Год назад

    the best talk on vim !

  • @juliejones8785
    @juliejones8785 4 года назад +6

    Good information. I've been using vi for more than 30 years and I still learned something. A side note: vi is pronounced VEE-EYE. That is how Bill Joy pronounced it when he wrote it. That also applies to all the two letter Unix commands (EE-EX, EL-ES, DEE-EF, DEE-YU, etc.)

    • @leeren_
      @leeren_  4 года назад +1

      Wow, I didn't know that! Great to know.

    • @stevealdrich2472
      @stevealdrich2472 4 года назад +1

      ...and then you can say , "I fly vi"

  • @arthurchia2828
    @arthurchia2828 4 года назад +1

    Very good talk.
    This video actually did widen my knowledge on using Vim.
    Worth to spend a hour to finish this video.

    • @leeren_
      @leeren_  4 года назад

      Thank you for the support!

  • @SusanAmberBruce
    @SusanAmberBruce 4 года назад +1

    Wow, and again I say Wow! I have seen some tutorials on Utube about using Vim and I now know that they were given by people who didn't really know how to use Vim.

    • @leeren_
      @leeren_  3 года назад +1

      thank you very much!

  • @xialiangdou3229
    @xialiangdou3229 4 года назад +2

    Best Vim intro I’ve ever watched.

    • @xialiangdou3229
      @xialiangdou3229 4 года назад

      @@leerenchang8408 I would say some basic but generally useful vim config and cool tricks about macros.

    • @leeren_
      @leeren_  3 года назад

      Curious how you enjoyed other talks?

  • @lpanebr
    @lpanebr 4 года назад

    This presentation is mind blowing. I just hope I live long enough to learn all this!

    • @leeren_
      @leeren_  4 года назад +1

      Thank you - you just gotta live long enough to watch the whole video!

  • @goonman1255
    @goonman1255 3 года назад +1

    Best vim talk I've ever seen, killing it dude!

    • @leeren_
      @leeren_  3 года назад +1

      Thanks man!

  • @musthavechannel5262
    @musthavechannel5262 Год назад

    Great talk man. Completely to the point and no unfunny self-deprecating jokes. Well done.

    • @leeren_
      @leeren_  Год назад

      can't tell if sarcasm or not lol

    • @musthavechannel5262
      @musthavechannel5262 Год назад

      @@leeren_ Nooo, really meant it. Seriously great talk.

  • @Geolimber
    @Geolimber 4 года назад

    Great screencast. Start watching for tmux, and then realize that got a lot of vim usefull tips. Thank's for real life examples

    • @leeren_
      @leeren_  4 года назад +1

      No problem, thanks!

  • @Olivier1
    @Olivier1 5 лет назад

    Outstanding material! Thanks for sharing!

    • @leeren_
      @leeren_  5 лет назад

      No problem, thanks for watching!

  • @weijiang4243
    @weijiang4243 4 года назад

    Best Vim presentation ever !

  • @funnybunnysunny
    @funnybunnysunny 4 года назад +3

    This is an awesome video! Thank you Leeren.

    • @leeren_
      @leeren_  3 года назад

      Would love to know how your vim learning journey has progressed!

  • @diegorodriguezv
    @diegorodriguezv 4 года назад

    I have spent 3 days watching this with a vim window by the side and haven't been able to advance past the 20 minute mark. Every minute or so, I have to try the example he gives, open the vim help, lookup what I don't understand and find a lot of related things. I'm learning a lot. Thank you very much!

    • @leeren_
      @leeren_  4 года назад

      Thank you for the dedication in learning!

  • @srinivaspithani7645
    @srinivaspithani7645 4 года назад +2

    What a talk ... thanks for sharing this great content ...

  • @birdfacemd
    @birdfacemd 2 года назад

    Not even 10 minutes in and I find out you can open multiple files at once. Going to read over the command options after this for sure haha

  • @rodelias9378
    @rodelias9378 3 года назад +1

    Powerful talk. Thanks man!!

    • @leeren_
      @leeren_  3 года назад

      Thank you for watching!

  • @arnoldwolfstein
    @arnoldwolfstein 4 года назад +1

    Best vim python video out there.

    • @leeren_
      @leeren_  4 года назад

      Thanks! ]m is the best

  • @ramit7
    @ramit7 23 дня назад

    this is ust too poetically beautiful!

  • @yvonh
    @yvonh 4 года назад

    rarely have I been impressed by a talk but this one really does, a pity so few people in the audience, I learnt great vim stuffs, it will take me years to master

    • @leeren_
      @leeren_  4 года назад

      It's a never-ending journey, but a fruitful one

  • @AlexanderBuggeStage
    @AlexanderBuggeStage Год назад

    Clipboard thing is the greatest thing I have ever seen

  • @mohamedaminebenmabrouk
    @mohamedaminebenmabrouk 5 лет назад +7

    One of the best Vim Talks. Thank you so much ^_^

  • @eq716
    @eq716 4 года назад +3

    Brilliant! Thank you a lot!

    • @leeren_
      @leeren_  4 года назад

      Thanks for watching!

  • @Jenusx
    @Jenusx 3 года назад +1

    Thank you for the great video. Makes Vim to be lovable.

    • @leeren_
      @leeren_  3 года назад

      I'm really glad you enjoyed it! Thank you!

  • @esko1one
    @esko1one 4 года назад +3

    here i am, thinknig im getting better with vim, only to realize i didnt even start using vim for real outside of a few keystrokes and hjkl :D good talk, an lots of information i need to dig. thanks!

  • @edgecrush3r
    @edgecrush3r 4 года назад

    Cool.. I haved used VIM for many years, but didnt know half the stuff of this talk. Realy awesome. I will start use VIM for more usecases now. I used 'screen' as lightweight alternative to tmux. very easy to use.

    • @leeren_
      @leeren_  4 года назад

      Thanks for tuning in! Yeah, I checked out both screen and tmux prior to this - definitely miss the window management capabilities they provided. But for now, going to stick with abduco (session-management only) + native-vim window management.

  • @BenKoren
    @BenKoren 4 года назад +2

    Great work here. Keep it up, Leeren.

    • @leeren_
      @leeren_  4 года назад +1

      Thanks Ben!

  • @qu4ku
    @qu4ku Год назад

    mint-quality content. thanks to the author.

  • @junuhunuproductions
    @junuhunuproductions 4 года назад

    This is GOLD!!!!!

  • @Chris-kt9vr
    @Chris-kt9vr 3 года назад +1

    Great talk! I learned a lot

    • @leeren_
      @leeren_  2 года назад +1

      Thanks a lot!

  • @vegan.polymath
    @vegan.polymath Год назад

    Nice video, thank you, I like vim! First time it's difficult to use, learn the commands, but later it will be enjoyable :))

  • @ivanovmg
    @ivanovmg 5 лет назад +1

    Amazing talk! I learnt something new. Thank you very much! I am looking forward to seeing your further talks on vim.

    • @leerenchang811
      @leerenchang811 5 лет назад

      Thanks!

    • @leeren_
      @leeren_  3 года назад

      How have you enjoyed future talks?

    • @ivanovmg
      @ivanovmg 3 года назад

      @@leeren_ absolutely! Your videos on vim are very inspiring. Thank you!

  • @dubbeltumme
    @dubbeltumme 5 лет назад +1

    wow. so much good stuff here. I have been a sublime (with vintage/vi-navigation) user for years. But this talk seriously made me consider going all in vim. The thing that have been holding me back the most is sublimes excellent project management. And I thought the only way to get close with vim was to use tmux (which i don't want to use), your explanation of buffers/windows/jumplist changed that opinion.

    • @leeren_
      @leeren_  5 лет назад

      Yeah, I used to thing tmux was a requirement for that too! On the other hand, you still need some tool for session management. Vim's session manager is lacking in many ways.

  • @lukezhang3908
    @lukezhang3908 4 года назад +1

    Super informative video. Would love to see more videos like this.

  • @oliverwolfson
    @oliverwolfson 2 года назад

    Superb. Deep dive into Vim.

  • @danpedder3916
    @danpedder3916 4 года назад +1

    Awesome talk! Thanks.

    • @leeren_
      @leeren_  3 года назад

      Thanks for watching!

  • @sorachii8932
    @sorachii8932 4 года назад

    Wow. Awesome talk. Keep it up man!

    • @leeren_
      @leeren_  4 года назад

      Thanks man, I promise I will!

  • @brambeer5591
    @brambeer5591 4 года назад

    Thanks for this content, this is a really good talk!

  • @yrs207
    @yrs207 10 месяцев назад

    After using vim for a few years, I have to revisit this video yearly to refresh my basics in case I can pick up some cool things I always forgot to use 😅

  • @mpwsh
    @mpwsh 5 лет назад

    great talk! thank you for sharing

  • @MrUbecom
    @MrUbecom 4 года назад +1

    Thank you very much for your great talk

    • @leeren_
      @leeren_  4 года назад

      Thank you for watching!

  • @justinwong4149
    @justinwong4149 3 года назад +2

    this guy is a legend

  • @zhenghongjiang5862
    @zhenghongjiang5862 4 года назад

    crazy topic!awesome!

  • @kishan5481
    @kishan5481 4 года назад +2

    generally do not see videos more than 30mints thought of to see only10mins. dint know when that 10mints got over, just blown away..
    One more thing i learnt vim is a ocean.

    • @leeren_
      @leeren_  4 года назад

      thanks so much!

  • @MrPesi-wd2jg
    @MrPesi-wd2jg 5 лет назад +1

    Awesome, great Content.

  • @wuhanyu193
    @wuhanyu193 2 года назад

    Found many many useful vim commands here, definitely should make a vim cheat sheet out of this video!

  • @sulaimangari2745
    @sulaimangari2745 4 года назад +1

    awesome talk, make me want to use vim again

    • @leeren_
      @leeren_  4 года назад

      Thanks, use it!

  • @nikolica9999
    @nikolica9999 5 лет назад +1

    This talk was so awesome! :) Maybe you should consider to have your own screencast series!

    • @leeren_
      @leeren_  5 лет назад

      Thanks, I definitely am

  • @Latofficial
    @Latofficial Год назад

    1. Модуль г продвижение тур продукта
    2. Позиционирование
    3. Конкуренты
    Целевая аудитория и ядро целевой аудитории
    4. Конкурентные преимущества
    5. Уникальность
    6. План график продвижения
    7. Маркетинговые инструменты
    8. Этапы реализации
    9. Актуальные источники 🎉
    10. Спасибо за внимание

  • @avineakduwal1518
    @avineakduwal1518 4 года назад +1

    The information is so compressed and practical. For some place I had to pause n replay. It would be great if there is articles with extra information. Thank you

    • @leeren_
      @leeren_  4 года назад

      Yeah, the idea was to make this a super information-dense overview that could appeal to all audiences

  • @idhamhafidz
    @idhamhafidz 4 года назад

    I've just realized, I only use like only 20% if what you know. Thank you for the video. I learn a lot

    • @leeren_
      @leeren_  4 года назад

      That's great to hear!

  • @aviderambo
    @aviderambo 5 лет назад +3

    Legend
    Thanks!

    • @leeren_
      @leeren_  5 лет назад

      Glad I could help!

  • @tsnp423
    @tsnp423 4 года назад +1

    I learnt a lot from you, thanks :)

    • @leeren_
      @leeren_  4 года назад

      Thanks for tuning in!

  • @tractatusviii7465
    @tractatusviii7465 5 лет назад

    Very lucid slides design. Well done, dude!

    • @leeren_
      @leeren_  5 лет назад

      Thank you!

    • @tractatusviii7465
      @tractatusviii7465 4 года назад

      Hey@@leeren_, what is the addon/program you use to display the last few keystrokes [in the normal mode only?🤔]?

  • @johnlewis7736
    @johnlewis7736 3 года назад

    Awesome!

  • @it89
    @it89 4 года назад

    If only there was someone with a fantastic video explaining cool features of vim. Well guess what, there's Leeren.

    • @leeren_
      @leeren_  4 года назад

      Thanks, a new one will be out within 6 hours ;)

  • @indycinema
    @indycinema 4 года назад +1

    It really must be said again. This talk is pure VIM bad-assery. More deep dig talks from all developers would be so useful. The basics are out there.

    • @leeren_
      @leeren_  4 года назад

      Thanks so much! Yeah, I'm hoping to do this type of deep-dive for an array of different topics in the future

  • @geewiz70
    @geewiz70 5 лет назад +2

    "Guess I won't learn much from a vim intro talk." Wrong! I learned how to give a great talk. Well-done slides, great pacing, smooth flow.

    • @leeren_
      @leeren_  5 лет назад

      Thanks! Glad it helped! More will come soon.

  • @assilksiksi
    @assilksiksi 5 лет назад +3

    Dude, I love your teaching style! Excellent lecture.

    • @leeren_
      @leeren_  5 лет назад

      Thanks man

    • @leeren_
      @leeren_  5 лет назад +1

      Appreciate it! Will be doing another one soon.

  • @homelessnerd2454
    @homelessnerd2454 5 лет назад +1

    Nice talk. I pretty much do what you say beginners do so hopefully after this i will start speed things up. Speaking of that, would be fun to see how fast you actually work when not explaning stuff :)

    • @leerenchang811
      @leerenchang811 5 лет назад

      Glad this can help! Yes, maybe I'll do a screencast.

    • @leeren_
      @leeren_  3 года назад

      Used my wrong account for replying to this. Commenting again to make sure I've responded to everyone!
      Are you still using Vim?

  • @raiyanreza9764
    @raiyanreza9764 3 года назад +1

    Dude, great stuff, rich in content, loved it!
    BTW, was wondering if you could also share the PowerPoint?

  • @senjuchidori9448
    @senjuchidori9448 4 года назад

    Bro you are a GOD to Vim, I am so lucky RUclips recommend this video to me, Grabe mind blowing, I relied to much to vim cuztom plugins, but, all your commands were sync into my head, I forgot it's 6am in the morning. wala pakoi tulog sukad gahapon, na buang na.

    • @leeren_
      @leeren_  4 года назад +1

      Thank you stay tuned! More commands will come your way

    • @senjuchidori9448
      @senjuchidori9448 4 года назад

      @@leeren_ thanks bro very much excited :) - could you also create a demo on how to create a vim script to do some automation to make our vimrc file not being so bloated so we dont have to call every plugin all at once, only the ones that are need, I recently created mine here, it worked, but I know this is a very childish way of ceating such script but it worked hehe!, hope you have a better suggestion here.
      function! ScrollStop(key)
      if &buftype !=# "terminal"
      execute 'normal! ' . nr2char(and(char2nr(a:w), "0b0011111"))
      endif
      endfunction
      function! Fred()
      :cd ~/
      :r!touch .bashrc
      :e .bashrc
      :w
      :r!source ~/.bashrc
      :bd
      :cd /c/wamp64/www/devs
      :e.
      :set modifiable
      " :bo 50sp +term
      " nnoremap :call ScrollStop('w')
      endfunction
      function! Cb()
      call append(1, "function wamp {")
      call append(2, " cd /c/wamp64/www/devs")
      call append(3, "}")
      endfunction
      autocmd BufReadPre .bashrc call Cb()
      function! XwwPath()
      :cd ~/
      :r!rm .bashrc
      :qall
      endfunction
      nmap ,ql :call XwwPath()
      function! WwwPath()
      :call Fred()
      endfunction
      nmap ,www :call WwwPath()
      function! Ee()
      :e.
      endfunction
      nnoremap x :call Ee()
      nmap ,vim :find ~/.vim/vimrc
      nmap ,bash :edit ~/.bashrc
      My goal here is that every time I open my development path, I would call a function to create a .bashrc file and so when I use :term it opens a terminal that is .git-bash since I am using gitbash for vim as my main text editor, by the way I'm on a Windows machine, so ok the main goal here is that it would create a .bashrc file every time I get to my dev path and when not in use it will delete my .bashrc file if I am done with all my task - so it's simply a script that would create and delete when in use and when not in use.
      It would be very awesome if I know how to call a plugin form a folder which I already downloaded and have it transfered to my bundle folder when in use and when not in use it would revert or transfer it back where it the plugin folder was called, I am doing this to have my vim editor run fast cause, vimrc are usually bloated because of alot of plugins being used, and only 10% of them is being applied for a certain project :)

  • @gubasso
    @gubasso 5 лет назад +10

    One of the bests (if not THE best) vim talks ever! Congratulations! Can you share your .vimrc (and other dotfiles)?

    • @leeren_
      @leeren_  5 лет назад +5

      I'll make sure to include a link to it for my next talk. I've recently completely cleaned it out and am working on a re-polished version.

  • @chris-ew9wl
    @chris-ew9wl 4 года назад

    There are so many things I've learned from this talk, and as @Jason Cox and @Leeren said, vim is just an impossible learning curve 🤣. OSC 52 is crazy, terminal emulators should add support to it for out of the box clipboard syncing. I've been pampered by plugins throughout my vim journey, and this talk taught me how wrong I was. I use FZF for finding and opening files, but now I realize vim's built-in, find, sf, gf are as powerful if not more.
    @Leeren, I hope you produce more videos like this. This was really eye-opening.

    • @chris-ew9wl
      @chris-ew9wl 4 года назад

      Side note: I actually watched this video three times already, I was making sure I didn't miss anything. 😁 I've been using vim for about 3 to 4 years now.

    • @leeren_
      @leeren_  4 года назад +1

      Thank you very much! Your comment is super motivating. Am working on one right now on OAuth / JWTs

    • @leeren_
      @leeren_  4 года назад

      @@chris-ew9wl Hell yeah!

  • @zbjz
    @zbjz 2 года назад +1

    Someone give this poor man a glass of water

    • @zbjz
      @zbjz 2 года назад

      24:15 legend

    • @leeren_
      @leeren_  2 года назад +1

      I was dying

  • @sarangpramod1413
    @sarangpramod1413 5 лет назад +2

    Great content! Would love timestamps in the description for future references.

    • @leeren_
      @leeren_  5 лет назад +1

      Great idea! I'll add that

    • @leeren_
      @leeren_  5 лет назад +1

      Finally added them.

  • @BowserMax
    @BowserMax 4 года назад

    Really great video. Full of information and no bullshit. I understand from the comments that there are no slides or notes to be found. Does anyone have them? If not, I could write them and publish them.

    • @leeren_
      @leeren_  4 года назад

      No bullshit is definitely my style. That'd be great! All my future videos will have slides attached to make sure this issue doesn't come up again

  • @tonyjames1980
    @tonyjames1980 5 лет назад +9

    Only 20K views for this excellent talk?
    By the end of this talk defenitely, you will become an expert!

  • @toomasvendelin
    @toomasvendelin 4 года назад +3

    The talk is very good. Maybe too good for a talk, because it is so densely packed with content. I feel I'll be using it for a reference for a while. Any plans for setting up a small web site? Or vim key mappings for moving around in a RUclips video? :)
    Ah, wait, there's a list of contents hidden in the description!

    • @leeren_
      @leeren_  4 года назад +2

      I have plans for a lot of educational content delivered in the same way. I've been terrible at making myself get started again, but the drive is there and it will happen soon. The next video will probably be something not vim-related. I'm leaning towards security topics right now

  • @forsh2966
    @forsh2966 3 года назад +1

    i use vim for 2 month and I didn't know about that gf things LOL
    maybe I should start vim again and break for a couple of days using nvim.
    thank you for the lecture bro

    • @leeren_
      @leeren_  3 года назад

      When you're starting off I don't even think you'll notice the difference! NeoVim is great