vim fold code

来源:互联网 发布:淘宝客在哪里推广 编辑:程序博客网 时间:2024/06/08 19:08

Personally I can't convince myself to litter my code with the markers. I've become pretty used to (and efficient) at using indent-folding. Together with my mapping of space bar (see below) to open/close folds and the zR and zM commands, I'm right at home. Perfect for Python!

nnoremap <space> za

vnoremap <space> zf

share|edit|flag


  :/g/searched_text


0 0