My. VIMRC

Source: Internet
Author: User

Set Nocompatible "required
FileType off "required

Set the runtime path to include Vundle and initialize
Set Rtp+=~/.vim/bundle/vundle.vim
Call Vundle#begin ()

"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 ' "Auto indent plug-in
Plugin ' Valloric/youcompleteme ' "YCM famous Python code complement plugin
Let G:ycm_seed_identifiers_with_syntax = 1 "Turn on some keyword queries using the language
Set Completeopt=longest,menu "Completion behavior is consistent with menu

"COLOR scheme: TBD--~ When it's okay, find one.

Plugin ' Scrooloose/nerdtree ' to add a tree directory to vim
Map

Plugin ' xuyuanp/nerdtree-git-plugin ' to add git support for Nerdtree
Plugin ' Jistr/vim-nerdtree-tabs ' If you want to use the TAB key
Plugin ' Lokaltog/vim-powerline ' "Beautify the status bar
Plugin ' yggdroot/indentline ' "Indent indicator line
Plugin ' Jiangmiao/auto-pairs ' "auto-complement full brackets and quotes, etc.
Plugin ' Scrooloose/nerdcommenter ' "multiline comment, single-line comment: v view, CC,CB

"Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)

"All of your Plugins must is added before the following line
Call Vundle#end () "Required
FileType plugin indent on "required

Set nocompatible "Off compatibility mode with VI
Set number "Displays line numbers
Set nowrap "does not automatically fold rows
Set Showmatch "Display matching parentheses
Set scrolloff=3 "distance from top and bottom 3 rows"
Set Encoding=utf-8 "encoding
Set Fenc=utf-8 "encoding
Set Mouse=a "Enable mouse
Set Hlsearch "Search highlighting
Set ts=4
Set GUIFONT=COURIER_NEW:H14??? Cdefault "Set font, font size
Syntax on "syntax highlighting

"Toggle File Ctrl + HJKL
Nnoremap

Set foldmethod=indent "Setting code Folding
Set foldlevel=99
"Shortcut code folding using spaces for code folding
Nnoremap

"Using F5, you can quickly run a. py file in Vim
Map

My. VIMRC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.