1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
vim-tiny is compiled using --with-features=small. Since there a lot of features
one-can-t-live-without which are missing from the "small" features subsed, extra
features are built in. This file describes them and is parsed during the
vim-tiny build process by debian/rules. Information extracted from this file are
then used to patch src/features.h so that the desired features are actually
built-in.
Each line which does not begin with "FEAT_" is ignored. Each line which is not
ignored must have the following format:
<C feature name from src/feature.h>
<TABs/SPACEs>
<feature description as per :help +feature-list>
<Newline>
In order to add an extra feature for "vim-tiny":
1) have a look at the features described in ":help +feature-list"
2) lookup them in src/feature.h to find the C feature name
3) add it below using the format described above
Extra features compiled in vim tiny:
FEAT_AUTOCMD N *+autocmd* |:autocmd|, automatic commands
FEAT_BYTEOFF N *+byte_offset* support for 'o' flag in 'statusline' option, "go"
FEAT_CMDL_COMPL N *+cmdline_compl* command line completion |cmdline-completion|
FEAT_CMDHIST N *+cmdline_hist* command line history |cmdline-history|
FEAT_CMDL_INFO N *+cmdline_info* |'showcmd'| and |'ruler'|
FEAT_COMMENTS N *+comments* |'comments'| support
FEAT_DIFF N *+diff* |vimdiff| and 'diff'
FEAT_DIGRAPHS N *+digraphs* |digraphs| *E196*
FEAT_EVAL N *+eval* expression evaluation |eval.txt|
FEAT_EX_EXTRA N *+ex_extra* Vim's extra Ex commands: |:center|, |:left|,
FEAT_SEARCH_EXTRA N *+extra_search* |'hlsearch'| and |'incsearch'| options.
FEAT_SEARCHPATH N *+file_in_path* |gf|, |CTRL-W_f| and |<cfile>|
FEAT_FOLDING N *+folding* |folding|
FEAT_INS_EXPAND N *+insert_expand* |insert_expand| Insert mode completion
FEAT_LISTCMDS N *+listcmds* Vim commands for the list of buffers |buffer-hidden|
FEAT_QUICKFIX N *+quickfix* |:make| and |quickfix| commands
FEAT_SCROLLBIND N *+scrollbind* |'scrollbind'|
FEAT_SMARTINDENT N *+smartindent* |'smartindent'|
FEAT_TEXTOBJ N *+textobjects* |text-objects| selection
FEAT_USR_CMDS N *+user_commands* User-defined commands. |user-commands|
FEAT_VERTSPLIT N *+vertsplit* Vertically split windows |:vsplit|
FEAT_VIMINFO N *+viminfo* |'viminfo'|
FEAT_VISUALEXTRA N *+visualextra* extra Visual mode commands |blockwise-operators|
If we do not want vimdiff in vim-tiny, we can remove from above: _AUTOCMD,
_DIFF, _SCROLLBIND, _VERTSPLIT.
All remaining features from the "normal" features subset.
N *+autocmd* |:autocmd|, automatic commands
N *+browse* |:browse| command
N *+builtin_terms* some terminals builtin |builtin-terms|
N *+byte_offset* support for 'o' flag in 'statusline' option, "go"
N *+cindent* |'cindent'|, C indenting
N *+clientserver* Unix and Win32: Remote invocation |clientserver|
N *+cmdline_compl* command line completion |cmdline-completion|
N *+cmdline_hist* command line history |cmdline-history|
N *+cmdline_info* |'showcmd'| and |'ruler'|
N *+comments* |'comments'| support
N *+cryptv* encryption support |encryption|
N *+dialog_gui* Support for |:confirm| with GUI dialog.
N *+dialog_con* Support for |:confirm| with console dialog.
N *+dialog_con_gui* Support for |:confirm| with GUI and console dialog.
N *+diff* |vimdiff| and 'diff'
N *+digraphs* |digraphs| *E196*
N *+eval* expression evaluation |eval.txt|
N *+ex_extra* Vim's extra Ex commands: |:center|, |:left|,
N *+extra_search* |'hlsearch'| and |'incsearch'| options.
N *+file_in_path* |gf|, |CTRL-W_f| and |<cfile>|
N *+find_in_path* include file searches: |[I|, |:isearch|,
N *+folding* |folding|
N *+gettext* message translations |multi-lang|
N *+insert_expand* |insert_expand| Insert mode completion
N *+jumplist* |jumplist|
N *+libcall* |libcall()|
N *+linebreak* |'linebreak'|, |'breakat'| and |'showbreak'|
N *+lispindent* |'lisp'|
N *+listcmds* Vim commands for the list of buffers |buffer-hidden|
N *+localmap* Support for mappings local to a buffer |:map-local|
N *+menu* |:menu|
N *+mksession* |:mksession|
N *+modify_fname* |filename-modifiers|
N *+mouse* Mouse handling |mouse-using|
N *+mouseshape* |'mouseshape'|
N *+mouse_gpm* Unix only: Linux console mouse handling |gpm-mouse|
N *+mouse_pterm* QNX only: pterm mouse handling |qnx-terminal|
N *+mouse_xterm* Unix only: xterm mouse handling |xterm-mouse|
N *+multi_lang* non-English language support |multi-lang|
N *+path_extra* Up/downwards search in 'path' and 'tags'
N *+printer* |:hardcopy| command
N *+quickfix* |:make| and |quickfix| commands
N *+reltime* |reltime()| function
N *+scrollbind* |'scrollbind'|
N *+smartindent* |'smartindent'|
N *+statusline* Options 'statusline', 'rulerformat' and special
N *+syntax* Syntax highlighting |syntax|
N *+tag_binary* binary searching in tags file |tag-binary-search|
N *+tag_old_static* old method for static tags |tag-old-static|
N *+termresponse* support for |t_RV| and |v:termresponse|
N *+textobjects* |text-objects| selection
N *+title* Setting the window title |'title'|
N *+toolbar* |gui-toolbar|
N *+user_commands* User-defined commands. |user-commands|
N *+viminfo* |'viminfo'|
N *+vertsplit* Vertically split windows |:vsplit|
N *+virtualedit* |'virtualedit'|
N *+visualextra* extra Visual mode commands |blockwise-operators|
N *+vreplace* |gR| and |gr|
N *+wildignore* |'wildignore'|
N *+wildmenu* |'wildmenu'|
N *+xterm_clipboard* Unix only: xterm clipboard handling
N *+X11* Unix only: can restore window title |X11|
-- James Vega <jamessan@debian.org> Tue, 09 May 2006 00:16:37 -0400
|