justinmk

Joined 14 years ago

Karma
1,307
Submissions
289
Member since
Apr 14
Berlin
View on Hacker News

Recent submissions

Comment · 1 month ago
Vim undofile "data loss" happens because Vim (VIM!) will reset the undofile will reset the undofile if an external tool (git, nano) changed the file while Vim is not running.

Go ahead, try it:

    # Make some edits, then exit vim (remember to exit).
    vim --clean +'set undofile' foo.txt

    # Edit the same file with non-vim; save the changes.
    nano foo.txt

    # Open the file again and try "u". Then post on bluesky about Vim's "duty of care".
    vim --clean +'set undofile' foo.txt

This is documented at `:help undo-persistence`.
Comment · 1 month ago
> wrote the native lua LSP client ... in a few weeks for about $3k USD (circa 2019)

That extrapolation is missing the 1000s (thousands) of commits + person-years of work spent on maturing vim.lsp since those few weeks.

Hope to see you around again norcalli.

Comment · 2 months ago
"Journalist discovers regulatory capture"
Comment · 7 months ago
We may mention them in `:help news-breaking` for visibility, but that's only because I don't care about pedantry. API breakage != UI changes (e.g. mappings).
Comment · 7 months ago
Changing default mappings is not a "breaking" change.
Comment · 7 months ago
Incremental selection is available by default in Nvim 0.12, see `:help v_in`.
Comment · 7 months ago
Comment · 1 year ago
When problems get solved, the remaining problems become more salient. The most salient feedback we get in the last 3+ years is that the "getting started" UX has too much friction. (And this affects old users too, whenever I install Nvim on a new machine without my bag-of-tricks, I notice where friction is.)

For most users that want LSP, or even just to try Nvim for 2 minutes to see what it can do, it's not acceptable that our intro docs have to say "go here or there to install this or that plugin manager, and read their docs, then come back...".

Being able to say "add vim.pack.add(http://...) to your config, then :restart", is a complete answer.

vim.pack is relatively tiny (low maintenance), and zero performance cost for users that don't use it. Not bloat.

It's the opposite of bloat, because it allows us to more often choose "runtime-dependencies", instead of "shipping the universe" in the default build. That's a very welcome "release valve".

- Example of "shipping the universe": Vim's 1000+ builtin syntax files, ftplugins, etc.

- Example of "runtime-dependencies": nvim-lspconfig, treesitter parsers.

> The only users who need to do that are the ones who have already found a plugin that they want to install,

You skipped some steps.

> automatic dependency management

None of the existing plugin managers do that, except luarocks.

Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago
Comment · 6 years ago

    scoop install neovim
Comment · 6 years ago
urbit "why":

> Each user runs their own node completely independently. Everyone using Urbit OS owns their own identity and data. ... over an encrypted and authenticated network.

Interesting note about OS 1 in particular:

> One really critical thing about OS 1 is the pattern of ‘groups sharing modules’. This pattern makes it perfectly clear how a virtual computer can outcompete a bunch of different services. ... quickly outruns the messy, disconnected world we’re currently stuck in.

Comment · 6 years ago
What parts of that email are so objectionable?
Comment · 6 years ago
> He thinks homosexuals are pedophile.

Do you have a primary source for that? This sounds like a cancel-culture rumor intended to attach negative ideas to a person in order to discredit them.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton