diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/third/vim/2context.vim')
-rw-r--r-- | Master/texmf-dist/tex/context/third/vim/2context.vim | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/context/third/vim/2context.vim b/Master/texmf-dist/tex/context/third/vim/2context.vim index 533a116983e..a90fc0719c4 100644 --- a/Master/texmf-dist/tex/context/third/vim/2context.vim +++ b/Master/texmf-dist/tex/context/third/vim/2context.vim @@ -3,21 +3,24 @@ " license : Simplified BSD License " This script is part of the t-vim module for ConTeXt. It is based on 2html.vim. -" It assumes that two buffers are open. The first buffer is the output buffer, -" and the second buffer is the input buffer. +" It assumes that two buffers are open. The first buffer is the input buffer, +" and the second buffer is the output buffer. " We move back and forth between the buffers, +" Split and go to the last buffer +sblast + " Make sure that the buffer is modifiable set modifiable " ... and empty %d -" Go to the last buffer -sblast - " Loop over all lines in the original text. + +wincmd p + " Use contextstartline and contextstopline if they are set. if exists("contextstartline") |