You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"设置主题+透明autocmd vimenter * hi Normal guibg=NONE ctermbg=NONE " transparent bg
colorscheme molokai
"显示行号set nu"启动时隐去援助提示
set shortmess=atI
"语法高亮syntax on"使用vim的键盘模式
"set nocompatible"不需要备份
set nobackup
"没有保存或文件只读时弹出确认set confirm"鼠标可用
set mouse=a
"tab缩进set tabstop=4set shiftwidth=4set expandtabset smarttab"文件自动检测外部更改
set autoread
"c文件自动缩进set cindent"自动对齐
set autoindent
"智能缩进set smartindent"高亮查找匹配
set hlsearch
"背景色set background=dark"显示匹配
set showmatch
"显示标尺,就是在右下角显示光标位置set ruler"去除vi的一致性
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=stl:/
set fillchars=vert:/
set fillchars=stlnc:/
The text was updated successfully, but these errors were encountered:
~/.vimrc
The text was updated successfully, but these errors were encountered: