使用vim打造python开发环境

1.查看VIM的版本

vim --version | grep VIM

2.基本配置

vim ~/.vimrc

set nocompatible  "Turn off compatibility mode with Vi

set number "Show Line Numbers

set nowrap  "No automatic folding

set showmatch "Display matching parentheses

set encoding=utf-8

set fenc=utf-8

set mouse=a "To enable the mouse

set hlsearch  "Search highlight

syntax enable  "Syntax highlighting

set tabstop=4 "TAB equivalent space length

set softtabstop=

set expandtab 

set autoindent "Automatic indentation

猜你喜欢

转载自www.cnblogs.com/DesignerA/p/11625319.html