There's another common use case: extract a portion of a file to a buffer which is mapped back to that file. This is useful when one needs to diff two portion of a file, possibly during a merge conflict resolution. I use a small (unpublished) plugin for that, I wonder how other people are doing this?
VimTrick: Extract lines to file
There's another common use case: extract a portion of a file to a buffer which is mapped back to that file. This is useful when one needs to diff two portion of a file, possibly during a merge conflict resolution. I use a small (unpublished) plugin for that, I wonder how other people are doing this?