Skip to content
Download

newen-ide

The keyboard-first code reader and editor that works with Newen.

newen-ide is a second program: a code reader and editor in Newen’s look, keyboard first, with Vim keys.

newen-ide [folder | file[:line[:column]]]

Newen’s Open in menu always lists it first: it opens the folder or file there, in a newen-ide window already showing that folder if there is one. From a checkout, cargo run -p newen-ide -- [folder | file] runs it.

Files open in Vim’s Normal mode, to read; i writes and Ctrl+S saves. Vim keys can be turned off in its Settings (Ctrl+,), with autosave (off, or after a second), format on save, tab width, line endings, wrap, the minimap, line numbers, the cursor and the font size.

What an agent writes to an open file shows within a second, unless you have changes of your own, which are kept until you choose.

Ctrl+P opens a file by name, Ctrl+G goes to a line, Ctrl+Shift+F searches every file, and the tree takes the same keys as Newen’s. Markdown has a preview (Ctrl+Shift+M), and there is a terminal (Ctrl+`).

With a language server on your PATH (rust-analyzer, typescript-language-server, pyright, taplo…) you get diagnostics, hover (K in Normal mode), go to definition (F12), references (Shift+F12), rename (F2), format (Ctrl+Shift+I) and completion. F8 walks the problems. For Rust without rust-analyzer it says how to add it.

newen-ide and Newen talk over a local socket. Ctrl+L (Ask agent) sends the selection, or the whole file, with its path and lines, into the message box of that folder’s session in Newen, for you to ask about. If Newen is not running, newen-ide starts it.

All its keys are in Keyboard shortcuts.