NeNe Nib

Installing and first start

NeNe Nib is a text editor for Windows 11. By default, it runs in Basic mode, where you write just as you do in Notepad. Press Ctrl+Shift+Space to switch to Vim mode, where you write with Vim commands. This chapter covers everything from installing Nib to saving your first document, and how to switch between the two modes.

If you switched to Vim mode by mistake and the characters you type do not appear, press Ctrl+Shift+Space to return to Basic mode.

System requirements

Install NeNe Nib

You can install Nib in two ways. Both contain the same executable. If you are not sure which to choose, choose the Microsoft Store. It updates Nib to new versions automatically.

Install from the Microsoft Store

  1. Open the NeNe Nib page on the Microsoft Store.
  2. Follow the instructions on the page to install it.
  3. Start NeNe Nib from the Start menu.

The Store updates Nib to new versions automatically.

Use the ZIP from GitHub

  1. Download NeNeNib-1.2.0-windows-x64.zip from the Release page on GitHub.
  2. Extract it to any folder you like.
  3. Run NeNeNib.exe.

With the ZIP version, you can add NeNe Nib to the File Explorer right-click menu and to Open with. In All Commands (F1), choose Add to Windows Right-Click Menu. To undo this, choose Remove from Windows Right-Click Menu. You do not need administrator rights. In the Store version, these two commands do not appear in the list.

Start Nib for the first time

The first time you start Nib, it opens an empty Untitled tab that shows the start screen.

From top to bottom, the start screen shows the following.

Heading What it shows
Recent Files Up to 10 files you closed recently. While there is no history, it shows "No history yet. Open a file or just start typing".
Bookmarks Up to 10 files you have bookmarked, if there are any.
Get Started Three items: New File (Ctrl+T), Open File (Ctrl+O), and Open Folder (Ctrl+Shift+R).
Shortcuts The keys for Files and Tabs (Ctrl+P), Help (F1), and Show or Hide Explorer (Ctrl+Shift+E).

The version number appears next to the title, and the copyright and the GitHub address appear at the bottom.

When you start Nib again, the tabs you had open (saved files only) are restored, with their order, the caret position, and the scroll position. The caret is the blinking line that shows where text goes; it is also called the cursor. If a file from your last session no longer exists, Nib shows a one-line message and closes that tab.

Write, open, and save documents

To do this Do this What happens
Create a new document Ctrl+T or Ctrl+N An empty Untitled tab opens.
Open a file Ctrl+O The Open dialog box appears. The file you choose opens.
Save Ctrl+S Saves changes to the current file. For a document that has no name yet, the Save As dialog box appears.
Save with a new name Ctrl+Shift+S The Save As dialog box appears every time, even if the document already has a name.
Close a tab Ctrl+W or Ctrl+F4 Closes the current tab.

To choose the encoding and the line ending to save with, click the encoding (such as UTF-8) or the line ending (CRLF or LF) on the right side of the status bar. CRLF is the standard line ending on Windows, and LF is the standard line ending on macOS and Linux. A file you opened is saved with the encoding and line ending it had when you opened it.

Switch between Basic mode and Vim mode

Nib has two modes.

Press Ctrl+Shift+Space to switch from either mode to the other. You can also switch by clicking Basic | Vim on the left side of the status bar.

To see which mode you are in, look at the left side of the status bar.

If the characters you type do not appear in the text, check the status bar to see whether you are in NORMAL in Vim mode. Press Ctrl+Shift+Space to return to Basic mode.

Some keys work differently in the two modes. For example, Ctrl+O in Vim mode is the Vim key that goes back to where you were before, so the key to open a file in Vim mode is Ctrl+Shift+O. Commands that have no key in Vim mode are available from All Commands, described next.

All Commands (F1)

Even if you do not remember a key, you can find a command and run it with F1.

To do this Do this What happens
Open the list of commands Press F1 A list opens that shows the name, a short description, and the key of each command.
Narrow the list Type text Only the commands whose names match remain.
Run a command Select it with ↑ / ↓ and press Enter The selected command runs right away.
Close the list Press Esc The list closes.

Choose the display language

You can choose Japanese, English, or Simplified Chinese for the text on the screen. By default, Nib follows the Windows display language. To change it, choose Choose Display Language in All Commands (F1). The language changes as soon as you choose it, and stays the same the next time you start Nib.

The names of the Vim states (such as NORMAL), Vim messages, and theme names are in English in every language.

Change settings

You can change settings in the Settings panel, which opens on the right when you press Ctrl+,. Your changes are saved when you close it. The Settings chapter describes it in detail.

Nib does not collect personal information, and the app itself does not connect to the network.

Going further: Where Nib stores its data

Settings, the tabs from your last session, recently closed files, bookmarks, and the automatic backup copies are stored in %LOCALAPPDATA%\NeNeNib. %LOCALAPPDATA% is the Windows folder that holds app data for each user (usually C:\Users\<user name>\AppData\Local). To open it, type %LOCALAPPDATA%\NeNeNib in the address bar of File Explorer.

File Contents
settings.v6 Settings
session.v2 The tabs from your last session, and their positions
history.v1 Recently closed files (up to 100)
bookmarks.v1 Bookmarks (up to 1,024)

If you delete this folder, Nib returns to its initial state. In the Microsoft Store version, Windows may place this folder in a storage location reserved for the app; in that case, the folder is deleted when you uninstall the app. If a folder from the ZIP version already exists, the Store version may use that folder as it is.

Next: Basic editing covers what works the same as in Notepad and what is unique to Nib.

Source of this manual: nene-nib / docs/manual/en(179fe3be)