vim:plugs: Add vim-sort-folds

> Sorting folds is not easily possible in vanilla vim. You could join
> all lines in a fold, sort and split them up again; however, it is time
> consuming and tedious.
>
> This little plugin solves that issue: It sorts a visually selected
> region while keeping closed folds intact. Since folds can be created
> in a variety of ways, it is therefore straight-forward to sort
> arbitrary groups of text based on their first line.
This commit is contained in:
2022-04-24 14:57:50 +02:00
parent 8107bc6ec0
commit 464d4de64b
3 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1 @@
../opt/vim-sort-folds/

3
.gitmodules vendored
View File

@@ -71,6 +71,9 @@
[submodule "vim-obsession"]
path = .config/vim/pack/plugins/opt/vim-obsession
url = https://github.com/tpope/vim-obsession
[submodule "vim-sort-folds"]
path = .config/vim/pack/plugins/opt/vim-sort-folds
url = https://github.com/obreitwi/vim-sort-folds
[submodule "vim-surround"]
path = .config/vim/pack/plugins/opt/vim-surround
url = https://github.com/tpope/vim-surround