/lahfold

Foldtext function for vim with three levels

Primary LanguageVim ScriptGNU General Public License v3.0GPL-3.0

lahfold

This plugin defines and use a new Foldmethod function to show the file folds in the way I like.

This function shows three levels of folds, with different indent left and right.

To use it you should set foldenable and define the foldmethod. I usually prefer set foldmethod=marker instead of other methods for better workflow, but YMMV.

This is what you will get:

● Global settings ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 324
● Plugins settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 123
● Functions ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 332
" {{{
" Keymapping
  ▬ DOC: FUNCTION KEYS ------------------------------------------------- 79
  ▬ DOC: KEYS WITH CONTROL/SHIFT --------------------------------------- 76
" {{{
" DOC: KEYS WITH LEADER
    ▪ DOC: <Leader><Leader> Start or end visual mode ................. 6
    ▪ DOC: <Leader>aa Align by AND ................................... 5
    ▪ DOC: <Leader>ac Align by ....................................... 5

INSTALL

For instance with Pathogen

git clone https://github.com/alfabeto1/lahfold.git ~/.vim/bundle/lahfold

LICENSE

GPL

Sample screenshots

Screenshot
Screenshot
Screenshot
Screenshot