我的vim配置

來源:互聯網
上載者: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:miniBufExplModSelTarget = 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 protected]>‘) |           \ call setline(6,‘# License: Copyright(c) 2015 Song.Huang‘) |           \ call setline(7,‘# Summary: ‘) |           \ call setline(8,‘‘) |           \ exe "normal G"

  

我的vim配置

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.