• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows 11
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress

Micro: Making File Editing Easier in Linux Terminal

September 8, 2022 by bartez64

While modern open source code editors have taken the programming world by storm, Linux command line is still ruled by a selected set of text editors. Popular command line editors like Vim and Emacs are also infamous for their weird keyboard shortcuts.

There are several jokes about those weird keyboard shortcuts in the programming world. Exiting Vim is perhaps the most common of them all. Here’s an example.

vim shortcut linux humorvim shortcut linux humor

Micro is a modern terminal-based text editor that attempts to take the pain of keyboard shortcuts and provide popular shortcuts as well as mouse supports.

Micro is made with the GO Programming Language. It’s actively being developed by Zachary Yedidia and many other open source enthusiasts are contributing to it.

According to Micro’s GitHub project documentation,

Micro aims to be easy to use and intuitive, while also taking advantage of the full capabilities of modern terminals.

And that’s true. You’re probably wondering what’s special about this one, there are plenty of other terminal-based text editors out there. The answer is that Micro is so easy to use that the learning curve is almost flat, you don’t need to learn anything new, and it has some very interesting features.

Features

emmabuntusemmabuntus
Micro editor interface

Some of the main highlights of the Micro editor are:

  • Support for universal keyboard shortcuts (Ctrl-S, Ctrl-C, Ctrl-V, Ctrl-Z etc.)
  • Syntax highlighting ( for over 130 languages)
  • Color scheme and True Color support
  • Search and Replace feature
  • Common editor features such as Undo and Redo, Unicode support, Line numbering, Soft wrapping etc.
  • Copy and Paste from the system clipboard
  • Configurable
  • Simple auto-completion.
  • Splits and tabs
  • Good Mouse Support such as drag to select, double click to select a word, triple-click to select by line etc.
  • Plug-in support and a built-in plugin manager to automatically install, remove, and update plugins.
  • Macros
  • Cross Platform

Installation

Micro is available in the repositories of all major distributions. In Ubuntu, you can install it with:

sudo apt install micro

This will install xclip as a dependency for clipboard functionality.

Additionally, you can download the pre-built binary from the link below:

Download Micro

Once you download it, extract the file and you’ll find the binary file inside it. Copy this binary file to your /bin directory. And then, you can run it in the terminal using the command “micro”.

For clipboard support, you need xclip and xsel packages. In Ubuntu and other Ubuntu based Linux distributions, you can use the following command to install it:

sudo apt install xclip

For detailed information on configuring Micro, see here.

micro terminal text editor split view with multiple files openedmicro terminal text editor split view with multiple files opened
Micro Terminal Text Editor split view with multiple files opened

Essential commands and shortcuts

Function Command
Open a File in Micro micro [FILENAME]
To List Available Plug-Ins micro -plugin available
To Install a Plug-In micro -plugin install [PLUGIN]
To Remove a Plug-In micro -plugin remove [PLUGIN]
To Execute a Command inside Micro Ctrl + E
To Split open a file Horizontally through command hsplit [FILENAME]
To Split open a file Vertically through command vsplit [FILENAME]
To get Help inside Micro Editor Ctrl + G
To Save a File Ctrl + S
To Copy Text Inside Micro Ctrl + C
To Paste Text Inside Micro Ctrl + V
To Close Micro Editor Ctrl + Q
To Move Through Available Commands TAB (Shift + Tab for reverse direction)

Download Micro Editor Quick Cheat SheetDownload

Thoughts about Micro?

I think that Micro’s a pretty good tool for text editing. Though it’s not feature-rich like Vim or other mature text editors, it can easily replace tools like Nano for occasional file editing in the terminal.

If you often have to edit files in the terminal but you don’t feel too comfortable with Vim, give it a try and tell us about your experience.

Original Article

Twitter Facebook Pinterest Linkedin WhatsApp

Related posts:

  1. How to download Android 12 and 12L for Google Pixel and other Android devices
  2. Best gaming keyboards 2020: The best quiet, loud, colourful and proud mechanical keyboards around
  3. These are all the Windows 10 keyboard shortcuts you need to know
  4. Amazon Alexa Easter eggs: Over 180 funny things to ask Alexa
  5. 10 Best LaTeX Editors For Linux
  6. Download: MIUI 11 stable update rolling out to several Xiaomi and Redmi devices!
  7. How To Start A Premium WordPress Blog (Step-by-Step Guide)
  8. How To Create Keyboard Shortcuts For Programs In Windows 10
  9. Essential command tools to fix virtually any networking issue on Windows 10
  10. 15 Useful Visual Studio Code Keyboard Shortcuts to Increase Productivity

Filed Under: Linux Tagged With: easier, editing, file, linux, making, micro

Primary Sidebar

Trending

  • How To Extract & Install tar.gz Files In Ubuntu
  • 8 Best Sites to Read Manga Online for Free
  • Exclamation Mark on Network Signal, Mobile Data Not Working? 8 Ways to Fix
  • How to find a lost Apple Pencil using your iPad (1st and 2nd gen)
  • 3 Ways to Disable GetApps on Xiaomi, Redmi, and Poco Phones Running MIUI
  • How to Track a Stolen or Lost Nintendo Switch
  • How Much Data is Consumed by Zoom, Google Meet, Skype, Microsoft Teams, Slack and Hangouts?
  • How to Make Any Wired Printer Wireless in 6 Different Ways
  • How to lock Shape, Image or Objects in Microsoft PowerPoint
  • 7 Ways to Save an Image From Google Docs
  • Samsung TV model numbers explained 2022: What you need to know about Samsung’s OLED, Mini LED, QLED and LCD televisions
  • How To Fix No Sound On YouTube
  • 192.168.1.1 Login, Admin Page, Username, Password | Wireless Router Settings
  • How to Boot a Mac in Safe Mode
  • How to Find Hidden & Saved Passwords in Windows
  • Microsoft Edge’s newest feature? Shopping in Microsoft Edge
  • [Working] Remove Blue Circle From Your Samsung Phone Touchscreen
  • Android Developer Options Explained: Here’s everything you can do with these settings

Footer

Tags

Amazon android Apple Asus available download: edge feature features first free from galaxy Game games gaming gets google install Intel iPhone launches linux Microsoft more OnePlus phone release released review: samsung series support this Ubuntu update using video watch what will windows with xbox your

Archives

  • December 2023
  • November 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org