vim配置(编辑~/.vimrc文件)

主要配置如下

set number
set nocompatible
syntax on
set showmode
set encoding=utf-8
filetype indent on
set autoindent
set tabstop=4
set shiftwidth=4
set expandtab
set showmatch
set hlsearch
set incsearch
set smartcase
set nobackup
set noswapfile
set noundofile
set history=1000
set autoread
posted @ 2023-11-19 19:30  Guanjie255  阅读(5)  评论(0编辑  收藏  举报