Skip to content

shinespark/vim-list2tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-list2tree

Convert markdown list format to tree format.

images

Usage

Write directories / files by markdown list.

* .
  * dir
    * file
    * file
    * file
  * dir
    * dir
      * file
      * file
  * file

Select target lines by linewise-visual, type :'<,'>List2Tree .

.
├── dir
│   ├── file
│   ├── file
│   └── file
├── dir
│   └── dir
│       ├── file
│       └── file
└── file

If you need to use keymapping, add this vim setting.

vnoremap <c-t> :<c-u>'<,'>List2Tree<CR>

Install

dein.vim

call dein#add('shinespark/vim-list2tree', {'lazy': 1, 'on_cmd': 'List2Tree'})

About

Convert markdown list format to tree format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published