Suplemon – A Powerful Console Text Editor with Multi Cursor Support

Suplemon is an open source, modern, powerful, intuitive and feature-rich command-line text editor with multi cursor support; it replicates Sublime Text like functionality in the terminal with the use of Nano. It is highly extensible and customizable; allows you to create and use your own extensions.

Suplemon Editor in Action
Suplemon Editor in Action

Suplemon Features:

  • Supports proper multi cursor editing.
  • Syntax highlighting with text mate themes.
  • Supports autocomplete (based on words in the files that are open).
  • Offers easy Undo/Redo functionality.
  • Supports copy and paste, with multi line support (and native clipboard support on X11 / Unix-based systems).
  • Supports multiple files in tabs.
  • Has a powerful Go To feature for jumping to files and lines.
  • Offers Find, Find next and Find all functionality.
  • Supports custom keyboard shortcuts (and easy-to-use defaults).
  • Also has mouse support.
  • Can restore cursor and scroll positions when reopening files and more.

How to Install Suplemon Text Editor in Linux Systems

To install Suplemon Text Editor, you just need to clone the repository and install it as shown.

$ git clone https://github.com/richrd/suplemon.git
$ cd suplemon
$ python3 suplemon.py

You can also install the latest version of Suplemon Text Editor on system wide using PIP utility as shown.

$ sudo pip3 install suplemon
$ sudo python3 setup.py install

How to Use Suplemon Text Editor in Linux Systems

Once you have Suplemon Text Editor installed, the suplemon configuration file is stored at ~/.config/suplemon/suplemon-config.json and you can use it like any other terminal text editor, like this.

$ suplemon filename  #in current directory
$ suplemon /path/to/filename

To enable system clipboard support, install xsel or pbcopy or xclip package on your system.

$ sudo apt install xclip	 #Debian/Ubuntu
# yum install xclip	         #RHEL/CentOS
# dnf install xclip	         #Fedora 22+

Now try to edit any files using suplemon text editor as shown.

$ suplemon topprocs.sh
Edit Files Using Suplemon
Edit Files Using Suplemon

Following are a few basic Keymap Configs used by suplemon. They can be edited by running the keymap command. To view the default keymap file run keymap default.

  • Exit – Ctrl+Q
  • Copy line(s) to buffer – Ctrl+C
  • Cut line(s) to buffer – Ctrl+X
  • Save current file – Ctrl+S
  • Search for a string or regular expression (configurable) – Ctrl+F
  • Run commands – Ctrl+E

Note: The recommended way to edit the configuration file is to run the config command, it will automatically reload the configuration when you save the file. And you can view the default configuration and see what options are available by running config defaults command.

To get more help hit [Ctrl+H] in the editor. You can also find more information such as keymap configs, mouse shortcuts as well as commands from the Suplemon Github repository.

Suplemon is a modern, powerful, intuitive, highly extensible and customizable console text editor. Try it out and use the comment form below to share with us, your thoughts about it.

Two small things before you go

If something didn’t work on your setup, leave a comment and tell me which distro and version you’re on. I read every one, and most of these articles got better because a reader pointed out what was missing.

And if it did work, share it. TecMint has stayed free for 14 years because people pass these articles around, and that traffic is what pays for writing the next one.

Leave a comment
Get two free Linux courses

Learn the Linux basics with two free courses and join 34,000+ readers getting practical TecMint tutorials and selected Pro TecMint articles every week.

Pro TecMint
Get lifetime access for $99

If you want to go beyond the free tutorials, Pro gives you 18 courses, 5 ebooks, and every future course I add. One payment, lifetime access, no renewals.

Aaron Kili
Aaron Kili
Contributor
About the author

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

4 Comments

Leave a Reply
  1. For the lovers of the black-screen (terminal), I think micro is the best choice (https://micro-editor.github.io/). No python, easiest possible installation (just download and run the executable or store it somewhere in the path), configurable, Lua programmable, etc. I prefer Atom and Code Lite, though, which are GUI applications.

    Reply
    • @TheOuterLinux,

      The ads are only displayed on right sidebar to make content readable, and we’ve never received complaints about our ad placement…

      Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.