"语法高亮syntax on"显示行号set number relativenumber"显示光标所在位置的行号和列号set rulerset wrap "自动折行set shiftwidth=4set tabstop=4set softtabstop=4set expandtab "将tab替换为相应数量空格set smartindentset backspace=2set co=5"设置取消备份 禁止临时文件生成set nobackupset noswapfile" ...
syntax enable set background=dark :colorscheme molokai 3. 设置自动缩进、行号等:终端打开vim ~/.vimrc添加 set tabstop=4 set softtabstop=4 set shiftwidth=4 set autoindent set cindent set cinoptions={0,1s,t0,n-2,p2s,(03s,=.5s,>1s,=1s,:1s set nu set ruler set hlsearch set backspace...
402 set nocompatible 403 404 " 语法高亮 405 406 set syntax=on 407 408 " 去掉输入错误的提示声音 409 410 set noeb 411 412 " 在处理未保存或只读文件的时候,弹出确认 413 414 set confirm 415 416 " 自动缩进 417 418 set autoindent 419 420 set cindent 421 422 " Tab键的宽度 423 424 set ta...
setguioptions-=r setguioptions-=L setguioptions-=b cd/Users/apple/Desktop/freework "更改vim运行默认路径 setguifont=SourceCodeVariable-Roman:h20 "更改vim默认字体 " Add spaces after comment delimiters by default let g:NERDSpaceDelims=1 " Use compact syntaxforprettified multi-line comments let g:...
"---"" 基础设置 ""---"setmodelines=0" 禁用模式行(安全措施)syntaxon" 语法高亮filetypeon" 开启文件类型检测setencoding=utf-8" 编码设置setnumber" 显示行号setrelativenumber" 显示相对行号setsmartindent" 智能缩进setautoindent" 自动对齐setsmarttabsettabstop=4" tab缩进setshiftwidth=4" 设定自动缩进为...
gococ-lightcoc-htmlcoc-javacocjsoncocjuliacoc-marklintcocomni-pyrightcocr-lspcocromecocrust-analyzercocshcoc-snippetscoc-solargraphcoc-sourcekitcocsyntaxcoc-tabninecoc-tagcoc-servercoc-coc-vimlspcoc-wordcocyamlcoc-yank ludovicnt/-gutentags 管理tag , tag 文件着的引用跳转, ...
shougo/ddu-ui-filer : File list plugin for ddu.vim thehamsta/nvim-treesitter-commonlisp : extends the standard highlighting of nvim-treesitter for Common Lisp thomasfaingnaert/vim-lsp-neosnippet : integrates neosnippet.vim in vim-lsp tiagofumo/vim-nerdtree-syntax-highlight : adds syntax for ...
registers syntax rules for files with extension.mdict(the first element in g:XkbSwitchSyntaxRules: it replaces our old definitions of g:mdict_synroles, MdictCheckLang(), autocmd CursorMovedI and g:XkbSwitchPostIEnterAuto) and comments rules for C and C++ files (the second element in g:XkbSw...
If you don't like the defaults, you can replace all sections with standardstatuslinesyntax. Give your statusline that you've built over the years a face lift. Themes Themes have moved to another repository as ofthis commit. Install the themes as you would this plugin (Vundle example): ...
set fileencodings=utf-8,gbk,cp936,latin-1 filetype on " 侦测文件类型 filetype indent on " 针对不同的文件类型采用不同的缩进格式 filetype plugin on " 针对不同的文件类型加载对应的插件 syntax on " 语法高亮 filetype plugin indent on " 启用自动补全 ...