我的vim配置
发布时间:2020-12-15 17:07:49 所属栏目:安全 来源:网络整理
导读:set nocompatible " requiredfiletype off " requiredset nuset encoding=utf-8set cursorline" set the runtime path to include Vundle and initializeset rtp+=~/.vim/bundle/Vundle.vimcall vundle#begin()"-------For color----------"syntax enablecol
set nocompatible " required filetype off " required set nu set encoding=utf-8 set cursorline " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() "-------For color----------" syntax enable colorscheme monokai let python_highlight_all=1 syntax on "---------For code folding----------" set foldmethod=indent set foldlevel=99 nnoremap <space> za "------- For indent--------" au BufNewFile,BufRead *.py set tabstop=4 | set softtabstop=4 | set shiftwidth=4 | set textwidth=79 | set expandtab | set autoindent | set fileformat=unix | set autoindent set smartindent "------------------YouCompleteMe------------------" let g:ycm_autoclose_preview_window_after_completion=1 map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR> " alternatively,pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') " let Vundle manage Vundle,required Plugin 'gmarik/Vundle.vim' Plugin 'vim-scripts/indentpython.vim' Plugin 'scrooloose/syntastic' Plugin 'nvie/vim-flake8' Plugin 'kien/ctrlp.vim' Plugin 'valloric/YouCompleteMe' Plugin 'Lokaltog/powerline',{'rtp': 'powerline/bindings/vim/'} " Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin) " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required 补充:
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Bootstrap&LESS:仅作为参考导入mixins
- linux shell pushd popd dirs命令
- 详解Linux中查看jdk安装目录、Linux卸载jdk、rpm命令、rm命
- 用shell脚本实现企业日常巡检
- twitter-bootstrap – Bootstrap 3表溢出面板
- BootStrap入门教程 (三)
- file – 为什么touch会调用dup2()系统调用?
- Scala:如何正确地抑制未经检查的警告/进行地图的模式匹配?
- scala – 为什么`Random.nextInt`被认为不是’可组合的,模块
- scala – Semigroup和SemigroupK之间的差异