Not "move the current line of code", but instead "jump the cursor a number of lines"
Hexarei
Yes, absolutely. And I refuse to let my day be anything else! :-)
Ah right, I forget that that one is from vim-surround. Though I know some ides do support somewhat custom vim-configs!
I didn't know about argumentative, my swapping is powered by Tree-Sitter
It's less about refactoring and more about navigation of your code while editing. Ever wanted to delete a single word? daw
deletes the word your cursor is currently in. How about "copy everything up to (but not including) the nearest "D" on the current line? yfD
.
The whole point is that editing code in the middle of writing it, not just refactoring it, is immensely faster.
As a software dev, they're significant parts of what I do
The biggest benefit of (neo)vim is the motions.
Honestly if you don't use vim motions in your ide of choice, you're missing out big time. Being able to do things like "Delete everything inside these parentheses". di( or "wrap this line and the two lines below in a pair of {}" ys2j{ , or "swap this parameter with the next one" cxia]a. with a single shortcut is game changing.
Even just being able to repeat an action a number of times is ridiculously useful. I use relative line numbers, so I can see how many lines away a target is and just go "I need to move down 17 lines" and hit 17j.
Absolutely insane how much quicker it is too do stuff with vim motions than ctrl-shift-arrows and the like.
Honestly if you don't use vim motions in your ide of choice, you're missing out big time. Being able to do things like "Delete everything inside these parentheses". di(
or "wrap this line and the two lines below r in a pair of {}" ys2j{
, or "swap this parameter with the next one" cxia]a.
with a single shortcut is game changing.
Even just being able to repeat an action a number of times is ridiculously useful. I use relative line numbers, so I can see how many lines away a target is and just go "I need to move down 17 lines" and hit 17j
.
Absolutely insane how much quicker it is too do stuff with vim motions than ctrl-shift-arrows and the like
This is such a weird statement given UI refers to what the user interfaces with, dunno what wacky drugs you're on friend
Nvidia's rtx video upscaling is trying to be just that: DLSS but you run it on a video stream instead of a game running on your own hardware. They've posited the idea of game streaming becoming lower bit rate just so you can upscale it locally, which to me sounds like complete garbage
A single git command can get everything for split repos if you use submodules
Bro we promise bro, we're deleting the data - We know bro, you thought we didn't collect it but bro we're deleting it we promise now we're cool bro just keep using it bro we don't collect more data bro we promise
I have most of the features of an IDE in my neovim config; name a feature and there's almost certainly a plugin for it!
Those are just a few small examples. One of my favorite things that vim enables for me is working with text objects. Things like functions, variables, classes, conditionals, paramters... Etc. Any action works with any text object - Want to jump to the next function in the file? Copy everything inside of a conditional? Cut everything up to (but not including) the nearest capital D on the line? Delete just the word your cursor is in the middle of (and one of the spaces around it)? Delete the current line and the N lines below it?
The motions make editing code incredibly fast, and I still have modern features like variable completion, copilot, intellisense, 'jump to definition', "hover" information, fuzzy search in project... Name a feature. I highly recommend giving it a closer look for stuff like that.