News for hackers. Stuff that matters.
Re:Moving Fast with the Core Vim Motions by xwdv on Wednesday June 14, 2023 @09:53PM (#36335467)
People who never master vim will never know the high of pounding combo after combo and watching lines of code morph and manifest before their eyes at the speed of thought. Once you’ve experienced this, no other editor will satisfy you. Combine this with the sounds of a clicky keyboard, and it feels like heaven.
Re:Moving Fast with the Core Vim Motions by baq on Thursday June 15, 2023 @02:34AM (#36337122)
This is absolutely true but I myself converted to vscode after getting fed up with having to maintain my vimrc… I miss the combos and no, vim key bindings are nowhere near the same, there are conflicts and missing verbs and motions.

Haven’t tried embedded neovim yet. Is it the best or the worst of both worlds?

Re:Moving Fast with the Core Vim Motions by bongobingo1 on Thursday June 15, 2023 @05:57AM (#36338322)
It's reasonable. You have "true nvim" managing the buffer. Most plugins will work and it sets a `g:vscode` or whatever variable so you can conditionally enable bits of your config.

Its better than any vim emulation mode that's for sure.

Re:Moving Fast with the Core Vim Motions by scubbo on Friday June 16, 2023 @05:10PM (#36363937)
I've used my fair share of macros to transform text. Vim's great for that. But that's less than 1% of my work as a developer. Much more often, I'm wanting an IDE to do things like:

* Run/debug code

* Jump to a declaration of a function/variables, or find it's uses

* Extract some code as a function

* Rename a variable (and all uses of it)

I bet vim probably _could_ do all of that with the right plugins - but dedicated IDEs do it out-of-the-box. Even something as simple as indent/dedent a block of code is "click-and-drag, tab/shift-tab" in an IDE, vs. ":<range declaration>s/^[^$]/ /" in vim.

Re:Moving Fast with the Core Vim Motions by bottlero_cket on Saturday June 17, 2023 @07:26AM (#36369253)
Indent? Use a code formatter or just select the lines with visual mode and press >
Re:Moving Fast with the Core Vim Motions by scubbo on Tuesday June 20, 2023 @10:43PM (#36413747)
> just select the lines with visual mode and press >

TIL, thank you! Unfortunately it seems to think that a