nimped
tirimid
2025-05-17

Introduction

nimped stands for (N)ew and (Imp)roved Text (Ed)itor. The reason for this, is that it is my second personal text editor, improving upon medioed, which I made public and posted about on social media over a year ago. If you are not familiar with medioed, read about it here, or see the Reddit post here.

How is it different from medioed?

There are two main differences - simplifications and redesigns. In terms of redesigns, the most significant is that it is now modal (albeit, with only two real modes implemented). As for simplifications, I realized that a lot of what I did with medioed was unnecessary and was a much worse idea than I initially thought.

For example, with medioed I thought that separating frames from buffers would somehow be useful, enabling editing multiple places in a buffer at the same time. I quickly realized that I never do this, and it doesn't really help my workflow at all, but the damage was already done; and instead of redoing that system from the ground up, I just implemented safeguards to stop the user from making use of the capability. With this new text editor, I drew upon about a year and a half of experience with medioed to avoid making these mistakes.

There is now also a way to modify user configurations for stylistic things like tab size and theme colors without having to recompile the program every single time, as a dynamically loaded config file system was implemented.

Installing nimped

Clone the repository from GitHub and cd into it:

$ git clone https://git.tirimid.net/nimped $ cd nimped

Then, build the nimped binary:

$ ./build.sh

After a successful build, install the binary to the system:

# ./install-bin.sh

You will also need the user config installed to your $HOME/.config directory in order to use nimped, so run:

$ ./install-conf.sh

(See the README.md file for information regarding installing themes and uninstalling nimped from your system).

Dynamically configuring nimped

The user configuration will be installed to $HOME/.config/nimped. Inside, you will find several conf files. Inspect these files for anything interesting; in particular, you will find the following options in layout.conf:

margin = 80 tab = 2

I point these out because these are probably the ones you'll most want to change.

Running nimped

After installing nimped, you can run it through the command line. The usage is as follows:

$ nimped [options] file1 file2 file3 ...

For specific usage information and help with command line flags, run:

$ nimped -h

Keybind cheatsheet

Base mode

Write mode

Prompt mode

This work by tirimid is licensed under CC BY-SA 4.0