DEV Community

loading...

Vim Best Plugin

vitalipom profile image Vitali Pomanitski ・1 min read

Love it?

https://thepracticaldev.s3.amazonaws.com/i/p7sktuozqaehyoolcleg.gif

Here's the link github, multiple cursors.

Enjoy!
yours,
vitali.pom

Discussion

pic
Editor guide
Collapse
ryuuji159 profile image
Daniel Cortés

I prefer to use :s/foo/bar/g over a selection

Collapse
vitalipom profile image
Vitali Pomanitski Author

yeah, it's more a level of taste.

Collapse
ryuuji159 profile image
Daniel Cortés

Yep, When I'm using intellij for java I use the refactor tool for editing variable names, for that job is really good.
Also I use the visual block insert mode... I dont know how is named

Thread Thread
vitalipom profile image
Vitali Pomanitski Author

This is exactly like intellij refactor tool

Collapse
haruanm profile image
Haruan Justino

The plugin offers some extra functionalities like jumping one selection, that can be quite useful sometimes.

Collapse
haruanm profile image
Haruan Justino

Hey there, this plugin is surely a good one, I used it some time but this video youtube.com/watch?v=wlR5gYd6um0 gave me a good reason to remove it since the . command have another approach for the same problem.

Collapse
vitalipom profile image
Vitali Pomanitski Author

Hi,
I believe if you use vim alot you will like it? Maybe after a year or two you will want to reinstall it.
Vitali

Collapse
haruanm profile image
Haruan Justino

I just edited the comment to explain a bit more the reason that I removed it.

For sure there is a chance that I reinstall it, but for now I will give a chance for the vanilla vim approach.

Thread Thread
vitalipom profile image
Vitali Pomanitski Author

Vanilla vim mmm I'll try it

Thread Thread
haruanm profile image
Haruan Justino

Last days I got some refactoring cases that multiple cursos would work far better than pure vim, some cases that I have multiple lines with some pattern.

Thread Thread
vitalipom profile image
Vitali Pomanitski Author

Hi, for this one I just stayed with the CTRL N shortcut and added for select all shortcut, works perfect meanwhile, I'm happy. Haven't found a use case yet (but hey... the -> image is an ALLSTAR) :) Have fun with whatever you choose!!

Collapse
andrewbrown profile image
Andrew Brown 🇨🇦

I really like VAlign or vim-easy-align, though since most projects work with linters most days this in conflict with strict style guidelines.

Collapse
vitalipom profile image