Python Vim Configuration

Source: Internet
Author: User

Http://xbeta.info/vim-tutorials.htm

"General settings """"""""""""""""
Set nocompatible

Filetype plugin on
Filetype indent on

Set autoread
Set ruler
Set nu

Set laststatus = 1

"Configure backspace so it acts as it shoshould Act
Set backspace = EOL, start, indent
Set whichwrap + = <,>, H, l

"Search
Set ignorecase
Set smartcase
Set hlsearch
Set incsearch

"For Regular Expressions turn magic on
Set magic

"Don't redraw while executing macros (good performance config)
Set lazyredraw

"Show matching brackets when Text indicator is over them
Set showmatch

"No annoying sound on Errors
"Set noerrorbells
"Set novisualbell
"Set t_vb =
"Set TM = 500

"Colors and Fonts
Syntax on
Filetype on
Colorscheme desert
Set guifont = courier_new: H10

"File type and unicoding
Set encoding = UTF-8
Set fileencodings = ucs-bom, UTF-8, cp936
Set FFS = UNIX, DOS, Mac

"Backup and swap
Set nobackup
Set nowb
Set noswapfile

"Special text and indent """"""""""""""
Set expandtab
Set smarttab

Set tabstop = 4
Set softtabstop = 4
Set shiftwidth = 4
Set backspace = 2
Set autoindent
Set smartindent

Set list

"Windows config """"""""""""""
Autocmd guienter * simalt ~ X
Set guioptions-= T
Set guioptions-= r
Set guioptions-= L
Set GCR = A: block-blinkon0

"Pydiction """""""""""""""""
Let G: pydiction_location = 'd: \ Program Files \ Vim \ vim73 \ ftplugin \ complete-dict'

"Ctags and taglist """""""""""""
Let tlist_show_one_file = 1
Let tlist_exit_onlywindow = 1
Nmap tl: tlisttoggle

"Pathogen """""""""""""""""""""
Call pathogen # infect ()

"Nerdtree """""""""""""""""""""
Let nerdtreehighlightcursorline = 1
Let nerdtreeignore = ['\. PyC $', '\. pyw $']
Map <c-t>: nerdtreetoggle <CR>

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.