Download the Python.vim script
Copy the script to the correct dir.
mkdir ~/.vim
mkdir ~/.vim/ftplugin
mv python.vim ~/.vim/ftplugin/
Add the below lines in ~/.vimrc file
filetype plugin on
syntax on
Use "[[" to go to beginning of block(class/function), "]]" to go to end of block. See the script for more info.
Some of my favorite Nusrat Fateh Sli Khan
8 years ago
1 comment:
This works for C/C++ code as well
Post a Comment