vim-origami : A script to align, insert and delete foldmarkers conveniently
| script karma
Downloaded by 185
Comments, bugs, improvements
script versions (upload new version)
Plugin to satisfy all your folding needs
* Justify all the open-fold markers
* Create new open/close foldmarkers conveniently
The latest version will be available on Github https://github.com/kshenoy/vim-origami
So, once that's done, out of the box, the followings mappings are defined by default:
<leader>zax Align all folds of level 'x'
<leader>zox Insert a start foldmarker of level 'x' at the end of line
<leader>zcx Insert an end foldmarker of level 'x' at the end of line
<leader>zOx Insert a start foldmarker of level 'x' enclosed in comments at the end of line
<leader>zCx Insert an end foldmarker of level 'x' enclosed in comments at the end of line
<leader>zd Delete a foldmarker present on the line
<leader>zaa Align all the folds
<leader>zoo Insert an unnumbered open foldmarker
<leader>zcc Insert an unnumbered close foldmarker
<leader>zOO Insert a commented unnumbered open foldmarker
<leader>zCC Insert a commented unnumbered close foldmarker
where 'x' is a number from 0-9. 0 refers to unnumbered folds
|For those of you -
* Pathogen: Unzip contents of the zip file to .vim/bundle folder
* Vundle/NeoBundle: Add 'Bundle "kshenoy/vim-origami" ' to .vimrc
I highly recommend using a plugin manager to do the dirty work for you.
If you still insist on not using one, unzip the contents of the vim-origami folder to your .vim folder.
Click on the package to download.
ip used for rating: 184.108.40.206