美文网首页
Note - 配置vim for python develop

Note - 配置vim for python develop

作者: 汉江岳 | 来源:发表于2019-12-24 16:51 被阅读0次

创建配置文件

vim的配置文件在 /root/.vimrc, 默认是没有这个文件的,使用touch命令进行创建

cd ~
touch .vimrc
vim .vimrc

基础配置

set nocompatible
set number  
set guioptions-=r 
set guioptions-=L
set guioptions-=b
set showtabline=0
set guifont=Monaco:h13         
syntax on 
let g:solarized_termcolors=256 
set background=dark
set nowrap
set fileformat=unix
set cindent
set tabstop=4
set shiftwidth=4
set showmatch
set scrolloff=5 
set laststatus=2
set fenc=utf-8
set backspace=2
set mouse=a 
set selection=exclusive
set selectmode=mouse,key
set matchtime=5
set ignorecase
set incsearch
set hlsearch
set noexpandtab
set whichwrap+=<,>,h,l
set autoread
set cursorline
set cursorcolumn

python tab自动补全

使用pydiction
参见
https://www.cnblogs.com/biangdang/p/7754527.html

相关文章

网友评论

      本文标题:Note - 配置vim for python develop

      本文链接:https://www.haomeiwen.com/subject/dxmewctx.html