Programming with only vim for 30 days

preview_player
Показать описание
Guys, I finally learned how to exit vim! 🧠

#### Links mentioned in video

#### Vim-related videos I recommend

---

### My things

#### Gear
Computer: 14" M1 Pro
Microphone: Blue Yeti

---

#### Chapters
0:00 Intro
0:45 Day 1 - Configuring vim
2:26 Day 2 - Configuring vim
4:27 Week 1
6:18 Week 2
7:20 1 month
8:03 Final thoughts
9:21 Recommendations for new Vim users
10:05 Outro

#### Music
- Baby Keem - BULLIES
- Travis Scott - Drugs you should try it - (p.s., don't do drugs - this song is good)
- Daft Punk - Instant Crush
- Joey Bada$$ - Devastated

Рекомендации по теме
Комментарии
Автор

Him calling Lua 'a really weird scripting language' hurt because it was my first language i learned

pixelstriko
Автор

Setting up theme as a priority task. This man has his priorities straight.

alek
Автор

I switched to using NeoVim a while ago too. Took me a while to even figure out how to use multiple panes, file manager on the side, and quick switching as I would with a dedicated IDE or a Editor like VSCode. Glad that you tried vim for a while before making a judgement.

ujkyujhrbdfgjy
Автор

This was a very interesting video. Though I still see you using the mouse often, and only using the hjkl motions. I think you will see a massive improvement in speed if you learned a few more motions and commands in vim. In my opinion, all these other motions combined is the only reason people say using vim is faster than vscode.
Anyways, I really enjoyed this video and I hope you keep improving at vim!

TheNycRat
Автор

I'm a year into using neovim, wishing you luck! The customization is insane and I love not having to contort my fingers to hold ctrl and use the arrow keys to jump around like I used to need to in SublimeText or VsCode

anarchymatt
Автор

Have you gave relative numbers a try? One of my favourite features of vim is being able to quickly jump between lines. Also the primagen has a pretty nice tutorial series on vim.

AlxFG_
Автор


Great video and hope you enjoy the editor!

AXYGaming
Автор

I stopped trying to configure neovim. I use NvChad as my starter kit and it's so far the most perfect configure of neovim for me. Just a little more plugins and you have a fully blown beastly editor! ❤

emmanuels.emokor
Автор

I'd recommend against tabs. Vim works better with buffers and if you pick a fuzzy finder (fzf, telescope) you can flit between them with ease.

Enjoyed the video though, nice to see you persevere through the tricky bits.

peteryates
Автор

Thanks for this video, it really motivated me into using nvim, and configure it on my own w/o using nvim distros .

lostsoul
Автор

For replacing text you can use visual mode. Select the area press `:` to enter command mode, type `s` for substitution and then '/{ORIGINAL}/{NEW}/g'. You can add this to a key map.

In languages that use curly braces you can go the the start/end of a function by doing `vi{` (visual inside {}) and then pressing `o` to go to the top/bottom.

dakata
Автор

From what I've seen, Vim users don't feel the need to use multi-cursor because you can have similar effects using macros, by doing it on one line then repeating it for the rest

a_commenter
Автор

Type 'cgn' when you have selected something, change the selected text to whatever, hit escape and then repeat using '.'. This is vim's version of multiple cursors without multiple cursors. Yes, I know it isn't a one for one replacement but once you get used to doing it this way you won't regret having it in your arsenal.

catwhisperer
Автор

I would say your biggest mistake was to jump right into configuring vim and adding plugins without learning the vim motions and how the editor actually works. Also, your approach was to make vim look like vscode, which i think is misconception, the way things work in vim are different from vscode, so you should learn to do things on the vim way and after that analise if it's actually worth. By the way, great video.

MisterConscio
Автор

Using neovim as my main (and only) editor for anything I do (c/c++, python, php, js IDE and just plain text/notes) for a year now.

At the begining it was really uncomfortable and frustrating even, but still really interesting. I rewritten my configuration a thousand times, starting from plain init.vim and ending with a whole lua project-like codebase. And I still sometimes tinker with config and plugins.

The only downside is when you start to get comfortable with vim-like keybinds you just can't use anything that don't support h/j/k/l motion binds. These keys just became a part of you soul.

I wish you to have fun using neovim and I wish you to someday find that perfect config that ideally suits you

P.S. Sorry for bad English 😅

strongleongch
Автор

good video
i am also try to use vim and i think for start of vim we should try preconfigured vim like lunarvim
these configured vim so like vs code and help to simulate vs code.then after feeling comfortable with vim motion, we can customize and make own vim with customisation

sinaebr
Автор

Thanks for promoting vim, but the main hurdle for most beginners is that they don't see the value that justifies the time and effort required to configure your personal development environment. It is so so important, before diving into the details of configurations and plugins, to have an appreciation for modal editing in general. That is what Vim brought to the table that is superior to other editors; it's the concept of 'modal editing' and composing simple commands to do complex things. Everyone should first start with the basic Vim tutor and start learning vim itself before diving into the extensions, otherwise you will simply not have the desire required to stick with it. Once you appreciate text objects and composing commands and the power of EX, only then will you be hooked enough to stick with it for the decades to come, which is ultimately how much time you will be spending in the future tweaking everything constantly...

cpakkala
Автор

I'm kind late to the party, but having lunarVim, or AstroVim as preconfiguration for NeoVim helps a lot, NvChad have weird hooks you have to know to configure properly.

SuperSrDan
Автор

I actually switched to nvim, loved it, then switched to helix and I'm all in x3

keokawasaki
Автор

8:30 then again is multicursor what you really want? I believe what you would like is to choose a block of code and do search and replace within this block.

gjermundification
join shbcf.ru