If the .vimrc file already exist under your home directory, then open it. If not, new a file named .vimrc on your home directory and then open it. Paste the following lines into the .vimrc file and save it.
filetype plugin indent on
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent

本文指导如何在个人目录下打开或新建vimrc文件,并将关键配置添加到文件中,包括设置文件类型插件、缩进、制表符和自动缩进。

2万+

被折叠的 条评论
为什么被折叠?



