From d427907af2578f88bc7e72c28d64537ab34df520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Thu, 10 Oct 2013 21:48:43 +0200 Subject: [PATCH] Some updates and improvements --- doc/latex.txt | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/doc/latex.txt b/doc/latex.txt index 5058aaf..6497109 100644 --- a/doc/latex.txt +++ b/doc/latex.txt @@ -132,7 +132,7 @@ The default mappings for |vim-latex| are given below. See 'map-listing' for an explanation of the format. The function |latex#help| is provided for convenience to list all the defined mappings, and it is by default mapped to 'lh'. The default mappings may be disabled with the option -|g:latex_default_mappings|, if the user wishes to create his own mappings. +|g:latex_mappings_enabled|, if the user wishes to create his own mappings. n % *@:call latex#motion#find_matching_pair() v % *@:call latex#motion#find_matching_pair(1) @@ -217,7 +217,6 @@ Overview:~ |g:latex_complete_close_braces| |g:latex_complete_enabled| |g:latex_complete_patterns| - |g:latex_default_mappings| |g:latex_errorformat_ignore_warnings| |g:latex_errorformat_show_warnings| |g:latex_fold_enabled| @@ -225,11 +224,13 @@ Overview:~ |g:latex_fold_parts| |g:latex_fold_preamble| |g:latex_fold_sections| + |g:latex_indent_enabled| |g:latex_latexmk_autojump| |g:latex_latexmk_enabled| |g:latex_latexmk_options| |g:latex_latexmk_output| |g:latex_main_tex_candidates| + |g:latex_mappings_enabled| |g:latex_motion_enabled| |g:latex_motion_matchparen| |g:latex_toc_enabled| @@ -274,13 +275,6 @@ triggered. > \ }) < - *g:latex_default_mappings* -Whether to load the default mappings. If this is set to 0, then no mappings -will be defined. Since all of the functionality is available as functions, -this allows the user to define his or her own mappings. > - let g:latex_default_mappings = 1 -< - *g:latex_errorformat_ignore_warnings* List of warning messages that should be ignored. > let g:latex_errorformat_ignore_warnings = [ @@ -329,7 +323,10 @@ List of section constructs that should be folded. > \ "subsection", \ "subsubsection", \ ] -< + + *g:latex_indent_enabled* +Use |vim-latex| indentation function. Not as customizable as the official +indentation function, but imho it is better. *g:latex_latexmk_autojump* Whether to automatically jump to the first error when the error window is @@ -367,6 +364,13 @@ main tex file in multi-file projects. > \] < + *g:latex_mappings_enabled* +Whether to load the default mappings. If this is set to 0, then no mappings +will be defined. Since all of the functionality is available as functions, +this allows the user to define his or her own mappings. > + let g:latex_default_mappings = 1 +< + *g:latex_motion_enabled* Whether to enable the motion interface. If it is disabled, then neither the default mappings nor the autocommands that enable highlighting of matching