Added bash-support

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2020-11-16 12:54:24 +01:00
parent 5b8989ac04
commit fc7dc3f34a
56 changed files with 12377 additions and 1 deletions

View File

@ -0,0 +1,437 @@
=======================================================================================
RELEASE NOTES FOR VERSION 4.2
=======================================================================================
- Default shell can be set in ~/.vimrc via g:BASH_Executable.
- Errors can be parsed for bash, dash, ksh, zsh.
- Bugfix: QuickFix list doesn't work properly (thanks to @PengZheng)
- 'Run -> make script executable' (\re) is now a toggle.
- Minor corrections and improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 4.1
=======================================================================================
- Filetype plugin added.
- Bugfix: Setup of local templates in case of global installation.
- Adjusting end-of-line comments improved.
- Submenu 'Regexp' renamed to 'PatternMatching'. Appropriate hotkeys renamed.
- Minor bugfixes.
- Documentation updated.
=======================================================================================
RELEASE NOTES FOR VERSION 4.0
=======================================================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ The plug-in version 4.0+ is a rewriting of version 3.12.1. ++
++ The versions 4.0+ are based on a new and more powerful template system ++
++ (please see ":help template-support" for more information). ++
++ The template syntax has changed! ++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- New template system (many thanks to Wolfgang Mehner)
- A few new hotkeys and menu item.
- A few hotkeys and menu items renamed.
- Footer did not appear in doc/bash-hotkeys.pdf
=======================================================================================
RELEASE NOTES FOR VERSION 3.12.1
=======================================================================================
- Minor additions and bugfixes in 2 menus.
- Test -v added.
=======================================================================================
RELEASE NOTES FOR VERSION 3.12
=======================================================================================
- New global variable g:BASH_InsertFileHeader (suppress file description comment for new files)
- New menu item 'view code snippet' (\nv).
- New ex command BASH_ScriptCmdLineArguments.
- 3 ex commands renamed.
- Minor internal improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 3.11
=======================================================================================
- Rendering of manuals (\hm) and Bash help (\hh).
- Bugfix: \hb, \hm, \hh not working.
- Minor internal improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 3.10
=======================================================================================
- Resolve $HOME for linked home directories.
- Wrong insertion for parameter substitution "match beginning; del longest
part" (thanks to John Orr).
- Other minor bugs fixed.
=======================================================================================
RELEASE NOTES FOR VERSION 3.9
=======================================================================================
- Hotkey renamed: \st -> \su
- New global variable allows loading menus only with filetype 'sh'.
- Comments: echo "<line>" escapes double quotes in original text.
- Other minor bugs fixed.
=======================================================================================
RELEASE NOTES FOR VERSION 3.8
=======================================================================================
- New comment submenu 'script sections'.
- Two new hotkeys \css, \ckc for commenting.
- Two new plugin tags: LICENSE,ORGANIZATION
- Run menu: new item 'Bash cmd. line arg.' (\rba).
- I/O-Redir-menu: additional item'>&2'
- System-wide installation: minimal Template file for a user will automatically
be added.
- Hotkey renamed: \t -> \t1
- A few code snippets for debugging added.
- Bugfix: \cl did not work in insert mode.
- Other minor bugs fixed.
=======================================================================================
RELEASE NOTES FOR VERSION 3.7
=======================================================================================
- The three hotkeys \cl, \cj, \cc allow a range, e.g. '3\cl' (see help text and
bash-hot-key.pdf).
- Plugin loads faster: loading the templates is delayed until the first use.
- Plugin now works with pathogen.vim.
- Menus will always be generated (for the use with :emenu).
- Bugfix: no local templates available with a system-wide installation (thanks to Iain Arnell).
- Several improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 3.6
=======================================================================================
- New hotkey \ssa and menu entry for the selection of a subarray.
- Bugfix: detection of a systemwide installation can fail.
- Minor improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 3.5
=======================================================================================
- Bugfix: detection of a systemwide installation can fail.
- Minor improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 3.4
=======================================================================================
- 2 new hotkeys: \t, \t2 (empty tests)
- Windows: user and system installation.
- Syntax check under Windows.
- Several minor bugsfixed.
=======================================================================================
RELEASE NOTES FOR VERSION 3.3
=======================================================================================
- 3 hotkeys renamed: \sl -> \sei (elif), \sas -> \saa ( ${.[@]} ) , \hp -> \hbs.
- 3 new hotkeys: \sa1 ( ${.[*]} ), \san ( ${#.[@]} ), \sai ( ${!.[@]} ).
- 1 new menu entry (Tests)
- Minor improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 3.2
=======================================================================================
- New hotkey and menu entry for [[ =~ ]]
- New for Bash 4.1: shopt 'compat40', variables '$BASHOPTS', '$BASH_XTRACEFD'.
- Bugfixes: local installation looks like a system-wide installation in seldom cases.
- Bugfixes: typo in 4 menu entries.
=======================================================================================
RELEASE NOTES FOR VERSION 3.1.1
=======================================================================================
- Bugfixes: code snippets will not be found if plugin not installed beyond '$HOME/.vim'.
- Bugfixes: undocumented global variable used in above non-standard installation.
=======================================================================================
RELEASE NOTES FOR VERSION 3.1
=======================================================================================
- The plugin now handles different template styles without editing and
reloading the main template file.
- New hotkey and ex-command to switch template styles.
- New global List/Dictionnary g:BASH_AlsoBash: add filename pattern (and
styles) for files not named *.sh .
- Minor improvements.
- Bugfixes: missing redraws in some cases.
=======================================================================================
RELEASE NOTES FOR VERSION 3.0.1
=======================================================================================
- New global variable g:BASH_Errorformat: adapt the error format used to parse
runtime messages to your locale setting.
- Bugfix (Windows only): missing internal variable prevents proper initialization.
=======================================================================================
RELEASE NOTES FOR VERSION 3.0
=======================================================================================
+ Completely new template system. User can change templates on the fly.
+ Additional mapping Ctrl-j : jump behind parenthesis or strings in the current line.
+ A few Posix character classes have better shortcuts.
+ Bugfix: insert mode for Posix character classes.
=======================================================================================
RELEASE NOTES FOR VERSION 2.14
=======================================================================================
+ Debugging: ddd always called with bashdb(1).
+ More complete adaption to Bash 4.0: options, builtins, environment variables.
+ Bugfix: running and starting the debugger causes error if working directory is not
the directory of the current file.
+ Minor improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 2.13
=======================================================================================
+ New menu item 'array element'.
+ New hotkeys \sa, \sas.
+ New submenu 'Snippets'.
+ Hotkeys for the POSIX character classes.
+ Hardcopy (run menu) can print any buffer.
+ Bugfix: 'Run->save + run script' (\rr, <C-F9>) : visual mode broken.
+ Minor improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 2.12
=======================================================================================
+ Hotkeys are shown in the menus.
+ New menu item and hotkey \hb : open the Bash manual.
+ New hotkey \rco : syntax check options.
+ File browser for code snippets choosable (new global variable).
+ Bugfix: wrapper script for use of a xterm could not handle parameters containing blanks.
+ Minor improvements.
=======================================================================================
RELEASE NOTES FOR VERSION 2.11
=======================================================================================
+ Additions for Bash version 4.0.
+ Comments menu (\cj): adjustment of end-of-line comments improved.
+ Two submenus rearranged.
=======================================================================================
RELEASE NOTES FOR VERSION 2.10
=======================================================================================
- new item in the Statements-menu: 'for ((...)) do done'.
- new item in the Statements-menu: 'printf "%s"'.
- new item in the Statements-menu: indirect parameter expansion ${!name}
- Bugfix: unnecessary submenu beyond 'Environ'.
- Bugfix: shopt menu had no insert mode.
=======================================================================================
RELEASE NOTES FOR VERSION 2.9.1
=======================================================================================
- Map leader for hotkeys now user definable: new global variable g:BASH_MapLeader.
- Bugfix: 'Statements->no. of elem.s' inserts wrong text.
=======================================================================================
RELEASE NOTES FOR VERSION 2.9
=======================================================================================
+ Can now be used under Windows, e.g. with win-bash (few restrictions).
+ Name completion when entering a builtin name.
+ Bugfix: help shows no selection when just 2 manuals are available.
=======================================================================================
RELEASE NOTES FOR VERSION 2.8
=======================================================================================
+ New help menu: help reorganized, 3 new help hotkeys.
+ The help hotkeys now also work when Vim is run on the console.
=======================================================================================
RELEASE NOTES FOR VERSION 2.7.1
=======================================================================================
+ Minor bugfix in the I/O-Redir-menu.
+ I/O-Redir-menu shows redirectors (sort of help).
+ I/O-Redir-menu: here-document item has a vmode.
+ File name expansion for the first command line argument entered with <S-F9>.
=======================================================================================
RELEASE NOTES FOR VERSION 2.7
=======================================================================================
+ When a Bash script is started from the Vim command line errors and warnings (if any)
are caught in an error window allowing quickfix commands to be used.
+ Scripts which are not set executable can be run under Vim.
+ One new hotkey.
=======================================================================================
RELEASE NOTES FOR VERSION 2.6
=======================================================================================
+ Superfluous control characters for mode switching (menus, hotkeys) removed. Caused beeps.
+ Most hotkeys now work in insert mode.
=======================================================================================
RELEASE NOTES FOR VERSION 2.5
=======================================================================================
+ Menu item 'toggle comment' replaces 'code->comment' and 'comment->code'
+ Hotkey \co removed, \cc is now a toggle.
+ Bugfix. Adjusting comments (\cj): # in '$#' and '${#...}' is no longer
regarded as a start of a comment.
+ Bugfix. \cl in insert mode called function for visual mode.
=======================================================================================
RELEASE NOTES FOR VERSION 2.4
=======================================================================================
+ Format for the macros |DATE|, |TIME|, and |YEAR| can be defined by the user.
+ Help text improved.
+ Option 'nocasematch' added
+ Additional menu entries: 1 parameter substitution, 1 special variable, array index list.
=======================================================================================
RELEASE NOTES FOR VERSION 2.3
=======================================================================================
+ Changes to allow a system-wide installation.
=======================================================================================
RELEASE NOTES FOR VERSION 2.2
=======================================================================================
+ Snippets can now be managed in the console mode.
+ Three new key mappings for snippet handling.
+ Three items from the statements menu removed (quoting; but see file customization.vimrc).
=======================================================================================
RELEASE NOTES FOR VERSION 2.1
=======================================================================================
+ New menu item and key mapping to adjust end-of-line comments.
+ New insert mode mappings.
+ A few mappings have been renamed (to bring them into line with my C/C++ and Perl plugin).
=======================================================================================
RELEASE NOTES FOR VERSION 2.0.1
=======================================================================================
+ Bugfix: missing hotkey \ch added.
+ File wrapper.sh moved to the new directory 'bash-support/scripts'.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 2.0
---------------------------------------------------------------------------------------
+ PLUGIN DIRECTORIES REARRANGED.
+ One new mapping (\cs).
+ Statement menu extended.
+ Bash keyword help (S-F1) improved.
+ Bugfix: empty new file after removing the header template can't be closed.
+ Bugfix : Tools entry missing when root menu not shown from the start.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.15
---------------------------------------------------------------------------------------
+ Needs Vim version 7.0+.
+ Inserting a function can be used in visual mode (+ new key mapping).
+ Bugfix: cursor misplaced after some visual mode operations.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.14
---------------------------------------------------------------------------------------
+ Setting the column for the start of line-end comments improved.
+ Mac OS X : circumvent a Vim bug which caused a crash when loading plugin version 1.13.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.13
---------------------------------------------------------------------------------------
+ The hotkeys F9 and \rd now also starts the debugger if vim is running without GUI.
+ The debugger frontend ddd can be started as preferred debugger.
+ New help entry in the main menu of this plugin (shows the plugin documentation).
+ A hardcopy shows the localized date and time in the header line.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.12
---------------------------------------------------------------------------------------
+ Bugfix: hotkey <S-F9> now working again.
+ Syntax check recognizes shopt options.
+ New regex menu: compose regular expressions with a few keystrokes from the menu.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.11
---------------------------------------------------------------------------------------
+ Start debugger bashdb with a keystroke.
+ Parameter substitutions completed.
+ Environment variables completed / menu rearranged.
+ Builtins completed.
+ Code <-> comment working in all modes.
+ Insert/remove echo for commenting/uncommenting statements.
+ Script will be made executable before running it (e.g. after a "Save As...").
+ Statement menu now in alphabetical order.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.10.1
---------------------------------------------------------------------------------------
+ Starting an xterm was not possible with some installations (bugfix).
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.10
---------------------------------------------------------------------------------------
+ New Bash 3.0 set options added.
+ Shopt-menu added.
+ More builtins.
+ <S-F1> or \h displays help for the Bash builtin command under the cursor.
+ Key mappings for all run menu entries.
+ Line end comments start in a fixed column now (can be set from the menu).
+ Spaces in path names and file names are now possible.
+ Template files and snippet files are no longer kept in the list of alternate files.
+ Global variable is_bash is set to avoid a wrong highlighting for $(..) and $((..)).
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.9
---------------------------------------------------------------------------------------
+ Running a Bash-script
(1) The script can be run from the command line as usual.
(2) The output can be directed into a window with name "Bash-Output".
The buffer and its content will disappear when closing the window.
The buffer is reused when still open.
(3) The script can be run in an xterm.
+ The new hotkey Shift-F9 or the "cmd. line arg." sets command line arguments for the
current buffer (that is, each buffer can have its own arguments).
+ A code snippet with the file name extension "ni" or "noindent" will not be
indented on insertion.
+ 'Line End Comments' ignores blank lines in a marked block.
+ Calling a set-command (submenu "Set") for a marked block will set this option above
this block and unset it below.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.8
---------------------------------------------------------------------------------------
+ Installation simplified.
+ Run syntax check / list errors in an error window
+ Append aligned comments to all lines of a marked block.
+ The root menu can be removed (default is not removed).
+ The dialog windows (GUI) have been replaced by more flexible command line inputs.
+ User will now be asked before a snippet file will be overwritten.
+ The undocumented and unnecessary hot key F12 has been removed.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.7
---------------------------------------------------------------------------------------
+ Only one entry in the gVim root menu.
+ All hotkeys are only defined for bash files.
+ Install script added.
+ Customization improved.
+ Documentation improved.
+ Bug fix (template file handling)
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.6
---------------------------------------------------------------------------------------
+ 28 key mappings for Vim without GUI. See bash-hot-keys.pdf (reference card).
+ Vim doc added (file bashsupport.txt).
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.5
---------------------------------------------------------------------------------------
+ Tag substitution rewritten (Some characters in a substitution text for a tag
prevented the tag from being substituted).
+ All bash variables can now be inserted from the menus.
+ A marked region can be surrounded by a for-, if, select- while- or until
statement (with indentation).
+ A marked text can be surrounded with quotes.
+ A marked region or a complete line can be surrounded with echo " ".
+ The echo " " can be removed from a line.
---------------------------------------------------------------------------------------
RELEASE NOTES FOR VERSION 1.4
---------------------------------------------------------------------------------------
+ Block comments are now read as templates or skeletons from files:
frame Comment, function description, file header
+ These templates can contain tags like |FILENAME|, |AUTHOR| etc. which are replaced
after reading.
+ indentation: multiline inserts and code snippets will be indented after insertion.
+ Most menu entries are now also active in normal mode.
+ Reading the templates is done in one function which can be called in an autocmd.
+ Code cleanup: register z no longer used. Most function calls are silent now.

View File

@ -0,0 +1,268 @@
%%=====================================================================================
%%
%% File: bash-hotkeys.tex
%%
%% Description: bash-support.vim : Key mappings for Bash with/without GUI.
%%
%% Author: Dr.-Ing. Fritz Mehner
%% Email: mehner.fritz@fh-swf.de
%% Copyright: Copyright (C) 2013-2014 Dr.-Ing. Fritz Mehner (mehner.fritz@fh-swf.de)
%% Version: see \Pluginversion
%% Created: 20.05.2013
%%
%%=====================================================================================
%%======================================================================
%% LaTeX settings [[[1
%%======================================================================
\documentclass[oneside,11pt,landscape,DIV16]{scrartcl}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{lastpage}
\usepackage{multicol}
\usepackage{fancyhdr}
\setlength\parindent{0pt}
\newcommand{\Pluginversion}{4.2.1}
\newcommand{\ReleaseDate}{\today}
\newcommand{\Rep}{{\scriptsize{[n]}}}
%%----------------------------------------------------------------------
%% fancyhdr
%%----------------------------------------------------------------------
\pagestyle{fancyplain}
\fancyhf{}
\fancyfoot[L]{\small \ReleaseDate}
\fancyfoot[C]{\small bash-support.vim}
\fancyfoot[R]{\small \textbf{Page \thepage{} / \pageref{LastPage}}}
\renewcommand{\headrulewidth}{0.0pt}
%%----------------------------------------------------------------------
%% luximono : Type1-font
%% Makes keyword stand out by using semibold letters.
%%----------------------------------------------------------------------
\usepackage[scaled]{luximono}
%%----------------------------------------------------------------------
%% hyperref
%%----------------------------------------------------------------------
\usepackage[ps2pdf]{hyperref}
\hypersetup{pdfauthor={Dr.-Ing. Fritz Mehner, FH Südwestfalen, Iserlohn, Germany}}
\hypersetup{pdfkeywords={Vim, Perl}}
\hypersetup{pdfsubject={Vim-plug-in, bash-support.vim, hot keys}}
\hypersetup{pdftitle={Vim-plug-in, bash-support.vim, hot keys}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% START OF DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}%
\begin{multicols}{3}
%
\begin{center}
%
%%======================================================================
%% title [[[1
%%======================================================================
\textbf{\textsc{\small{Vim-Plug-in}}}\\
\textbf{\LARGE{bash-support.vim}}\\
\textbf{\textsc{\small{Version \Pluginversion}}}\\
\vspace{5mm}%
\textbf{\textsc{\Huge{Hot keys}}}\\
\vspace{5mm}%
Key mappings for Vim and gVim.\\
Plug-in: http://vim.sourceforge.net\\
Fritz Mehner (mehner.fritz@fh-swf.de)\\
\vspace{1.0mm}
{\normalsize (i)} insert mode, {\normalsize (n)} normal mode, {\normalsize (v)} visual mode\\
\vspace{4.0mm}
%%======================================================================
%% table, left part [[[1
%%======================================================================
%%----------------------------------------------------------------------
%% main menu [[[2
%%----------------------------------------------------------------------
%%~~~~~ TABULAR : begin ~~~~~~~~~~
\begin{tabular}[]{|p{11mm}|p{60mm}|}
\hline
\multicolumn{2}{|r|}{\textsl{\textbf{B}ash}}\\[1.0ex]
\hline \verb'\bps' & \textbf{p}arameter \textbf{s}ubstitution (list) \hfill (n, i)\\
\hline \verb'\bsp' & \textbf{s}pecial \textbf{p}arameters (list) \hfill (n, i)\\
\hline \verb'\ben' & \textbf{en}vironment (list) \hfill (n, i)\\
\hline \verb'\bbu' & \textbf{bu}iltins (list) \hfill (n, i)\\
\hline \verb'\bse' & \textbf{se}t options (list) \hfill (n, i)\\
\hline \verb'\bso' & \textbf{s}h\textbf{o}pts (list) \hfill (n, i)\\
\hline
%%----------------------------------------------------------------------
%% menu Comments [[[2
%%----------------------------------------------------------------------
\hline
\multicolumn{2}{|r|}{\textsl{\textbf{C}omments}} \\[1.0ex]
\hline \Rep\verb'\cl' & end-of-line comment \hfill (n, i, v)\\
\hline \Rep\verb'\cj' & adjust end-of-line comments \hfill (n, i, v)\\
\hline \verb'\cs' & set end-of-line comment col. \hfill (n)\\
%
\hline \Rep\verb'\cc' & code $\rightarrow$ comment \hfill (n, i, v)\\
\hline \Rep\verb'\cu' & uncomment code \hfill (n, i, v)\\
%
\hline \verb'\cfr' & frame comment \hfill (n, i)\\
\hline \verb'\cfu' & function description \hfill (n, i)\\
\hline \verb'\ch' & file header \hfill (n, i)\\
\hline \verb'\cd' & date \hfill (n, i)\\
\hline \verb'\ct' & date \& time \hfill (n, i)\\
\hline \verb'\css' & script sections \hfill (n, i)\\
\hline \verb'\ckc' & keyword comments \hfill (n, i)\\
\hline \verb'\cma' & plug-in macros \hfill (n, i)\\
%
\hline \verb'\ce' & \texttt{echo} "\textsl{actual line}" \hfill (n, i)\\
\hline \verb'\cr' & remove \texttt{echo} from actual line \hfill (n, i)\\
\hline
\end{tabular}\\
%%~~~~~ TABULAR : end ~~~~~~~~~~
%
%%======================================================================
%% table, middle part [[[1
%%======================================================================
%%----------------------------------------------------------------------
%% menu Statements [[[2
%%----------------------------------------------------------------------
%%~~~~~ TABULAR : begin ~~~~~~~~~~
\begin{tabular}[]{|p{11mm}|p{60mm}|}
\hline
\multicolumn{2}{|r|}{\textsl{\textbf{S}tatements}} \\[1.0ex]
\hline \verb'\sc' & \verb'case in ... esac' \hfill (n, i)\\
\hline \verb'\sei' & \verb'elif then' \hfill (n, i)\\
\hline \verb'\sf' & \verb'for in do done' \hfill (n, i, v)\\
\hline \verb'\sfo' & \verb'for ((...)) do done' \hfill (n, i, v)\\
\hline \verb'\si' & \verb'if then fi' \hfill (n, i, v)\\
\hline \verb'\sie' & \verb'if then else fi' \hfill (n, i, v)\\
\hline \verb'\ss' & \verb'select in do done' \hfill (n, i, v)\\
\hline \verb'\su' & \verb'until do done' \hfill (n, i, v)\\
\hline \verb'\sw' & \verb'while do done' \hfill (n, i, v)\\
\hline \verb'\sfu' & \verb'function' \hfill (n, i, v)\\
%
\hline \verb'\se' & \verb'echo -e ""' \hfill (n, i, v)\\
\hline \verb'\sp' & \verb'printf "%s"' \hfill (n, i, v)\\
%
\hline \verb'\sae' & array element\ \ \ \verb'${.[.]}' \hfill (n, i, v)\\
\hline \verb'\saa' & arr. elem.s (all) \ \verb'${.[@]}' \hfill (n, i, v)\\
\hline \verb'\sas' & arr. elem.s (1 word) \ \verb'${.[*]}' \hfill (n, i, v)\\
\hline \verb'\ssa' & subarray \ \verb'${.[@]::}' \hfill (n, i, v)\\
\hline \verb'\san' & no. of arr. elem.s \ \verb'${.[@]}' \hfill (n, i, v)\\
\hline \verb'\sai' & list of indices \ \verb'${.[*]}' \hfill (n, i, v)\\
\hline
%%
%%----------------------------------------------------------------------
%% menu Tests [[[2
%%----------------------------------------------------------------------
\hline
\multicolumn{2}{|r|}{\textsl{\textbf{T}ests}} \\[1.0ex]
\hline \verb'\ta' & arithmetic tests \hfill (n, i)\\
\hline \verb'\tfp' & file permissions \hfill (n, i)\\
\hline \verb'\tft' & file types \hfill (n, i)\\
\hline \verb'\tfc' & file characteristics \hfill (n, i)\\
\hline \verb'\ts' & string comparisons \hfill (n, i)\\
\hline \verb'\toe' & option is enabled \hfill (n, i)\\
\hline \verb'\tvs' & variables has been set \hfill (n, i)\\
\hline \verb'\tfd' & file descr. refers to a terminal \hfill (n, i)\\
\hline \verb'\tm' & string matches regexp \hfill (n, i)\\
\hline
%%
%%----------------------------------------------------------------------
%% menu IO-Redirection [[[2
%%----------------------------------------------------------------------
\hline
\multicolumn{2}{|r|}{\textsl{\textbf{I}O-Redirection}} \\[1.0ex]
\hline \verb'\ior' & IO-redirections (list) \hfill (n, i)\\
\hline \verb'\ioh' & here-document \hfill (n, i)\\
\hline
%
\end{tabular}\\
%%~~~~~ TABULAR : end ~~~~~~~~~~
%
%%======================================================================
%% table, right part [[[1
%%======================================================================
%%----------------------------------------------------------------------
%% menu Pattern Matching [[[2
%%----------------------------------------------------------------------
%%~~~~~ TABULAR : begin ~~~~~~~~~~
\begin{tabular}[]{|p{11mm}|p{62mm}|}
\hline
\multicolumn{2}{|r|}{\textsl{\textbf{P}attern Matching}} \\[1.0ex]
\hline \verb'pzo' & zero or one, \verb' ?( | )' \hfill (n, i)\\
\hline \verb'pzm' & zero or more, \verb' *( | )' \hfill (n, i)\\
\hline \verb'pom' & one or more, \verb' +( | )' \hfill (n, i)\\
\hline \verb'peo' & exactly one, \verb' @( | )' \hfill (n, i)\\
\hline \verb'pae' & anything except, \verb' !( | )' \hfill (n, i)\\
\hline \verb'ppc' & POSIX classes \hfill (n, i)\\
\hline \verb'pbr' & \verb'${BASH_REMATCH[0'$\ldots$\verb'3]}' \hfill (n, i)\\
\hline
%
%%----------------------------------------------------------------------
%% menu Snippet [[[2
%%----------------------------------------------------------------------
\hline
\multicolumn{2}{|r|}{\textsl{S\textbf{n}ippets}} \\[1.0ex]
\hline \verb'\nr' & read code snippet \hfill (n, i)\\
\hline \verb'\nv' & view code snippet \hfill (n, i)\\
\hline \verb'\nw' & write code snippet \hfill (n, i, v)\\
\hline \verb'\ne' & edit code snippet \hfill (n, i)\\
\hline \verb'\ntl' & edit templates \hfill (n, i)\\
\hline \verb'\ntr' & reread templates \hfill (n, i)\\
\hline \verb'\nts' & choose style \hfill (n, i)\\
\hline
%%----------------------------------------------------------------------
%% menu Run [[[2
%%----------------------------------------------------------------------
\hline
\multicolumn{2}{|r|}{\textsl{\textbf{R}un}} \\[1.0ex]
\hline \verb'\rr' & update file, run script \hfill (n, i, v$^1$)\\
\hline \verb'\ra' & set script cmd. line arguments \hfill (n, i)\\
\hline \verb'\rba' & set Bash cmd. line arguments \hfill (n, i)\\
\hline \verb'\rc' & update file, check syntax \hfill (n, i)\\
\hline \verb'\rco' & syntax check options \hfill (n, i)\\
\hline \verb'\rd' & start debugger$^1$ \hfill (n, i)\\
\hline \verb'\re' & make script executable/not exec.$^1$ \hfill (n, i)\\
\hline \verb'\rh' & hardcopy buffer \hfill (n, i, v)\\
\hline \verb'\rs' & plug-in settings \hfill (n, i)\\
\hline \verb'\rx' & set xterm size$^{1,2}$ \hfill (n, i)\\
\hline \verb'\ro' & change output destination \hfill (n, i)\\
\hline
%%----------------------------------------------------------------------
%% menu Help [[[2
%%----------------------------------------------------------------------
\hline
\multicolumn{2}{|r|}{\textsl{\textbf{H}elp}}\\[1.0ex]
\hline \verb'\hb' & display the Bash manual \hfill (n,i)\\
\hline \verb'\hh' & help (Bash builtins) \hfill (n,i)\\
\hline \verb'\hm' & show manual (cmd. line utilities) \hfill (n,i)\\
\hline \verb'\hp' & help (plug-in) \hfill (n,i)\\
\hline
\end{tabular}\\
%%~~~~~ TABULAR : end ~~~~~~~~~~
%
\vfill
%
\begin{minipage}[b]{75mm}%
\scriptsize{%
\vspace{2mm}
%\hrulefill\\
$^1$ {Linux/U**x only}\\
$^2$ {GUI only}
}%
\end{minipage}\\
%
%
\end{center}%
\end{multicols}%
%
%%----- TABBING : end ----------
\end{document}
% vim: foldmethod=marker foldmarker=[[[,]]]

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,136 @@
Bash_ResetMapLeader() bashsupport.txt /*Bash_ResetMapLeader()*
Bash_SetMapLeader() bashsupport.txt /*Bash_SetMapLeader()*
bash-support bashsupport.txt /*bash-support*
bashsupport bashsupport.txt /*bashsupport*
bashsupport-Ctrl-j bashsupport.txt /*bashsupport-Ctrl-j*
bashsupport-ad-mappings bashsupport.txt /*bashsupport-ad-mappings*
bashsupport-aligned-comm bashsupport.txt /*bashsupport-aligned-comm*
bashsupport-also-bash bashsupport.txt /*bashsupport-also-bash*
bashsupport-bash-cmdline-args bashsupport.txt /*bashsupport-bash-cmdline-args*
bashsupport-cmdline-args bashsupport.txt /*bashsupport-cmdline-args*
bashsupport-codesnippets bashsupport.txt /*bashsupport-codesnippets*
bashsupport-comm-echo bashsupport.txt /*bashsupport-comm-echo*
bashsupport-comm-keywords bashsupport.txt /*bashsupport-comm-keywords*
bashsupport-comm-realign bashsupport.txt /*bashsupport-comm-realign*
bashsupport-comm-templates bashsupport.txt /*bashsupport-comm-templates*
bashsupport-comm-toggle bashsupport.txt /*bashsupport-comm-toggle*
bashsupport-comments bashsupport.txt /*bashsupport-comments*
bashsupport-custom-files bashsupport.txt /*bashsupport-custom-files*
bashsupport-custom-root bashsupport.txt /*bashsupport-custom-root*
bashsupport-custom-variables bashsupport.txt /*bashsupport-custom-variables*
bashsupport-customization bashsupport.txt /*bashsupport-customization*
bashsupport-debugger bashsupport.txt /*bashsupport-debugger*
bashsupport-dictionary bashsupport.txt /*bashsupport-dictionary*
bashsupport-errorformat bashsupport.txt /*bashsupport-errorformat*
bashsupport-hardcopy bashsupport.txt /*bashsupport-hardcopy*
bashsupport-help bashsupport.txt /*bashsupport-help*
bashsupport-hotkeys bashsupport.txt /*bashsupport-hotkeys*
bashsupport-io-redir bashsupport.txt /*bashsupport-io-redir*
bashsupport-output bashsupport.txt /*bashsupport-output*
bashsupport-pattern bashsupport.txt /*bashsupport-pattern*
bashsupport-release-notes bashsupport.txt /*bashsupport-release-notes*
bashsupport-run bashsupport.txt /*bashsupport-run*
bashsupport-run-script bashsupport.txt /*bashsupport-run-script*
bashsupport-snippets bashsupport.txt /*bashsupport-snippets*
bashsupport-stat-norm-ins bashsupport.txt /*bashsupport-stat-norm-ins*
bashsupport-stat-visual bashsupport.txt /*bashsupport-stat-visual*
bashsupport-statements bashsupport.txt /*bashsupport-statements*
bashsupport-syntax-check bashsupport.txt /*bashsupport-syntax-check*
bashsupport-syntax-check-options bashsupport.txt /*bashsupport-syntax-check-options*
bashsupport-system-wide bashsupport.txt /*bashsupport-system-wide*
bashsupport-templates bashsupport.txt /*bashsupport-templates*
bashsupport-templates-date bashsupport.txt /*bashsupport-templates-date*
bashsupport-templates-definition bashsupport.txt /*bashsupport-templates-definition*
bashsupport-templates-edit bashsupport.txt /*bashsupport-templates-edit*
bashsupport-templates-files bashsupport.txt /*bashsupport-templates-files*
bashsupport-templates-jumptags bashsupport.txt /*bashsupport-templates-jumptags*
bashsupport-templates-macros bashsupport.txt /*bashsupport-templates-macros*
bashsupport-templates-names bashsupport.txt /*bashsupport-templates-names*
bashsupport-tests bashsupport.txt /*bashsupport-tests*
bashsupport-troubleshooting bashsupport.txt /*bashsupport-troubleshooting*
bashsupport-usage-gvim bashsupport.txt /*bashsupport-usage-gvim*
bashsupport-usage-vim bashsupport.txt /*bashsupport-usage-vim*
bashsupport-windows bashsupport.txt /*bashsupport-windows*
bashsupport-xterm bashsupport.txt /*bashsupport-xterm*
bashsupport.txt bashsupport.txt /*bashsupport.txt*
mmtemplates#core#ChooseStyle() templatesupport.txt /*mmtemplates#core#ChooseStyle()*
mmtemplates#core#CreateMaps() templatesupport.txt /*mmtemplates#core#CreateMaps()*
mmtemplates#core#CreateMenus() templatesupport.txt /*mmtemplates#core#CreateMenus()*
mmtemplates#core#EditTemplateFiles() templatesupport.txt /*mmtemplates#core#EditTemplateFiles()*
mmtemplates#core#EscapeMenu() templatesupport.txt /*mmtemplates#core#EscapeMenu()*
mmtemplates#core#ExpandText() templatesupport.txt /*mmtemplates#core#ExpandText()*
mmtemplates#core#InsertTemplate() templatesupport.txt /*mmtemplates#core#InsertTemplate()*
mmtemplates#core#JumpToTag() templatesupport.txt /*mmtemplates#core#JumpToTag()*
mmtemplates#core#NewLibrary() templatesupport.txt /*mmtemplates#core#NewLibrary()*
mmtemplates#core#ReadTemplates() templatesupport.txt /*mmtemplates#core#ReadTemplates()*
mmtemplates#core#ResetMapleader() templatesupport.txt /*mmtemplates#core#ResetMapleader()*
mmtemplates#core#Resource() templatesupport.txt /*mmtemplates#core#Resource()*
mmtemplates#core#SetMapleader() templatesupport.txt /*mmtemplates#core#SetMapleader()*
template-support templatesupport.txt /*template-support*
template-support-IncludeFile() templatesupport.txt /*template-support-IncludeFile()*
template-support-MenuShortcut() templatesupport.txt /*template-support-MenuShortcut()*
template-support-PickFile() templatesupport.txt /*template-support-PickFile()*
template-support-PickList() templatesupport.txt /*template-support-PickList()*
template-support-Prompt() templatesupport.txt /*template-support-Prompt()*
template-support-SetFormat() templatesupport.txt /*template-support-SetFormat()*
template-support-SetMacro() templatesupport.txt /*template-support-SetMacro()*
template-support-SetPath() templatesupport.txt /*template-support-SetPath()*
template-support-SetProperty() templatesupport.txt /*template-support-SetProperty()*
template-support-SetStyle() templatesupport.txt /*template-support-SetStyle()*
template-support-above templatesupport.txt /*template-support-above*
template-support-adv-files templatesupport.txt /*template-support-adv-files*
template-support-adv-styles templatesupport.txt /*template-support-adv-styles*
template-support-advanced templatesupport.txt /*template-support-advanced*
template-support-api templatesupport.txt /*template-support-api*
template-support-api-access templatesupport.txt /*template-support-api-access*
template-support-api-basic templatesupport.txt /*template-support-api-basic*
template-support-api-maps templatesupport.txt /*template-support-api-maps*
template-support-api-misc templatesupport.txt /*template-support-api-misc*
template-support-append templatesupport.txt /*template-support-append*
template-support-backwards templatesupport.txt /*template-support-backwards*
template-support-bare templatesupport.txt /*template-support-bare*
template-support-basics templatesupport.txt /*template-support-basics*
template-support-below templatesupport.txt /*template-support-below*
template-support-change-log templatesupport.txt /*template-support-change-log*
template-support-cmd-cmd-sct templatesupport.txt /*template-support-cmd-cmd-sct*
template-support-cmd-templates templatesupport.txt /*template-support-cmd-templates*
template-support-commands templatesupport.txt /*template-support-commands*
template-support-contents templatesupport.txt /*template-support-contents*
template-support-dict templatesupport.txt /*template-support-dict*
template-support-dictionary templatesupport.txt /*template-support-dictionary*
template-support-expandmenu templatesupport.txt /*template-support-expandmenu*
template-support-hash templatesupport.txt /*template-support-hash*
template-support-help-templ templatesupport.txt /*template-support-help-templ*
template-support-indent templatesupport.txt /*template-support-indent*
template-support-insert templatesupport.txt /*template-support-insert*
template-support-intro templatesupport.txt /*template-support-intro*
template-support-lib-person templatesupport.txt /*template-support-lib-person*
template-support-library templatesupport.txt /*template-support-library*
template-support-list templatesupport.txt /*template-support-list*
template-support-lists templatesupport.txt /*template-support-lists*
template-support-lists-format templatesupport.txt /*template-support-lists-format*
template-support-lists-hash templatesupport.txt /*template-support-lists-hash*
template-support-map templatesupport.txt /*template-support-map*
template-support-menus templatesupport.txt /*template-support-menus*
template-support-noindent templatesupport.txt /*template-support-noindent*
template-support-nomenu templatesupport.txt /*template-support-nomenu*
template-support-novisual templatesupport.txt /*template-support-novisual*
template-support-opt-list templatesupport.txt /*template-support-opt-list*
template-support-opt-templ templatesupport.txt /*template-support-opt-templ*
template-support-options templatesupport.txt /*template-support-options*
template-support-sc templatesupport.txt /*template-support-sc*
template-support-shortcut templatesupport.txt /*template-support-shortcut*
template-support-start templatesupport.txt /*template-support-start*
template-support-syntax templatesupport.txt /*template-support-syntax*
template-support-syntax-cmd templatesupport.txt /*template-support-syntax-cmd*
template-support-syntax-list templatesupport.txt /*template-support-syntax-list*
template-support-syntax-templ templatesupport.txt /*template-support-syntax-templ*
template-support-templ-macro templatesupport.txt /*template-support-templ-macro*
template-support-templ-maps templatesupport.txt /*template-support-templ-maps*
template-support-templ-place templatesupport.txt /*template-support-templ-place*
template-support-templ-predef templatesupport.txt /*template-support-templ-predef*
template-support-templ-tags templatesupport.txt /*template-support-templ-tags*
template-support-templ-visual templatesupport.txt /*template-support-templ-visual*
template-support-templates templatesupport.txt /*template-support-templates*
template-support-visual templatesupport.txt /*template-support-visual*
templatesupport.txt templatesupport.txt /*templatesupport.txt*

File diff suppressed because it is too large Load Diff