Vim Motions & Tricks I Wish I Learned Sooner

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 199

  • @henrymisc
    @henrymisc  4 หลายเดือนก่อน +24

    The tool I'm using to show the keystrokes isn't the best - sorry about that. I'll look into other options for my next video. If you have any recommendations for a better one, please let me know!

    • @elalitte2
      @elalitte2 4 หลายเดือนก่อน +4

      keycastr is quite nice

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +1

      @@elalitte2 Definitely looks like an upgrade - thanks :)

    • @PaulPandi69420
      @PaulPandi69420 4 หลายเดือนก่อน

      Screenkey a better one

  • @kiuri.
    @kiuri. 4 หลายเดือนก่อน +117

    Usually when I watch these videos I tend to see the same tips over and over, that seem more tailored to absolute beginners than frequent vim users. Not this one though, this was great and concise and taught me a few things I did not know. Thank you!

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +4

      Thank you so much! I'm really glad to hear that the video brought something new to the table for you. Appreciate your kind words and thanks for watching!

    • @ukpkmkk8409
      @ukpkmkk8409 4 หลายเดือนก่อน +3

      totally agree, only see this vids for like 2 minutes, scoll down to comment section see someone has the same thoughts like me

    • @JefCollier
      @JefCollier 3 หลายเดือนก่อน +2

      Count me in too! Even if a vid shows me something I know, it's validating because the vimJourney is so personal that we get stuck using something just because we didn't know of another way.
      I learned a few new things here and my usage of Shift+J has been validated.

  • @vaisakh_km
    @vaisakh_km 4 หลายเดือนก่อน +34

    How many years of using vim, still i had things to learn... wow
    vib is a game changer

    • @tariqbaater
      @tariqbaater 2 หลายเดือนก่อน +1

      vim motions are easier if you translate them in your head, e.g for vib you should say it befor typing the motions.. copy inside brackets (v i b) , copy inside function (v i f), change inside quotes (c i ' ) ..etc. The motions are limited to your imagination

  • @jjh2811
    @jjh2811 3 หลายเดือนก่อน +4

    Just found out the line joining feature has an advantage beyond what you've shown. When combining two lines that included indent spaces, I always got frustrated because I had to delete the spaces. You can't imagine how I felt when I saw that just pressing the J key automatically removed the spaces and combined the lines simply and neatly. Thank you.

  • @no_name4796
    @no_name4796 4 หลายเดือนก่อน +4

    Omg, i used neovim for 2 years and i knew only 2 of the tricks lol
    I love how i still can keep going down VEEERY deep rabbit hole in neovim/vim even after feeling like i learnt everything lol

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +2

      That's the beauty of it IMO :)

    • @no_name4796
      @no_name4796 4 หลายเดือนก่อน +2

      @@henrymisc I 100% agree.
      Also: macros are the funniest feature in neovim. It feels like doing a coding game while coding. It's great!

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +1

      @@no_name4796 Totally! It just makes coding more fun!

  • @Cethris
    @Cethris 4 หลายเดือนก่อน +5

    Thank you! Sessions were completely new to me. I will try to write something that autosaves the current session from time to time and restores it automatically if the file exists. That would be such a lifesaver

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +1

      Thanks so much! Someone on reddit pointed out that there's also a plugin called vim-obsession, which offers a nicer interface for managing sessions, if you're interested in a pre-built solution.

    • @ananyobratapal5521
      @ananyobratapal5521 4 หลายเดือนก่อน

      Also check out persistent.nvim, written in lua by none other than folke ;)

  • @At-Dawn-We-Ride
    @At-Dawn-We-Ride 9 วันที่ผ่านมา

    Learned some new Vim motions again, thank you. The only little nitpick I want to add is that the CTRL-z / fg method to suspend/foreground is not provided by or limited to Vim. It is simply how things work in a terminal session, which makes this feature even more useful.

    • @henrymisc
      @henrymisc  9 วันที่ผ่านมา

      @@At-Dawn-We-Ride True! Thanks for pointing that out.

  • @FalconCodes-dx2nj
    @FalconCodes-dx2nj 4 หลายเดือนก่อน +11

    Been using vim for 3 years and still this video taught me things that I think would've taken me another year to find if I hadn't seen this video. Thanks a lot for vib and viB that's so fast

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +2

      Thanks so much - this makes me really happy! Appreciate you watching!

    • @ahmedjaad4940
      @ahmedjaad4940 3 หลายเดือนก่อน

      @@henrymisc Okay guy this gives me hope, I'm only a few months in my vim journey and I already knew 90% of what it presented here. the i+b and g+x are the only two I learned. @henrymisc is is a great video though

    • @Teslacoil33
      @Teslacoil33 3 หลายเดือนก่อน

      yeah this one is cool. I had just started getting better at targeting the {, [ and ( keys on my keyboard and that will still come in handy when there are lines with different types of parentheses on them, but for all other ones I'm happy to use b and B :)

  • @TheStickofWar
    @TheStickofWar วันที่ผ่านมา

    Been using vim for 7-8 years now but I did not know 3 of the points here. So a like and a subscribe for me since most of what you mentioned isn’t targeted to vim beginners

  • @NathinSpecial
    @NathinSpecial 4 หลายเดือนก่อน +4

    "Jump to a specific line like a prod". We all have this prod PTSD lol.
    Super cool video, learned a few tricks !

  • @sergeykolesnik1171
    @sergeykolesnik1171 3 หลายเดือนก่อน +3

    I noticed you use enter for a new line in insert mode. However, reaching for Enter is painful for your pinky. I use for the new line in insert mode, along with instead of backspace and for deleting the word to to the left. When I learned that I can do that instead of reaching for Enter or Backspace, I felt such a relief. No more pain

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      @@sergeykolesnik1171 That's pretty smart! Is this default behavior or a custom keymap that you set up? I use a split keyboard with enter mapped to my thumb keys though, so for me this is quite comfortable actually :)

    • @sergeykolesnik1171
      @sergeykolesnik1171 3 หลายเดือนก่อน

      @@henrymisc I think it has been default since the first terminals. I try not to do any remapping for default keys

    • @sutirk
      @sutirk 24 วันที่ผ่านมา +1

      Same for as tab. It's just that ctrl+letter sends non-printable control character codes. So ctrl + h, i, j just so happen to send backspace, tab, and line feed, respectively. You can also use instead of enter, since it sends
      The only special case i believe is , which just so happens to be kill-word in both vim insert mode, and the default (emacs) bash bindings

  • @piotrekgebala2524
    @piotrekgebala2524 4 หลายเดือนก่อน

    adding closing tags to the column selection was brilliant. Thanks a lot

  • @maxwebstudio
    @maxwebstudio 3 หลายเดือนก่อน +1

    Nice tips men ! Love the B and shift B for brackets !

  • @TheRich107
    @TheRich107 4 หลายเดือนก่อน +1

    This was a great video, well paced and clear! Please make more!

  • @desuburinga
    @desuburinga 2 วันที่ผ่านมา

    What an awesome video, there are quite a few tricks I didn't know! Liked and subscribed!

    • @henrymisc
      @henrymisc  2 วันที่ผ่านมา

      Awesome, thank you for the sub! :)

  •  4 หลายเดือนก่อน

    Wow! I am totally surprised, I knew some tips, but the ones I didn’t know blew my mind, you have a new subscriber from today, excellent content!

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Awesome! Welcome on board :)

  • @DEVDerr
    @DEVDerr 4 หลายเดือนก่อน +1

    Holy smokes, that was a pure raw good content
    Didn't know about most of these

  • @GavinBogie
    @GavinBogie 4 หลายเดือนก่อน +4

    For toggling case I prefer `vit~`. This also gives you access to `vitU` and `vitu` for uppercase and lowercase respectively.

    • @GavinBogie
      @GavinBogie 4 หลายเดือนก่อน +5

      nvm I just found `guit` and `gUit`... this is epic.

  • @1234minecraft5678
    @1234minecraft5678 4 หลายเดือนก่อน +4

    Nize video, pure gold and interesting motions.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Thanks, glad you liked it :)

  • @Sub0x-x40
    @Sub0x-x40 4 หลายเดือนก่อน +2

    this is actually fire, heaps fo stuff i didnt know

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Glad I could add a few tricks to your arsenal. Thanks for watching :)

  • @khubaib-binehsan
    @khubaib-binehsan 4 หลายเดือนก่อน +1

    1 month into learning vim and already love it. and have known like 12 of them already lmao 😭😭

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      One month in and you're already picking up so much - props to you! Glad I could add the remaining 2 to your arsenal.

  • @teay5767
    @teay5767 4 หลายเดือนก่อน +1

    really useful advice, jump between different files, using '!

  • @theritualeu3443
    @theritualeu3443 หลายเดือนก่อน +1

    This one gave me some serotonin boost :D NICE!

  • @pouyai-t7f
    @pouyai-t7f 4 หลายเดือนก่อน +1

    Fantastic tips, I've forgotten some of these. Thanks.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Glad the tips were helpful - always good to have a little refresher. Appreciate you watching!

  • @jimmyji8339
    @jimmyji8339 หลายเดือนก่อน

    nice content. 2 cents from me. C-Z /fg is actually not Vim function. It’s a Linux feature applied to all cli app. You can also type :terminal to have a seperate cmd window.
    Also, the gx is actually the netrw key mapping, it’s vim defalut folder/file manager . But it’s OK to assume it’s part of the vim .
    Thanks very much for sharing . Keep it coming ❤

    • @henrymisc
      @henrymisc  หลายเดือนก่อน

      You're right - thanks for your comment! :) Didn't know that gx is provided by netrw.

  • @peedrojs7683
    @peedrojs7683 3 หลายเดือนก่อน

    I'm trying neovim for the last 2 months, some of the commands I didn't know.. thank you!

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      You're so welcome! :)

  • @nekoill
    @nekoill 4 หลายเดือนก่อน

    Neovim is just amazing, I've been using it for a little while longer, but I still use almost the bare minimum of basics, but it is still enough to make text editing so much easier and more comfortable.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Couldn't agree more! And sometimes you pick up little tricks here and there that just make our lives so much easier.

  • @nguyenthanh1479
    @nguyenthanh1479 4 หลายเดือนก่อน +1

    Wow, a lot of new things for me. Bravo!

  • @gatogordo4131
    @gatogordo4131 3 หลายเดือนก่อน

    Finally another channel with good neovim content, not just the usual begging stuff, already subscribed

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      Much appreciated! Thanks for your support!

  • @Mcdude22
    @Mcdude22 3 หลายเดือนก่อน

    Man usages of visual block surprised me. Those use cases I absolutely would’ve just done a quick macro on the fly, but in that case visual block is definitely way faster! Big fan

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      Glad I could add it to your toolkit :) Thanks for your support!

    • @byakka
      @byakka 3 หลายเดือนก่อน

      Wait until you see :norm

  • @wojciech-kulik
    @wojciech-kulik 2 หลายเดือนก่อน

    I think that the most useful thing I learned in recent years is: ":norm! ". You can select multiple lines and call a sequence of key strokes on each one.
    Example: select in visual mode a few lines and type: ":norm! 0wiprefix " or ":norm! A // some comment". It works basically like running a macro on each line :).

    • @henrymisc
      @henrymisc  2 หลายเดือนก่อน +1

      Super powerful, thank you for sharing!

  • @gravityshark580
    @gravityshark580 3 หลายเดือนก่อน

    4:41 is not necessarily a 'vim' trick but still extremely useful. i found about it first from a blog about using the unix tools as an IDE itself

    • @53r3
      @53r3 6 วันที่ผ่านมา

      not only that, but after suspending a process with Ctrl+Z you can also resume it in the background by typing `bg` instead of `fg`. You can see currently active jobs by using the `jobs` command. Then you can also bring any job back to the front by using `fg %1`, the argument being the job number you saw in the `jobs` command output.

  • @amateur_hacker
    @amateur_hacker 4 หลายเดือนก่อน +1

    Fantastic job love the neovim tricks 😊.

  • @d7g.x
    @d7g.x 4 หลายเดือนก่อน +5

    you are a saver, keep it going

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Thanks for the encouraging feedback 🫶

  • @salfum7966
    @salfum7966 4 หลายเดือนก่อน +1

    Awesome video, have stuff to learn. Thanks a lot!

  • @raymondkemboi1349
    @raymondkemboi1349 4 หลายเดือนก่อน +1

    Learned a lot. Really cool

  • @anruntxd8711
    @anruntxd8711 4 หลายเดือนก่อน +1

    amazing video, learned a lot from it!

  • @BladeWDR
    @BladeWDR 4 หลายเดือนก่อน +1

    I actually didn't know about the Vim sessions feature, but I prefer the way Harpoon does it.
    That join two lines feature is an oddball one I didn't know about... I can't think of a scenario where I might want to do this? Maybe if I had a long list of something I wanted to make into one line for some reason, it would be easy to write a simple macro using J to do that, but otherwise, drawing a blank.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Harpoon does handle sessions really well! I actually find myself using Join quite a bit. For example, it is handy when I have a list of items on separate lines that I want to quickly turn into function arguments.

  • @fuutek9171
    @fuutek9171 4 หลายเดือนก่อน +2

    this was great!

  • @umka7536
    @umka7536 หลายเดือนก่อน

    Nice one! I did not know the brackets synonyms and g+x for opening the URL.

    • @henrymisc
      @henrymisc  หลายเดือนก่อน

      Glad it was helpful! :)

  • @ErmandDurro
    @ErmandDurro 4 หลายเดือนก่อน +1

    Great content! Thank you 😃

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      My pleasure! :)

  • @riskeys
    @riskeys 2 หลายเดือนก่อน

    Awesome tricks! Learned a lot from this video. Keep it up and share some more, master! 😊

    • @henrymisc
      @henrymisc  2 หลายเดือนก่อน

      Thanks! Will definitely do! :)

  • @Fittiboy
    @Fittiboy 4 หลายเดือนก่อน +5

    Some really cool stuff in there, and I even got to say all the ones I already knew out loud before you could, so I got to feel smart! It's the perfect video format.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +3

      @@Fittiboy Thanks, I appreciate the feedback! I'm considering doing a part 2 :)

  • @nicolaisattler1990
    @nicolaisattler1990 4 หลายเดือนก่อน

    My God, the ctrl-z and fg combination blew my mind haha :D Thanks!

    • @Flackon
      @Flackon 4 หลายเดือนก่อน +4

      That's actually a shell standard, and you can do it with any process!

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      ​@@Flackon To add to that, if you have multiple jobs running in the background, you can check their status with jobs and bring a specific job to the foreground using fg %. For example, fg %2 will bring the second job back. Thought you’d find this tip handy as well! :)

  • @Labib2003
    @Labib2003 2 หลายเดือนก่อน

    This is amazing! Really informative video.

  • @dennistanui7085
    @dennistanui7085 18 วันที่ผ่านมา

    Wow, this was actually informative

  • @mohit84604
    @mohit84604 4 หลายเดือนก่อน +1

    We want to see more tips like that. Can you also make a video on ex commands because primegen uses them a lot

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Great idea! I actually had a much longer list of tips for this video, but I wanted to keep it concise. Thanks to all of you, I've also learned some new tricks, so there's definitely plenty of material for a part 2! :)

  • @121-tech
    @121-tech 4 หลายเดือนก่อน

    For appending to the end of a group of lines you don't have to jump to the end of the lines, shift-A is enough. Same for prepending. Shift-i is enough.
    Both shift I and A will go to start/end of line wherever on the line you are. They are also repeatable with period.
    You don't _have_ to block select either, visual line works as well, in case shift is in a better location than ctrl.

  • @madmaxdev
    @madmaxdev 4 หลายเดือนก่อน +4

    bring more videos like this.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +1

      More Vim and Neovim content is planned :)

  • @chriscastillo8068
    @chriscastillo8068 4 หลายเดือนก่อน +3

    Learned something new. Pretty cool. Thank you.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Happy to hear that! :) Let me know if you have any questions.

    • @chriscastillo8068
      @chriscastillo8068 4 หลายเดือนก่อน

      @@henrymisc What do you use to screen record? I use MacOS and tried OBS but it is not crisp at all.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      @@chriscastillo8068 I'm using Cleanshot X. Would recommend it but features are a bit limited. I want to try OBS at some point.

  • @МихайлоДвалі
    @МихайлоДвалі 4 หลายเดือนก่อน +1

    What a great tips

  • @niza.toshpulatov
    @niza.toshpulatov 4 หลายเดือนก่อน

    The visual block trick is so cool! I always use regexes for the same result 😅

  • @CyperN077
    @CyperN077 4 หลายเดือนก่อน

    Always something to learn. Thanks

  • @Good-and-Geeky
    @Good-and-Geeky 4 หลายเดือนก่อน +2

    All I need now is a way to remember all of these codes 😂

  • @khald0r
    @khald0r 3 หลายเดือนก่อน

    01:00 How to achieve the same for quotes so I can use q instead of " for changing in quotes for example? When I used to have vim extension in vs code, this was on by default.

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน +1

      You could set up a keymap for this. Something like this should work:
      vim.keymap.set('o', 'aq', "a'")
      vim.keymap.set('o', 'iq', "i'")

    • @khald0r
      @khald0r 3 หลายเดือนก่อน

      @@henrymisc It worked! Thanks a lot

  • @lpanebr
    @lpanebr 4 หลายเดือนก่อน

    4:38 the % also jumps opening and closing html tags.

  • @N3krodamus
    @N3krodamus 3 หลายเดือนก่อน

    You got my like Sr. Cheers

  • @yorishinamoku
    @yorishinamoku 4 หลายเดือนก่อน

    OMG, its AMAZING!!!

  • @nikolazivkovic2399
    @nikolazivkovic2399 4 หลายเดือนก่อน +1

    Thanks!

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +1

      Welcome!

  • @keaneplayingmbae2852
    @keaneplayingmbae2852 4 หลายเดือนก่อน

    You deserve more subs😭

  • @curtisnix4967
    @curtisnix4967 หลายเดือนก่อน

    That gg=G command to auto-indent would be amazing to be able to do. Does that require a specific plugin or anything? Or perhaps it only works for specific file types? LSP needed or something?
    I just tried it on yaml files in my work environment, and my personal nvim setup as well, and both just removed indents from all lines. It could be a skill issue on my end, I'll re-evaluate later once I have more time to dig into this.
    Great video by the way. Subscribed.

    • @henrymisc
      @henrymisc  หลายเดือนก่อน

      Interesting! I'm not 100% sure but I think it has to do with Treesitter. I'd try to install the yaml parser with treesitter. I have it in my treesitter config. You can find it in my dotfiles. Link in description. LMK if it helped.

  • @redDuck757
    @redDuck757 4 หลายเดือนก่อน +1

    Cool video. Get some new things. Thanks a lot👍

  • @yanisfourel
    @yanisfourel 3 หลายเดือนก่อน

    4:38 yes you can use `%` to jump between matching parenthesis/brackes/quotes or whatever, but I learnt recently you can also use `])` to jump to the next unmatched (from the current cursor's position) closing parenthesis, of `[[` to go to the previous square bracket.
    So if you have:
    ```
    if (true) {
    int a = 0; //

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      I didn't know that one. Thank you!

  • @sarojregmi200
    @sarojregmi200 4 หลายเดือนก่อน +1

    Great video subscribed

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Thank you :)

  • @mikaay4269
    @mikaay4269 4 หลายเดือนก่อน

    These motions are super useful for German keyboard layouts. I wonder why I go them from you...

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      I'm also German, but I don't use a German keyboard layout. I'm curious - what makes them particularly useful for that layout?

    • @mikaay4269
      @mikaay4269 4 หลายเดือนก่อน

      @@henrymisc due to the german keyboard having the umlaute, it shifts special characters to other keys which then require you to use keys life ctrl shift and alt a lot more than on a us keyboard. secondly, the | characters are between shift and y (shift and z on a us keyboard) which makes typing them super unusual because you either have to press your ring finger and your pinky finger together to to get > or press right shift and the key which just feels unnatural. Most importantly are the brackets, which are shifted around by the umlaute like I mentionned. Especially for languages which use (){}[] heavily, like for example rust, it makes it very annoying to use a german keyboard in general, so any kind of speedup is useful. Essay over

  • @Interyx
    @Interyx 4 หลายเดือนก่อน

    If you need to quickly get into the terminal in Neovim, you don't even have to leave. Just use :term to open a terminal emulator window right in your workspace, run whatever command, and then use :q to exit the buffer.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Good one thx!

  • @nashmcguire5771
    @nashmcguire5771 3 หลายเดือนก่อน

    Premium tips thanks for making this video 🙏🏽

  • @zombineutral
    @zombineutral หลายเดือนก่อน

    If it weren't for Vim's World, I wouldn't even be able to follow this video

  • @devstefancho
    @devstefancho 4 หลายเดือนก่อน

    great work! I just subscribed

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Thank you! Appreciate you watching :)

  • @paolodominguezhurtado7225
    @paolodominguezhurtado7225 4 หลายเดือนก่อน

    Great that this video is getting good views. Thanks I am learning a lot. VIM IDE 🚀

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Thanks so much! I'm glad you find it helpful. It's awesome to see the community enjoying it!

  • @elakstein
    @elakstein 4 หลายเดือนก่อน +2

    Marking with m was something i learnt.
    Also i use ctrl + O
    ctrl + [
    ctrl + t for going through my c code.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Awesome, thanks for sharing!

  • @rendivs
    @rendivs 4 หลายเดือนก่อน

    thanks sir, now i can enjoy my life at 18 years old 😃

  • @BillyBatson-q6v
    @BillyBatson-q6v 3 หลายเดือนก่อน

    The best motion I recently figured out is that in normal mode hit: ''
    This will move you back to the place you jumped from
    (Note: these are two single quotes)
    Overall one of the most powerfull features of vim are marks but i see no one talk about them

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      Wow this is powerful! I used to set marks for this. Thanks!

  • @sarundayo
    @sarundayo 3 หลายเดือนก่อน

    All good just that please specify wether you use lower case or capital letters next time on your key capture software. Confusing to see G when you actually meant g

  • @MrFrancjpd
    @MrFrancjpd 2 หลายเดือนก่อน

    Great tips and motions!,
    Liked & subscribed

    • @henrymisc
      @henrymisc  2 หลายเดือนก่อน

      Thanks, appreciate you watching! :)

  • @mo-dodo4224
    @mo-dodo4224 3 หลายเดือนก่อน

    I really like the theme and thr color pallete what is it and the terminal workflow?

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      I'm using the Nord color scheme everywhere. In my previous video I explain my terminal setup in more detail, maybe you find that interesting. Thanks for watching :)

  • @jansustar4565
    @jansustar4565 3 หลายเดือนก่อน

    Do you have any tips for navigating in insert mode? I find myself just using C-arrows, since it is usually faster than exiting insert mode, navigating and reentering.

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      What is your Esc key? If you haven't done so already, you could consider remapping it to a more convenient location like Caps Lock, for example. Also, did you know you can run Normal mode commands directly from Insert mode with Ctrl+O?

  • @modernkennnern
    @modernkennnern 3 หลายเดือนก่อน

    What I learnt is that the g prefix was for more than just ctrl-a. It seems very powerful

  • @de-is
    @de-is 3 หลายเดือนก่อน

    What is your status-bar theme? Or overall theme if status bar design is part of it. Just starting with Neovim (kickstart) and would like to change "ugly" default status line. Also percentage of progress in file is missing in my config. It it present in vanilla vim. But can't easily find in nvim.

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      @@de-is I'm using Lualine with the Nord theme. You can find the config in my dotfiles repo. Also a video about the entire config is planned. Hope this helps :)

  • @DennisGray-p7f
    @DennisGray-p7f 4 หลายเดือนก่อน

    vib/viB.
    Already a useful video.

  • @user-wr9gz1gr3u
    @user-wr9gz1gr3u 4 หลายเดือนก่อน

    I'm using vim for a year and a half or something and I definitely didn't know about any of these, your videos are great, keep it up.
    But you gotta switch to linux, cmon 😆

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Glad you found it useful :) I have a mac at work and at home, but I've always wanted to dive more into Linux! Might do it eventually.

  • @GonzaloStoll
    @GonzaloStoll 4 หลายเดือนก่อน

    Very nice video, I learned a couple of things! I didn't fully understand how b and B actually work for replacing i( or i{ 🤔 what is the actual meaning of b/B here?

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +1

      They are synonyms basically. The b text object is a synonym for ( and B for {.

    • @GonzaloStoll
      @GonzaloStoll 4 หลายเดือนก่อน

      @@henrymisc huh! You learn every day… thank you m8, keep ‘em videos coming!

  • @cricocrak
    @cricocrak 3 หลายเดือนก่อน

    Can you do a video on how to get your config? Im starting my journey to vim

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      @@cricocrak Of course! I'm planning it for the near future. Have fun learning Vim :)

  • @gjermundification
    @gjermundification 28 วันที่ผ่านมา

    Which part of your config makes formatting of JSON as ggG?

    • @henrymisc
      @henrymisc  28 วันที่ผ่านมา

      It's gg=G and it's just a regular Vim feature to reindent an entire file. No configuration needed :)

  • @thecodealchemist7095
    @thecodealchemist7095 3 หลายเดือนก่อน

    how were you able to give your editor a custom background?

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      I set it transparent in Neovim and set it in WezTerm. I explain it in detail in my video about configuring WezTerm :)

  • @4w0ken
    @4w0ken 19 วันที่ผ่านมา

    geiles video bro. endlich maln deutscher vimmer

    • @henrymisc
      @henrymisc  19 วันที่ผ่านมา +1

      Danke dir! 🤜🤛

  • @blanky_nap
    @blanky_nap 4 หลายเดือนก่อน

    Not bad video, but new already all the features

  • @fabricehategekimana5350
    @fabricehategekimana5350 4 หลายเดือนก่อน

    Nice content ! Suscribed !

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      Thank you, I appreciate you watching :)

  • @lel7531
    @lel7531 4 หลายเดือนก่อน

    Didn't even mention :x which is the better alternative to any of the binds you talked about

    • @FalconCodes-dx2nj
      @FalconCodes-dx2nj 4 หลายเดือนก่อน +1

      I would argue that ZZ and :x are about the same in terms of convienence

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +1

      ​@@FalconCodes-dx2nj I'd agree with this. ZZ and :x are equivalent. ZZ saves a keystroke since you don't need to press Enter. But pressing the same key twice can be slower or less convenient for some. It's great that Vim gives us options, so everyone can choose what feels most natural.

  • @legion_prex3650
    @legion_prex3650 3 หลายเดือนก่อน

    i just realized, that my visual block mode and insert and append doesn't work anymore... somewhere on my way i adjusted my keybindings and i have no idea, what's wrong now.

  • @Fly16
    @Fly16 หลายเดือนก่อน

    what font are you using?

    • @henrymisc
      @henrymisc  หลายเดือนก่อน +1

      JetBrains Mono 🙌

    • @Fly16
      @Fly16 หลายเดือนก่อน

      @@henrymisc aight thanks

  • @martonvalentin7386
    @martonvalentin7386 4 หลายเดือนก่อน +1

    Can u give a link for ur tmux conf?

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน

      You can find it in my dotfiles (link in description). Stay tuned for a future video on it :)

  • @1Q81725
    @1Q81725 3 หลายเดือนก่อน

    Alt the Magic Key need to know earlyer

  • @yanisfourel
    @yanisfourel 3 หลายเดือนก่อน

    2:50 you pressed `jjjjjjjjjj` instead of pressing `G`
    Another way to solve that would be to do `:%s/.*/\0` and enter, I prefer that but it's not objectively better

    • @henrymisc
      @henrymisc  3 หลายเดือนก่อน

      @@yanisfourel Well spotted! Indeed G would be better! I love that substitute command. Thanks for sharing! :)

  • @tinotaylor
    @tinotaylor หลายเดือนก่อน

    nice

  • @lileightright
    @lileightright 4 หลายเดือนก่อน +2

    Very helpful, but please be more careful with the command cases that are shown. For example, you say 'press g,' but it shows a capital 'G,' which can be confusing for people following along.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +2

      @@lileightright Absolutely! Thanks for pointing that out. The tool I'm using isn't the best. I realized that too late. I'll look for another tool next time.

    • @mr_rti
      @mr_rti 4 หลายเดือนก่อน +3

      Shift key is shown when capital letters are pressed btw, but yeah it is a little bit uncomfortable

  • @irfanfauzi8704
    @irfanfauzi8704 4 หลายเดือนก่อน

    capital G is awesome

  • @reatter
    @reatter 4 หลายเดือนก่อน +7

    Sadly I didn't learn something to day.
    Something you might like:
    * and # jump forwards and back to the word under the cursor, with word boundaries, so "word" will only match "word", but not "sword".
    g* and g# also find partial Matches.

    • @henrymisc
      @henrymisc  4 หลายเดือนก่อน +2

      Thanks for watching, and I appreciate the feedback! I'm glad you shared those tips - g* and g# are new to me, so I’ll definitely be trying them out.Thanks again for sharing!

    • @FalconCodes-dx2nj
      @FalconCodes-dx2nj 4 หลายเดือนก่อน

      I felt like I unlocked a superpower when I started using these

  • @gjermundification
    @gjermundification 4 หลายเดือนก่อน

    0:06 Gem ^^

  • @uzumakiuchiha7678
    @uzumakiuchiha7678 4 หลายเดือนก่อน +1

    Noice