.vimrc configuration for Python

前端 未结 6 464
小鲜肉
小鲜肉 2020-12-23 14:53

My current .vimrc configuration is below:

set nohlsearch
set ai
set bg=dark
set showmatch
highlight SpecialKey ctermfg=DarkGray
set listchars=tab:>-,trail         


        
6条回答
  •  一生所求
    2020-12-23 15:30

    Try this:

    filetype indent on
    filetype on
    filetype plugin on
    

    I primarily do Python programming and this is the brunt of my vimrc

    set nobackup
    set nowritebackup
    set noswapfile
    set lines=40
    set columns=80
    set tabstop=4
    set shiftwidth=4
    set softtabstop=4
    set autoindent
    set smarttab
    filetype indent on
    filetype on
    filetype plugin on
    

提交回复
热议问题