Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
The main reason for using (neo)vim is motions and text objects. Pretty cool to be able to type cxia, ]a, cxia to swap two function parameters in code. Or daf to delete a whole function.
Even just f to jump to a specific character later in the line, or t to jump up to that character are absolutely life changing.
I love love love editing HTML in neovim with the ability to do stuff like dst for “delete surrounding tag” or St<div class="something"> to surround the current selection with a new tag. I have yet to find another editor that can do stuff like that with just a couple key presses.
The main reason for using (neo)vim is motions and text objects. Pretty cool to be able to type
cxia, ]a, cxia
to swap two function parameters in code. Ordaf
to delete a whole function.Even just f to jump to a specific character later in the line, or t to jump up to that character are absolutely life changing.
I love love love editing HTML in neovim with the ability to do stuff like
dst
for “delete surrounding tag” orSt<div class="something">
to surround the current selection with a new tag. I have yet to find another editor that can do stuff like that with just a couple key presses.As long as you don’t use emacs :P
I’ve only ever used it in evil mode, and it’s not the same