Last active
September 25, 2024 18:59
-
-
Save knwng/d674cb19b5606c602e61cc425d39bebb to your computer and use it in GitHub Desktop.
无插件版本vimrc,无注释(vimrc without plugins and comments)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set laststatus=2 | |
set number | |
set hlsearch | |
set incsearch | |
set autoindent | |
set smartindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set softtabstop=4 | |
set smarttab | |
set encoding=utf-8 | |
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 | |
set termencoding=utf-8 | |
set nocompatible | |
set history=1000 | |
filetype on | |
set completeopt=longest,menu | |
syntax enable | |
syntax on | |
set showmatch | |
set statusline=%F%m%r%h%w\[POS=%l,%v][%p%%]\%{strftime(\"%d/%m/%y\ -\ %H:%M\")} | |
set backspace=2 | |
filetype plugin on | |
set omnifunc=syntaxcomplete#Complete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment