Notepad++ Alternatives For Linux

29/12/2020
This article aims to introduce you to some of the most popular Notepad++ alternatives for Linux including the installation, basic features and functions.

Nano textmode Notepad++ Alternative for Linux

Nano is probably the most user friendly text processor for terminal. It comes included by default in most popular Linux distributions.
To create a text file just invoke nano and the file name like in the following example:

# nano <filename>

Some of Nano functions include:

CTRL + G or F1 = get help.
CTRL + X or F2 = save file and exit.
CTRL + O or F3 = Write out.
CTRL + W or F6 = Find a specific string or specific text in the file.
CTRL + K or F9 = cut current line.
CTRL + C  = Cancel the operation.

 vim textmode Notepad++ Alternative for Linux

Vim is the evolution of the old vi text editor for terminal, it isn’t as user friendly as nano.

Despite being among the most popular text editors together with Nano, Vim doesn’t come by default on distributions like Debian.

To install it as root or invoking sudo run:

# apt install vim -y

For a fast view you can run it:

# vim

As you see the initial screen tells you :q + ENTER is required to exit. In case you need help you can type :q + ENTER. To save and exit you can press :wq and to exit without asking confirmation :q!.

Emacs GUI Notepad++ Alternative for Linux

Emacs is a text editor for GUI based on key bindings, it is fully customizable, and is a
great tool oriented to avoid the mouse while writing on a GUI. It has specific features for programming such as:

Source: https://www.gnu.org/software/emacs/

Despite leading the market together with the most popular text editors Nano and vim, emacs doesn’t come by default on distributions like Debian.

To install it as root or invoking sudo run:

# apt install emacs -y

You can run emacs both from your apps menu or from terminal:

The initial screen will show a tutorial for new users to get started:

You can access some Emacs video tutorials by LinuxHint at:

Gedit GUI Notepad++ Alternative for Linux

Gedit is GNOME’s text editor, it comes by default with GNOME.

Gedit text editor Features:

Full support for internationalized text (UTF-8)

  • Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, Perl and many others)
  • Undo/Redo
  • Editing files from remote locations
  • File reverting
  • Print and print preview support
  • Clipboard support (cut/copy/paste)
  • Search and replace with support of regular expressions
  • Go to specific line
  • Auto indentation
  • Text wrapping
  • Line numbers
  • Right margin
  • Current line highlighting
  • Bracket matching
  • Backup files
  • Configurable fonts and colors
  • A complete online user manual
  • A flexible plugin system which can be used to dynamically add new advanced features

Source: https://wiki.gnome.org/Apps/Gedit.

Atom GUI Notepad++ Alternative for Linux

 Atom is a text and code editor developed by GitHub and available for Linux, mac and Windows, it supports plugins to add functionalities.

To begin download your package from https://atom.io/.

Debian and Debian based users must download the .deb while Red Hat based distributions the .rpm package.

Save the package into your pc.

To install Atom on Debian run:
Note: the following instructions include a dependency error due library libgconf-2-4 and the troubleshooting process:

# dpkg -i <package>

In this case:

# dpkg -i atom-amd64.deb

If you got a similar error due dependencies, run:

# apt install -f

After installing dependencies run the dpkg command again to install Atom:

# sudo dpkg -i atom-amd64.deb

Geany GUI Notepad++ Alternative for Linux

Geany is another text and code editor supporting over 50 programming languages, it also supports plugins to add functionalities and support many file types.
Geany doesn’t come included in Debian by default but it is available in the repositories, to install it just run:

# apt install geany -y

Once installed Geany can be launched from the apps menu:

Geany default view:

Geany features include:

  • Syntax highlighting
  • Code folding
  • Symbol name auto-completion
  • Construct completion/snippets
  • Auto-closing of XML and HTML tags
  • Call tips
  • Many supported filetypes including C, Java, PHP, HTML, Python, Perl, Pascal (full list)
  • Symbol lists
  • Code navigation
  • Build system to compile and execute your code
  • Simple project management
  • Plugin interface (see Plugins)

Source: https://www.geany.org/about/geany/.

I hope you found this brief article on Notepad++ Alternatives for Linux useful.

Related articles

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

XZ Compression Tutorial

Many built-in command-line compression tools are available in Linux operating system. XZ is one of the popular data compression...
29/12/2020

Khuyến mãi VPS US 8GB ram chỉ từ 220.000đ/tháng miễn phí Plesk 18

Nhân dịp ra mắt cụm máy chủ mỹ Onet IDC khuyến mãi lớn giảm tới 90% máy chủ mỹ các cấu hình...
14/01/2021

List Files Sorted by Size in a Directory Tree on Linux

Most file systems sort the files in alphabetical order of names. A user might, however, have some other preferences and...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

mua Proxy riêng ở đâu, và nó đem lại lợi ích gì cho người sử dụng
22/11/2022

Hướng dẫn sử dụng Proxy Helper Fakeip khi thuê proxy
21/11/2022

PROXY NUÔI TÀI KHOẢN FACEBOOK – KINH NGHIỆM FAKE IP – THUÊ PROXY GIÁ RẺ
14/11/2022

Mua Proxy Nuôi Zalo Giá Rẻ Tại Onet.com.vn
14/11/2022

BẢNG GIÁ MUA PROXY VIỆT NAM và PROXY US Onet.com.vn
14/11/2022