HN user

justinmk

1,299 karma

Berlin

Posts13
Comments267
View on HN
Neovim 0.12.0 4 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).

Neovim 0.12.0 4 months ago

Incremental selection is available by default in Nvim 0.12, see `:help v_in`.

Neovim Pack 11 months 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.

Urbit OS 1 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.

MessagePack ... official C library was not optimized for memory usage and code size

But libmpack is: https://github.com/libmpack/libmpack

- libmpack serialization/deserialization API is callback-based, making it simple to serialize/deserialize directly from/to application-specific objects

- libmpack does no allocation at all, and provides some helpers to simplify dynamic allocation by the user, if required.

- C89

In a city with 10+ million people you don't fall over each other when walking down the street. Usually the city is just big enough to compensate for high population.

I guess you haven't visited Tokyo. The streets are teeming with (non-tourist) people.

This is why I don't use neovim ... this is just adding additional layers of complexity for no measurable gain in value

It's a plugin. It is not shipped with Neovim.

I just want vim to start quickly, not crash, and generally get out of my way

That's a very low bar, which indicates you definitely aren't Neovim's target audience. If you're happy with Vim, carry on.

I agree, but it's inevitable. The state has claimed all conceivable cut-points or transitions:

- Transportation. Any time you want to go somewhere by car or plane (and potentially bus/train[1]), the government has decided it has the right to search you.

- Interstate commerce. Most economic activity is taxed, and may be searched passively or actively to ensure that the state gets everything it wants.

- Communication. TV, radio, telephone, and now the internet are monitored and adjusted by the state.

Brain-to-network communication will eventually be commoditized, and the state will transitively invent some justification for monitoring it. Thus you may think thoughts which are shared with the network and for which you will be held liable.

The only difference is that today you type the thoughts on a keyboard.

I wrote an essay about this in 2011, for university.

[1] http://news.antiwar.com/2010/11/25/napolitano-eyes-full-body...

Neovim v0.4.0 7 years ago

Replying to PeCaN:

slightly concerned that neovim started to cut bloat in vim and ended up implementing a compositing window manager with fake transparency.

"Window manager" existed since vim got split-windows (1990s). Redesigning it as a compositor:

- isolates windows logically, so that UIs can do their own layout instead of being stuck with the TUI grid

- useful for implementing floating windows

- allows reasoning about layers instead of one grid driven by special-cases throughout the project

- helps with features such as "click through", z-index, etc.

The blending (fake transparency) was a small (~200 LoC) amount of code, added only for fun (and to ruffle feathers).

Neovim v0.4.0 7 years ago

You can create mappings for that.

Adding a bazillion one-off options like "Use Ctrl Keys" to avoid creating mappings, defeats the purpose of using vim, since creating mappings is the bare minimum way to configure it. (But Vim did so anyways for Windows, in the form of the "mswin.vim" plugin, which is enabled by default, causing confusion for users expecting vim to behave like vim.)

Neovim v0.4.0 7 years ago

multigrid support, which would allow features such as scrollbars

also per-window font-size, dimensions, line-spacing--so Nvim UIs can add unlimited decorations to windows while the editor navigation remains exactly the same (driven by Nvim).

Neovim v0.4.0 7 years ago

Floating windows:

- Are real windows showing real buffers. No shortcuts, hacks, or compromises.

- Can be (re)positioned, anchored, or "external" (if supported by the UI).

- Support all features and API of normal windows, plus more.

Screenshot showing floating window with 'winblend':

https://twitter.com/Neovim/status/1145446583573594112

Yes, that screenshot shows Nvim in a terminal. The 'winblend' feature works in all UIs, including the TUI (all terminals that support RGB colors).

If the world cares about it then the world should pay for it. Not sanctions, nor sanctimony. Buy the land.

It would be expensive, but that just reflects the value to the people you're buying it from. And it's an actual, concrete action that can be taken, instead of the vague global warming solutions that just tweak domestic parameters and send tax money to the black hole of the state budget.

“I think it’s offensive and I don’t like how the industry has standardized on basically assuming everyone’s a bullshitter,”

I think it's weird for people to complain about whiteboards and technical questions, given the implied alternative. There are many other industries if you prefer the traditional hiring model.

That is, if you can get an interview. While you complain about the awkwardness of a whiteboard, people in other industries are quite happy to get a call. And in the interview, they compete in terms of poise, diction, rapport, and other intangibles, without the chance to repair any lack thereof by demonstrating technical competence. And they get 1 hour to make their case, not 3-6 hours.