My VIM configuration

Source: Internet
Author: User

Set T_co=256set enc=utf-8set fileencoding=utf-8set fileencodings=utf-8,prccolorscheme molokaiset Guifont=Consolas: H9let g:molokai_original = 1set runtimepath+= $GOROOT/misc/vim "Call Pathogen#runtime_append_all_bundles ()" Call Pathogen#helptags () call Pathogen#infect () Nnoremap <silent> <F3>: Grep<cr>let mapleader = "," "Let G: Minibufexplmapwindownavvim = 1 "Let G:minibufexplmapwindownavarrows = 1" Let G:minibufexplmapctabswitchbufs = 0 "Let G:min Ibufexplmodseltarget = 1 "Let G:minibufexplmorethanone = 0" Let G:nerdtree_tabs_open_on_console_startup=1 "let G: Nerdtree_tabs_open_on_gui_startup=1set laststatus=2let g:buftabs_in_statusline=1let g:NERDTree_title= "[Nerdtree]" Let g:winmanagerwindowlayout= "nerdtree| Minibuffexplorer|minibufexpl "Let g:nerdtreewinsize = 20let nerdtreeignore=[' \.vim$ ', ' \~$ ', ' \.pyc$ ', ' \.pyo$ ']set Foldmethod=indentset foldlevel=99set expandtabset textwidth=200set tabstop=4set softtabstop=4set shiftwidth=4set Autoindentset nuset splitrightset Mouse=amap <c-j> <c-w>jmap <c-k> <c-w>kmap <c-l> <c-w>lmap <c-h> <c-w>hmap <c-= > <c-w>=noremap <F2>: Bprev<cr>noremap <F3>: Bnext<cr>map <leader>td <Plug >tasklistmap <leader>g:gundotoggle<cr>map <leader>n:nerdtreetoggle<cr>map <leader >j:ropegotodefinition<cr>map <leader>r:roperename<cr>nmap <leader>a <Esc>:Ack! <cr>syntax onfiletype onfiletype plugin indent onlet g:pyflakes_use_quickfix = 0let g:pep8_map= ' <leader>8 ' Au FileType python set omnifunc=pythoncomplete#completelet G:supertabdefaultcompletiontype = "context" Set completeopt=           Menuone,longest,previewautocmd bufnewfile *.py,*.pyx,*.pyi,*.pyd Call Setline (1, ' #!/usr/bin/env python ') |           \ Call Setline (2, ' #-*-coding:utf-8-*-') |           \ Call Setline (3, ') |           \ Call Setline (4, ' # version:0.1 ') | \ Call Setline (5, ' # Author:song Huang <[email p rotected]> ') |           \ Call Setline (6, ' # License:copyright (c) Song.huang ') |           \ Call Setline (7, ' # Summary: ') |           \ call Setline (8, ') | \ exe "Normal G"

  

My VIM configuration

Related Article

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.