matze / vim-move

Plugin to move lines and selections up and down
http://www.vim.org/scripts/script.php?script_id=4687
MIT License
1.21k stars 56 forks source link

Moving lines closes folds #23

Closed Jeansen closed 4 years ago

Jeansen commented 7 years ago

Moving lines around while using folds results in folds getting closed. See https://github.com/matze/vim-move/issues/3#issuecomment-236520624 .

I'd really like to be able to have my folds stay the way they are and move some lines around where I am currently coding. I really like this plugin but having to open all folds to move some lines and then closing them again (loosing the current state of folds) is a bit tiresome. :-(

Or maybe there is just a setting I am missing?