Comandos vim comunes: https://juejin.cn/post/7070699702732783623
Operación de pantalla dividida: https://linux265.com/course/vim-split-screen-editing.html
Utilice el comando vim ~/.vimrc
set encoding=utf-8
set number
syntax on
set nocompatible
set nobackup
set noerrorbells
set noswapfile
set confirm
set mouse=a
set tabstop=4
set shiftwidth=4
set expandtab
set smarttab
set autoread
set cindent
set autoindent
set smartindent
set hlsearch
set background=dark
set showmatch
set ruler
set nocompatible
set foldenable
set fdm=syntax
"set fdm=manual
nnoremap <space> @=((foldclosed(line('.')<0)?'zc':'zo'))<CR>
set novisualbell
set laststatus=2
autocmd InsertLeave * se nocul
autocmd InsertEnter * se cul
set showcmd
set fillchars=vert:/
set fillchars=stl:/
set fillchars=stlnc:/
set wildmenu
set wildmode=longest:list,full
Según el comando que agregué yo mismo https://www.ruanyifeng.com/blog/2018/09/vimrc.html