Skip to content

Vim/Neovim plugin that show TeX outline and indent/dedent it

License

Notifications You must be signed in to change notification settings

Omochice/TeXOutline.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

TeXOutline.vim

Vim/Neovim plugin that show TeX outline and indent/dedent it.

demo

Installation

Use your favorite plugin-manager.

"vim-plug
Plug 'Omochice/TeXOutline.vim'

"dein.vim
call dein#add('Omochice/TeXOutline.vim')

Usage

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.

Commands

  • TeXOutline Show outline current TeX source.

  • TeXOutlineIndent Indent the section(s) on cursor/selected.

  • TeXOutlineDedent Dedent the section(s) on cursor/selected.

Mappings

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)

Variables

  • g:texoutline_disable_conceal Disable conceal on outline. (Default to v:false)

  • g:texoutline_disable_mappings Disable mappings on outline. (Default to v:false)

  • g:texoutline_width Number that use as outline width (Default to 30)

About

Vim/Neovim plugin that show TeX outline and indent/dedent it

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published