It's time for another update. The last one has been a while and a lot has changed.
For those who don't know, Nev is text editor I'm building in my free time.
Here are some highlights
You can find a more complete changelog here and download prebuilt binaries here.
There is a format command, but it doesn't work in the current version. I fixed it and made a new release (0.5.1). There are some docs here (although I think the keybindings in those docs wont work, I'll put an example below)
There is no keybinding for fomatting by default, but you can add that pretty easily:
// in keybindings.json
{
"editor": {
"<C-g><C-f>": ".format" // period is necessary because it's a command that applies to the active editor
}
}
And to configure a formatter:
// In settings.json
{
"lang.nim.formatter.command": ["nph", "-"],
"lang.nim.formatter.input": "stdin",
"lang.nim.formatter.on-save": true,
} Thanks for the fix!
A couple more questions (and I think I can call Nev my daily driver):
How exactly did you define the keybinding? Crashing is definitely is a bug, can you create an issue and if possible attach the log and a stack trace (you can run it in e.g. gdb and use bt to get a stack trace)?
For global search you need to install ripgrep right now. I'll probably make it work without that a some point later. Then you can use these two commands for searching:
Keep in mind that global search currently ignores files in .gitignore
I have been using Nev for the last couple of days and I have to say it's great. It's a legitimately great editor with some really cool ideas.
LSP completions are much faster than in Helix, and the UX in general feels very smooth and solid.
There are bugs and minor inconveniences here and there but so far I haven't noticed any critical issues.
You should definitely promote it more, it has all the chances to gain popularity on our with Helix or Kakoune.
Would you mind giving a talk at NimConf?
Nice, thats awesome to hear :) I thought about NimConf, but I'm not sure yet.
Also would you mind writing down some of the things you think need improvement?
I've put all my nitpicking in a single issue on GitHub so that I don't spam the repo.
Just to reiterate: these are the things that annoy me personally but that doesn't mean you have to do anything about it. It's your product and you do what you think is best for it. However, if you do agree with my points, I'll be happy to provide wider context, answer questions, and maybe even contribute with code.