Setting up Vim for Python

前端 未结 8 551
情书的邮戳
情书的邮戳 2020-12-22 15:04

I really like the Emacs editor for Python because of it\'s smart tabbing for instance if I have something like this

def foo():
    if bar:
         blah
             


        
8条回答
  •  醉梦人生
    2020-12-22 15:31

    Under Linux, What worked for me was John Anderson's (sontek) guide, which you can find at this link. However, I cheated and just used his easy configuration setup from his Git repostiory:

    git clone -b vim https://github.com/sontek/dotfiles.git
    
    cd dotfiles
    
    ./install.sh vim
    

    His configuration is fairly up to date as of today.

提交回复
热议问题