version 1.55, 2011/09/02 02:37:52 |
version 1.56, 2011/11/28 04:41:39 |
|
|
Note: The point and mark are window-specific in |
Note: The point and mark are window-specific in |
.Nm , |
.Nm , |
not buffer-specific, as in other emacs flavours. |
not buffer-specific, as in other emacs flavours. |
|
.Sh TAGS |
|
.Nm |
|
supports tags file created by |
|
.Xr ctags 1 , |
|
allowing user to quickly locate various object definitions. |
|
Note that emacs uses etags, not ctags. |
.Sh DEFAULT KEY BINDINGS |
.Sh DEFAULT KEY BINDINGS |
Normal editing commands are very similar to GNU Emacs. |
Normal editing commands are very similar to GNU Emacs. |
In the following examples, C-x means Control-x, and M-x means Meta-x, |
In the following examples, C-x means Control-x, and M-x means Meta-x, |
|
|
scroll-other-window |
scroll-other-window |
.It M-SPC |
.It M-SPC |
just-one-space |
just-one-space |
|
.It M-. |
|
find-tag |
|
.It M-* |
|
pop-tag-mark |
.It M-% |
.It M-% |
query-replace |
query-replace |
.It M-< |
.It M-< |
|
|
.It find-file-other-window |
.It find-file-other-window |
Opens the specified file in a second buffer. |
Opens the specified file in a second buffer. |
Splits the current window if necessary. |
Splits the current window if necessary. |
|
.It find-tag |
|
Jump to definition of tag at dot. |
.It forward-char |
.It forward-char |
Move cursor forwards (or backwards, if |
Move cursor forwards (or backwards, if |
.Va n |
.Va n |
|
|
current window. |
current window. |
There are no errors, although the command does not do |
There are no errors, although the command does not do |
a lot if there is only 1 window. |
a lot if there is only 1 window. |
|
.It pop-tag-mark |
|
Return to position where find-tag was previously invoked. |
.It push-shell |
.It push-shell |
Suspend |
Suspend |
.Nm |
.Nm |
|
|
.It upcase-word |
.It upcase-word |
Move the cursor forward by the specified number of words. |
Move the cursor forward by the specified number of words. |
As it moves, convert any characters to upper case. |
As it moves, convert any characters to upper case. |
|
.It visit-tags-table |
|
Record name of the tags file to be used for subsequent find-tag. |
.It what-cursor-position |
.It what-cursor-position |
Display a bunch of useful information about the current location of |
Display a bunch of useful information about the current location of |
dot. |
dot. |
|
|
concise tutorial |
concise tutorial |
.El |
.El |
.Sh SEE ALSO |
.Sh SEE ALSO |
|
.Xr ctags 1 , |
.Xr vi 1 |
.Xr vi 1 |
.Sh CAVEATS |
.Sh CAVEATS |
Since it is written completely in C, there is currently no |
Since it is written completely in C, there is currently no |