vimrc 配置参考
来源:互联网 发布:公司审批软件 编辑:程序博客网 时间:2024/06/01 22:57
syntax onfiletype off" format and user interfaceset nocompatibleset numberset softtabstop=4 tabstop=4 shiftwidth=4set expandtabset autoindentset hlsearchset mouse=a set cursorlineset cursorcolumnset laststatus=2set backspace=2" initialize vundleif !isdirectory(expand("~/.vim/bundle/vundle/.git")) !git clone https://github.com/gmarik/vundle ~/.vim/bundle/vundleendifset rtp+=~/.vim/bundle/vundle/call vundle#rc()" feature bundlesBundle 'gmarik/vundle'Bundle 'scrooloose/nerdtree'Bundle 'scrooloose/nerdcommenter'Bundle 'jistr/vim-nerdtree-tabs'Bundle 'kien/ctrlp.vim'Bundle 'majutsushi/tagbar'Bundle 'ervandew/supertab'Bundle 'tpope/vim-fugitive'Bundle 'tpope/vim-surround'Bundle 'scrooloose/syntastic'Bundle 'bling/vim-airline'Bundle 'editorconfig/editorconfig-vim'Bundle 'mattn/emmet-vim'" file type bundlesBundle 'kchmck/vim-coffee-script'Bundle 'derekwyatt/vim-scala'Bundle 'Glench/Vim-Jinja2-Syntax'Bundle 'sophacles/vim-bundle-mako'Bundle 'othree/html5.vim'Bundle 'sprsquish/thrift.vim'Bundle 'tonyseek/rust.vim'Bundle 'cakebaker/scss-syntax.vim'Bundle 'wavded/vim-stylus'Bundle 'jansenm/vim-cmake'Bundle 'vim-ruby/vim-ruby'Bundle 'tfnico/vim-gradle'Bundle 'cespare/vim-toml'Bundle 'evanmiller/nginx-vim-syntax'" theme bundlesBundle 'tomasr/molokai'" key mappinglet mapleader=","imap jk <ESC>imap Jk <ESC>imap JK <ESC>imap jK <ESC>nmap 1 ^nmap 0 $nmap <Leader>tb :TagbarToggle<CR>nmap <Leader>tt :NERDTreeToggle<CR>nmap <Leader>nt :tabnew<CR>nmap <TAB> :tabn<CR>nmap <C-J> <C-W>j<C-W>_nmap <C-K> <C-W>k<C-W>_nmap <C-L> <C-W>l<C-W>_nmap <C-H> <C-W>h<C-W>_nmap ;ntr :NERDTree<CR>" custom commandscom! FormatJSON %!python -m json.tool" configurations of pluginslet g:nerdtree_tabs_open_on_console_startup = 0let g:nerdtree_tabs_open_on_gui_startup = 0let g:airline_powerline_fonts = 1let g:airline_theme = 'jellybeans'let NERDTreeIgnore = ['\.py[oc]$', '__pycache__', '\.egg-info']let g:ctrlp_custom_ignore = 'node_modules\|pyc\|git\|__pycache__'let g:tagbar_ctags_bin='/usr/bin/ctags'let g:ctrlp_use_caching = 1let g:ctrlp_working_path_mode = 0let g:syntastic_cpp_compiler_options = ' -std=c++11'let g:syntastic_java_javac_config_file_enabled = 1let g:loaded_syntastic_rst_rst2pseudoxml_checker = 1let g:jinja_syntax_html = 1if filereadable('/usr/local/bin/ctags') let g:tagbar_ctags_bin = '/usr/local/bin/ctags'endiffunction! FiletypeHook(config) if has_key(a:config, 'language') let &filetype = a:config['language'] endif return 0 " Return 0 to show no error happenedendfunctioncall editorconfig#AddNewHook(function('FiletypeHook'))" display styleif exists('+colorcolumn') set colorcolumn=80endifif &term == 'linux' || &term == 'ansi' set t_Co=8else set t_Co=256endiflet base16colorspace=256set background=darkcolorscheme molokai" indentautocmd Filetype ruby setlocal ts=2 sts=2 sw=2autocmd Filetype coffee setlocal ts=2 sts=2 sw=2autocmd Filetype stylus setlocal ts=2 sts=2 sw=2filetype plugin onfiletype indent on
0 0
- .vimrc文件配置参考
- vimrc 配置参考
- vimrc配置
- vimrc配置
- vimrc配置
- vimrc配置
- vimrc配置
- VIMRC配置
- .vimrc 配置
- .vimrc 配置
- VIMRC配置
- .vimrc配置:
- vimrc 配置
- vimrc配置
- vimrc 配置
- vimrc 配置
- vimrc配置
- vimrc配置
- HTML中的几种定位方式
- PAT-B 1058. 选择题
- 屏蔽控制台应用程序的窗口#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
- NetBeans启动失败,提示“JVM creation failed”的解决办法
- html运用(四) html解决浏览器记住密码输入框的问题
- vimrc 配置参考
- Python编码错误的解决办法SyntaxError: Non-ASCII character '\xe5' in file
- 浏览器加载网页的顺序和优化
- nginx学习(八)——nginx的配置系统4之healthcheck module
- Java 静态语句块、语句块、构造函数
- Camera 硬件结构介绍
- SAP中事务代码ME2N中引出的表格里,仍要Invoice数量是什么含义?
- maven install Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-wa
- 一个企业it的触云感受:多台电脑测试程序的烦恼将不会再来