在CentOS中,通常使用Notepadqq(Notepad的Linux克隆版)来设置自动保存,具体操作如下:
sudo yum install notepadqq
如果使用其他编辑器,如gedit,可安装“自动保存”插件来实现类似功能。