Skip to content

Instantly share code, notes, and snippets.

@redswallow
Created October 23, 2013 07:29
Show Gist options
  • Save redswallow/7114021 to your computer and use it in GitHub Desktop.
Save redswallow/7114021 to your computer and use it in GitHub Desktop.
##plugin
###python_fold http://www.vim.org/scripts/script.php?script_id=515
zo: 打开光标位置的折叠代码
zc: 折叠光标位置的代码
zr: 将文件中所有折叠的代码打开
zm: 将文件中所有打开的代码折叠
zR: 作用和 zr 类似,但会打开子折叠(折叠中的折叠)
zM: 作用和 zm 类似,但会关闭子折叠
zi: 折叠与打开操作之间的切换命令
###开启Python自动补全支持
autocmd FileType python set omnifunc=pythoncomplete#Complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment