9951 explained code solutions for 126 technologies


nanoHow to set tabsize to 4 characters (instead of 8)


echo "set tabsize 4" >> ~/.nanorcctrl + c
tabsize 4

will set tabsize to 4 characters (you can play with other numbers)

~/.nanorc

this is a nano settings file (check if you already have this file, you might need to manually edit tabsize param)