mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
3b94756feb
commit
7497dbee16
@ -832,13 +832,13 @@ This replaces each 'E' character with a euro sign. Read more in |<Char->|.
|
|||||||
:promptf[ind] [string]
|
:promptf[ind] [string]
|
||||||
Put up a Search dialog. When [string] is given, it is
|
Put up a Search dialog. When [string] is given, it is
|
||||||
used as the initial search string.
|
used as the initial search string.
|
||||||
{only for Win32, Motif and GTK GUI}
|
{only for Win32 and GTK GUI}
|
||||||
|
|
||||||
*:promptr* *:promptrepl*
|
*:promptr* *:promptrepl*
|
||||||
:promptr[epl] [string]
|
:promptr[epl] [string]
|
||||||
Put up a Search/Replace dialog. When [string] is
|
Put up a Search/Replace dialog. When [string] is
|
||||||
given, it is used as the initial search string.
|
given, it is used as the initial search string.
|
||||||
{only for Win32, Motif and GTK GUI}
|
{only for Win32 and GTK GUI}
|
||||||
|
|
||||||
|
|
||||||
4.4 Changing tabs *change-tabs*
|
4.4 Changing tabs *change-tabs*
|
||||||
|
@ -1,107 +0,0 @@
|
|||||||
*debugger.txt* For Vim version 7.4. Last change: 2005 Mar 29
|
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Gordon Prieur
|
|
||||||
|
|
||||||
|
|
||||||
Debugger Support Features *debugger-support*
|
|
||||||
|
|
||||||
1. Debugger Features |debugger-features|
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
1. Debugger Features *debugger-features*
|
|
||||||
|
|
||||||
The following features are available for an integration with a debugger or
|
|
||||||
an Integrated Programming Environment (IPE) or Integrated Development
|
|
||||||
Environment (IDE):
|
|
||||||
|
|
||||||
Alternate Command Input |alt-input|
|
|
||||||
Debug Signs |debug-signs|
|
|
||||||
Debug Source Highlight |debug-highlight|
|
|
||||||
Message Footer |gui-footer|
|
|
||||||
Balloon Evaluation |balloon-eval|
|
|
||||||
|
|
||||||
These features were added specifically for use in the Motif version of gvim.
|
|
||||||
However, the |alt-input| and |debug-highlight| were written to be usable in
|
|
||||||
both vim and gvim. Some of the other features could be used in the non-GUI
|
|
||||||
vim with slight modifications. However, I did not do this nor did I test the
|
|
||||||
reliability of building for vim or non Motif GUI versions.
|
|
||||||
|
|
||||||
|
|
||||||
1.1 Alternate Command Input *alt-input*
|
|
||||||
|
|
||||||
For Vim to work with a debugger there must be at least an input connection
|
|
||||||
with a debugger or external tool. In many cases there will also be an output
|
|
||||||
connection but this isn't absolutely necessary.
|
|
||||||
|
|
||||||
The purpose of the input connection is to let the external debugger send
|
|
||||||
commands to Vim. The commands sent by the debugger should give the debugger
|
|
||||||
enough control to display the current debug environment and state.
|
|
||||||
|
|
||||||
The current implementation is based on the X Toolkit dispatch loop and the
|
|
||||||
XtAddInput() function call.
|
|
||||||
|
|
||||||
|
|
||||||
1.2 Debug Signs *debug-signs*
|
|
||||||
|
|
||||||
Many debuggers mark specific lines by placing a small sign or color highlight
|
|
||||||
on the line. The |:sign| command lets the debugger set this graphic mark. Some
|
|
||||||
examples where this feature would be used would be a debugger showing an arrow
|
|
||||||
representing the Program Counter (PC) of the program being debugged. Another
|
|
||||||
example would be a small stop sign for a line with a breakpoint. These visible
|
|
||||||
highlights let the user keep track of certain parts of the state of the
|
|
||||||
debugger.
|
|
||||||
|
|
||||||
This feature can be used with more than debuggers, too. An IPE can use a sign
|
|
||||||
to highlight build errors, searched text, or other things. The sign feature
|
|
||||||
can also work together with the |debug-highlight| to ensure the mark is
|
|
||||||
highly visible.
|
|
||||||
|
|
||||||
Debug signs are defined and placed using the |:sign| command.
|
|
||||||
|
|
||||||
|
|
||||||
1.3 Debug Source Highlight *debug-highlight*
|
|
||||||
|
|
||||||
This feature allows a line to have a predominant highlight. The highlight is
|
|
||||||
intended to make a specific line stand out. The highlight could be made to
|
|
||||||
work for both vim and gvim, whereas the debug sign is, in most cases, limited
|
|
||||||
to gvim. The one exception to this is Sun Microsystem's dtterm. The dtterm
|
|
||||||
from Sun has a "sign gutter" for showing signs.
|
|
||||||
|
|
||||||
|
|
||||||
1.4 Message Footer *gui-footer*
|
|
||||||
|
|
||||||
The message footer can be used to display messages from a debugger or IPE. It
|
|
||||||
can also be used to display menu and toolbar tips. The footer area is at the
|
|
||||||
bottom of the GUI window, below the line used to display colon commands.
|
|
||||||
|
|
||||||
The display of the footer is controlled by the 'guioptions' letter 'F'.
|
|
||||||
|
|
||||||
|
|
||||||
1.5 Balloon Evaluation *balloon-eval*
|
|
||||||
|
|
||||||
This feature allows a debugger, or other external tool, to display dynamic
|
|
||||||
information based on where the mouse is pointing. The purpose of this feature
|
|
||||||
was to allow Sun's Visual WorkShop debugger to display expression evaluations.
|
|
||||||
However, the feature was implemented in as general a manner as possible and
|
|
||||||
could be used for displaying other information as well.
|
|
||||||
|
|
||||||
The Balloon Evaluation has some settable parameters too. For Motif the font
|
|
||||||
list and colors can be set via X resources (XmNballoonEvalFontList,
|
|
||||||
XmNballoonEvalBackground, and XmNballoonEvalForeground).
|
|
||||||
The 'balloondelay' option sets the delay before an attempt is made to show a
|
|
||||||
balloon.
|
|
||||||
The 'ballooneval' option needs to be set to switch it on.
|
|
||||||
|
|
||||||
Balloon evaluation is only available when compiled with the |+balloon_eval|
|
|
||||||
feature.
|
|
||||||
|
|
||||||
The Balloon evaluation functions are also used to show a tooltip for the
|
|
||||||
toolbar. The 'ballooneval' option does not need to be set for this. But the
|
|
||||||
other settings apply.
|
|
||||||
|
|
||||||
Another way to use the balloon is with the 'balloonexpr' option. This is
|
|
||||||
completely user definable.
|
|
||||||
|
|
||||||
==============================================================================
|
|
||||||
vim:tw=78:sw=4:ts=8:ft=help:norl:
|
|
@ -1145,7 +1145,7 @@ If you want to always use ":confirm", set the 'confirm' option.
|
|||||||
|:diffsplit|, |:diffpatch|, |:pedit|, |:redir|,
|
|:diffsplit|, |:diffpatch|, |:pedit|, |:redir|,
|
||||||
|:source|, |:update|, |:visual|, |:vsplit|,
|
|:source|, |:update|, |:visual|, |:vsplit|,
|
||||||
and |:qall| if 'confirm' is set.
|
and |:qall| if 'confirm' is set.
|
||||||
{only in Win32, Motif, GTK and Mac GUI}
|
{only in Win32, GTK and Mac GUI}
|
||||||
When ":browse" is not possible you get an error
|
When ":browse" is not possible you get an error
|
||||||
message. If the |+browse| feature is missing or the
|
message. If the |+browse| feature is missing or the
|
||||||
{command} doesn't support browsing, the {command} is
|
{command} doesn't support browsing, the {command} is
|
||||||
|
@ -2563,10 +2563,10 @@ confirm({msg} [, {choices} [, {default} [, {type}]]])
|
|||||||
{default} is omitted, 1 is used.
|
{default} is omitted, 1 is used.
|
||||||
|
|
||||||
The optional {type} argument gives the type of dialog. This
|
The optional {type} argument gives the type of dialog. This
|
||||||
is only used for the icon of the GTK, Mac, Motif and Win32
|
is only used for the icon of the GTK, Mac, and Win32 GUI. It
|
||||||
GUI. It can be one of these values: "Error", "Question",
|
can be one of these values: "Error", "Question", "Info",
|
||||||
"Info", "Warning" or "Generic". Only the first character is
|
"Warning" or "Generic". Only the first character is relevant.
|
||||||
relevant. When {type} is omitted, "Generic" is used.
|
When {type} is omitted, "Generic" is used.
|
||||||
|
|
||||||
If the user aborts the dialog by pressing <Esc>, CTRL-C,
|
If the user aborts the dialog by pressing <Esc>, CTRL-C,
|
||||||
or another valid interrupt key, confirm() returns 0.
|
or another valid interrupt key, confirm() returns 0.
|
||||||
@ -3279,7 +3279,7 @@ foreground() Move the Vim window to the foreground. Useful when sent from
|
|||||||
On Win32 systems this might not work, the OS does not always
|
On Win32 systems this might not work, the OS does not always
|
||||||
allow a window to bring itself to the foreground. Use
|
allow a window to bring itself to the foreground. Use
|
||||||
|remote_foreground()| instead.
|
|remote_foreground()| instead.
|
||||||
{only in the Win32, Motif and GTK GUI versions and the
|
{only in the Win32 and GTK GUI versions and the
|
||||||
Win32 console version}
|
Win32 console version}
|
||||||
|
|
||||||
|
|
||||||
@ -5213,7 +5213,7 @@ remote_foreground({server}) *remote_foreground()*
|
|||||||
Note: This does not restore the window if it was minimized,
|
Note: This does not restore the window if it was minimized,
|
||||||
like foreground() does.
|
like foreground() does.
|
||||||
This function is not available in the |sandbox|.
|
This function is not available in the |sandbox|.
|
||||||
{only in the Win32, Motif and GTK GUI versions and the
|
{only in the Win32 and GTK GUI versions and the
|
||||||
Win32 console version}
|
Win32 console version}
|
||||||
|
|
||||||
|
|
||||||
@ -6963,8 +6963,6 @@ There are four types of features:
|
|||||||
acl Compiled with |ACL| support.
|
acl Compiled with |ACL| support.
|
||||||
arabic Compiled with Arabic support |Arabic|.
|
arabic Compiled with Arabic support |Arabic|.
|
||||||
autocmd Compiled with autocommand support. |autocommand|
|
autocmd Compiled with autocommand support. |autocommand|
|
||||||
balloon_eval Compiled with |balloon-eval| support.
|
|
||||||
balloon_multiline GUI supports multiline balloons.
|
|
||||||
browse Compiled with |:browse| support, and browse() will
|
browse Compiled with |:browse| support, and browse() will
|
||||||
work.
|
work.
|
||||||
browsefilter Compiled with support for |browsefilter|.
|
browsefilter Compiled with support for |browsefilter|.
|
||||||
@ -6998,14 +6996,12 @@ float Compiled with support for |Float|.
|
|||||||
fname_case Case in file names matters (for Windows this is not
|
fname_case Case in file names matters (for Windows this is not
|
||||||
present).
|
present).
|
||||||
folding Compiled with |folding| support.
|
folding Compiled with |folding| support.
|
||||||
footer Compiled with GUI footer support. |gui-footer|
|
|
||||||
gettext Compiled with message translation |multi-lang|
|
gettext Compiled with message translation |multi-lang|
|
||||||
gui Compiled with GUI enabled.
|
gui Compiled with GUI enabled.
|
||||||
gui_gnome Compiled with Gnome support (gui_gtk is also defined).
|
gui_gnome Compiled with Gnome support (gui_gtk is also defined).
|
||||||
gui_gtk Compiled with GTK+ GUI (any version).
|
gui_gtk Compiled with GTK+ GUI (any version).
|
||||||
gui_gtk2 Compiled with GTK+ 2 GUI (gui_gtk is also defined).
|
gui_gtk2 Compiled with GTK+ 2 GUI (gui_gtk is also defined).
|
||||||
gui_mac Compiled with Macintosh GUI.
|
gui_mac Compiled with Macintosh GUI.
|
||||||
gui_motif Compiled with Motif GUI.
|
|
||||||
gui_running Vim is running in the GUI, or it will start soon.
|
gui_running Vim is running in the GUI, or it will start soon.
|
||||||
gui_win32 Compiled with MS Windows Win32 GUI.
|
gui_win32 Compiled with MS Windows Win32 GUI.
|
||||||
iconv Can use iconv() for conversion.
|
iconv Can use iconv() for conversion.
|
||||||
|
@ -594,7 +594,7 @@ When no or zero priority is given, 500 is used.
|
|||||||
The priority for the PopUp menu is not used.
|
The priority for the PopUp menu is not used.
|
||||||
|
|
||||||
The Help menu will be placed on the far right side of the menu bar on systems
|
The Help menu will be placed on the far right side of the menu bar on systems
|
||||||
which support this (Motif and GTK+). For GTK+ 2, this is not done anymore
|
which support this (GTK+). For GTK+ 2, this is not done anymore
|
||||||
because right-aligning the Help menu is now discouraged UI design.
|
because right-aligning the Help menu is now discouraged UI design.
|
||||||
|
|
||||||
You can use a priority higher than 9999, to make it go after the Help menu,
|
You can use a priority higher than 9999, to make it go after the Help menu,
|
||||||
|
@ -3184,8 +3184,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
the right moment, try adding this flag. This must be done
|
the right moment, try adding this flag. This must be done
|
||||||
before starting the GUI. Set it in your |gvimrc|. Adding or
|
before starting the GUI. Set it in your |gvimrc|. Adding or
|
||||||
removing it after the GUI has started has no effect.
|
removing it after the GUI has started has no effect.
|
||||||
*'go-F'*
|
|
||||||
'F' Add a footer. Only for Motif. See |gui-footer|.
|
|
||||||
|
|
||||||
|
|
||||||
*'guipty'* *'noguipty'*
|
*'guipty'* *'noguipty'*
|
||||||
|
@ -48,8 +48,8 @@ A double click with the mouse in the non-GUI tab pages line opens a new, empty
|
|||||||
tab page. It is placed left of the position of the click. The first click
|
tab page. It is placed left of the position of the click. The first click
|
||||||
may select another tab page first, causing an extra screen update.
|
may select another tab page first, causing an extra screen update.
|
||||||
|
|
||||||
This also works in a few GUI versions, esp. Win32 and Motif. But only when
|
This also works in a few GUI versions, esp. Win32. But only when clicking
|
||||||
clicking right of the labels.
|
right of the labels.
|
||||||
|
|
||||||
In the GUI tab pages line you can use the right mouse button to open menu.
|
In the GUI tab pages line you can use the right mouse button to open menu.
|
||||||
|tabline-menu|.
|
|tabline-menu|.
|
||||||
|
@ -295,9 +295,6 @@ g8 Print the hex values of the bytes used in the
|
|||||||
*+acl* |ACL| support included
|
*+acl* |ACL| support included
|
||||||
B *+arabic* |Arabic| language support
|
B *+arabic* |Arabic| language support
|
||||||
N *+autocmd* |:autocmd|, automatic commands
|
N *+autocmd* |:autocmd|, automatic commands
|
||||||
m *+balloon_eval* |balloon-eval| support. Included when compiling with
|
|
||||||
supported GUI (Motif, GTK, GUI) and either
|
|
||||||
Netbeans/Sun Workshop integration or |+eval| feature.
|
|
||||||
N *+browse* |:browse| command
|
N *+browse* |:browse| command
|
||||||
N *+byte_offset* support for 'o' flag in 'statusline' option, "go"
|
N *+byte_offset* support for 'o' flag in 'statusline' option, "go"
|
||||||
and ":goto" commands.
|
and ":goto" commands.
|
||||||
@ -327,10 +324,8 @@ N *+file_in_path* |gf|, |CTRL-W_f| and |<cfile>|
|
|||||||
N *+find_in_path* include file searches: |[I|, |:isearch|,
|
N *+find_in_path* include file searches: |[I|, |:isearch|,
|
||||||
|CTRL-W_CTRL-I|, |:checkpath|, etc.
|
|CTRL-W_CTRL-I|, |:checkpath|, etc.
|
||||||
N *+folding* |folding|
|
N *+folding* |folding|
|
||||||
*+footer* |gui-footer|
|
|
||||||
N *+gettext* message translations |multi-lang|
|
N *+gettext* message translations |multi-lang|
|
||||||
*+GUI_GTK* Unix only: GTK+ |GUI|
|
*+GUI_GTK* Unix only: GTK+ |GUI|
|
||||||
*+GUI_Motif* Unix only: Motif |GUI|
|
|
||||||
*+iconv* Compiled with the |iconv()| function
|
*+iconv* Compiled with the |iconv()| function
|
||||||
*+iconv/dyn* Likewise |iconv-dynamic| |/dyn|
|
*+iconv/dyn* Likewise |iconv-dynamic| |/dyn|
|
||||||
N *+insert_expand* |insert_expand| Insert mode completion
|
N *+insert_expand* |insert_expand| Insert mode completion
|
||||||
|
@ -77,8 +77,7 @@ Graphical User Interface (GUI). |gui|
|
|||||||
Included support for GUI: menu's, mouse, scrollbars, etc. You can
|
Included support for GUI: menu's, mouse, scrollbars, etc. You can
|
||||||
define your own menus. Better support for CTRL/SHIFT/ALT keys in
|
define your own menus. Better support for CTRL/SHIFT/ALT keys in
|
||||||
combination with special keys and mouse. Supported for various
|
combination with special keys and mouse. Supported for various
|
||||||
platforms, such as X11 (with a Motif interface), GTK, Win32
|
platforms such as GTK, Win32, and Macintosh.
|
||||||
(Windows 95 and later), and Macintosh.
|
|
||||||
|
|
||||||
Multiple windows and buffers. |windows.txt|
|
Multiple windows and buffers. |windows.txt|
|
||||||
Vim can split the screen into several windows, each editing a
|
Vim can split the screen into several windows, each editing a
|
||||||
|
Loading…
Reference in New Issue
Block a user