Vim/Neovim plugin that show TeX outline and indent/dedent it.
Use your favorite plugin-manager.
"vim-plug
Plug 'Omochice/TeXOutline.vim'
"dein.vim
call dein#add('Omochice/TeXOutline.vim')
On TeX source buffer, execute TeXOutline
to show outline.
After this command, cursor move into outline buffer.
On outline buffer, type >>
or <<
on normal-mode to indent/dedent section.
And type >
or <
on visual-mode is able too.
-
TeXOutline
Show outline current TeX source. -
TeXOutlineIndent
Indent the section(s) on cursor/selected. -
TeXOutlineDedent
Dedent the section(s) on cursor/selected.
On outline buffer, below commands are defined.
nmap <buffer> << <Plug>(texoutline:normal:dedent)
nmap <buffer> >> <Plug>(texoutline:normal:indent)
xmap <buffer> < <Plug>(texoutline:visual:dedent)
xmap <buffer> > <Plug>(texoutline:visual:indent)
-
g:texoutline_disable_conceal
Disable conceal on outline. (Default tov:false
) -
g:texoutline_disable_mappings
Disable mappings on outline. (Default tov:false
) -
g:texoutline_width
Number that use as outline width (Default to30
)