Follow @learnvim for more Vim tips and tricks!
Vim has been my go-to editor for the last 1.5 years, yet I am still learning something new. Recentl...
For further actions, you may consider blocking this person and/or reporting abuse
Also you can use a
[count]
with.
so you can repeat the change[count]
times. See:help .
for more info.Oh yeah, I forgot about
count
. Good call!I'm more a fan of macros and key-bindings for more-common repetitive-tasks (all hail the power of the
.exrc
or.vimrc
!). That said,.
is great for ad hoc stuff.Oh yes, macros. I played with them a bit, but I am not proficient with them yet. Macros are next-level stuff. They are definitely on my list to cover, so stay tuned! But for quick-and-dirty repetitive tasks,
.
is your man!This seems real useful! Interested in what kind of development you do so that Vim is your go to editor?
There's several vim plugins you can use that can turn vim into a near-IDE. So, if your comfort is
vi
(e.g., if you're like me and have been usingvi
- and derivatives - since the late 80s), you can have your proverbial cake and eat it too.And, yes, some IDEs offer the ability to emulate vi/vim syntax, but, sometimes there's holes in those emulations (particularly if you're someone that uses macros and/or key-bindings).
Hey Victor! At work we use VsCode (we also have IntelliJ), but I personally prefer Vim as my personal editor. Even at work, I use IntelliJ and VsCode's vim plugin because I can go near mouse-free.
As for my own personal setup - this is by no means comprehensive - but there are several must-have features that I need to make it my own personal IDE/editor. These are
You can check out my vim dotfiles here.
Some youtube vids I found helpful (I am not associated with any of these):
youtube.com/watch?v=xZTkrB_tEoY
youtube.com/watch?v=0YoNrTQCrHg&t=...
youtube.com/watch?v=YD9aFIvlQYs
great one!