REDIRECTING TO moshe.im/blog...

Thoughts, tips and ideas on next-gen technology by: Moshe Brevda

2009/05/20

Use the keypad/number pad in nano

For the longest time, I've been trying to figure how I can use the number pad in the linux text editor GNU nano. It felt very unnatural to have to use the numbers in the top of the keyboard - unintuitive and unnatural. Then I decided to RTFM! It's really quite simple: just start nano with the -K option, like this:

nano -K /path/to/file

Remembering to add the -K every time you run nano can be quite a drag. No fret, alias is here! Just run the following, and you will never have to add the -K again:

alias nano='nano -K'

From now on, you can just run nano somefile and have your number pad enabled!



Moshe Brevda, FreePBX Development Team
lazytt - FreePBX forums
hi365 - IRC


Found this tip useful? Don't forget to donate by click the donate button to the right!