ff5bff57a284

Uncomment docstring foldtext mappings.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 17 Jan 2012 11:37:57 -0500
parents 4a5142cfb33c
children 82ff18357c93
branches/tags (none)
files vim/ftplugin/python/folding.vim

Changes

--- a/vim/ftplugin/python/folding.vim	Tue Jan 17 11:21:39 2012 -0500
+++ b/vim/ftplugin/python/folding.vim	Tue Jan 17 11:37:57 2012 -0500
@@ -47,8 +47,8 @@
 setlocal foldmethod=expr
 setlocal foldexpr=GetPythonFold(v:lnum)
 setlocal foldtext=PythonFoldText()
-"nnoremap <buffer> <localleader>D :setlocal foldtext=PythonFoldTextDocstrings()<cr>
-"nnoremap <buffer> <localleader>d :setlocal foldtext=PythonFoldText()<cr>
+nnoremap <buffer> <localleader>Ft :setlocal foldtext=PythonFoldTextDocstrings()<cr>
+nnoremap <buffer> <localleader>ft :setlocal foldtext=PythonFoldText()<cr>
 
 function! PythonFoldText()
     " ignore decorators