Skip to main content

GNU nano Text Editor

GNU Nano Text Editor

nano - Nano's ANOther editor, an enhanced free Pico clone

https://www.nano-editor.org/

Set tab size

$ echo "set tabsize 4" >> ~/.nanorc

Show line number

$ echo "set linenumbers" >> ~/.nanorc

Sample .nanorc file

set tabsize 4
set linenumbers
Shortcut keys
Shortcut keys Description
CTRL + K Delete line (Kut)
CTRL + U Paste (UnKut)
CTRL + W Search (Where)

Popular posts from this blog

tmux - Terminal Muliplexer

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.

RHEL: firewall-cmd

firewall-cmd - firewall d c om m an d line client

Arch Linux: Notes from the Field

Official website of Arch Linux, a lightweight and flexible Linux® distribution that tries to Keep It Simple: https://www.archlinux.org/