VARIOUS
*various.txt* For IdeaVIM version 0.12.0. Last change: 2006 Nov 12
IdeaVIM REFERENCE MANUAL by Rick Maddy
Various commands *various*
1. Various commands |various-cmds|
2. Online help |online-help|
3. Printing |printing|
4. Using Vim like less or more |less|
1. Various commands *various-cmds*
*N<Del>*
<Del>
When entering a number: Remove the last digit.
:as[cii] or *ga* *:as* *:ascii*
ga Print the ascii value of the character under the
cursor in decimal, hexadecimal and octal. For
example, when the cursor is on a 'R':
<R>
82, Hex 52, Octal 122
When the character is a non-standard ASCII character,
but printable according to the 'isprint' option, the
non-printable version is also given. When the
character is larger than 127, the <M-x>
form is also
printed. For example:
<~A>
<M-^A>
129, Hex 81, Octal 201
<p>
<|~>
<M-~>
254, Hex fe, Octal 376
(where <p>
is a special character)
The <Nul>
character in a file is stored internally as
<NL>
, but it will be shown as:
<^@>
0, Hex 00, Octal 000
Mnemonic: Get Ascii value.
*g8*
g8 Print the hex values of the bytes used in the
character under the cursor, assuming it is in |UTF-8
|
encoding. This also shows composing characters.
Example of a character with three composing
characters:
e0 b8 81 + e0 b8 b9 + e0 b9 89
*:!cmd* *:!* *E34*
:!{cmd}
Execute {cmd}
with the shell. See also the 'shell'
and 'shelltype' option.
Any '!' in {cmd}
is replaced with the previous
external command (see also 'cpoptions'). But not when
there is a backslash before the '!', then that
backslash is removed. Example: ":!ls" followed by
":!echo ! \! \\!" executes "echo ls ! \!".
After the command has been executed, the timestamp of
the current file is checked |timestamp|.
There cannot be a '|' in {cmd}, see
|:bar|.
A newline character ends {cmd}
, what follows is
interpreted as a following ":" command. However, if
there is a backslash before the newline it is removed
and {cmd}
continues. It doesn't matter how many
backslashes are before the newline, only one is
removed.
On Unix the command normally runs in a non-interactive
shell. If you want an interactive shell to be used
(to use aliases) set 'shellcmdflag' to "-ic".
*:!!*
:!! Repeat last ":!{cmd}
".
*K*
K Opens the Quick Javadoc for the keyword under the
cursor.
2. Online help *online-help*
*help* *<Help>* *:h* *:help* *<F1>* *i_<F1>* *i_<Help>*
<Help>
or
:h[elp] Open the IDEA Help Topics window.
*{subject}* *E149*
:h[elp] {subject}
Like ":help", additionally jump to the tag {subject}
.
3. Printing *printing*
This information does not apply to IdeaVIM.
4. Using Vim like less or more *less*
This information does not apply to IdeaVIM.