-
Using Pathogen, run the following commands:
% git clone https://github.com/ferranpm/vim-isolate ~/.vim/bundle/isolate
call :[range]Isolation
to edit part of a file on a new buffer. When finished,
call :Isolation
to merge the edited part with the file
Recommended mapping
nnoremap <leader>i vap \| :Isolation<cr>
vnoremap <leader>i :Isolation<cr>
Not Updated to show toggling or explicit ranges (:n,N Isolation
)