在这个/etc/vimrc文件编辑添加:set cursorline #设置显示这一横杠set nocursorline #设置不显示这一横杠linux
[root@localhost ~]# vim /etc/vimrcvim