Go to the first, previous, next, last section, table of contents.
These commands have no VI analogs.
- C-x
-
C-x will exit from Vi mode and return to Emacs mode
temporarily. If
you hit one of these keys, Emacs will be in emacs mode and will believe
that you hit that key in Emacs mode. For example, if you hit C-x
followed by 2, then the current window will be split into 2 and you
will be in Vi mode again. It is possible to make C-c to do the
same, to use keybindings from packages. ESC can do the same, if
you configure ESC as Meta.See section Customization. C-z
in Insert mode will make Emacs think Meta has been hit.
- Q
-
Q is for query replace. By default,
string to be replaced are treated as regular expressions. You can use
(setq vip-re-query-replace nil)
in your `.emacs' file to
turn this off. (For normal searches, :se nomagic will work. Note
that :se nomagic turns Regexps off completely unlike VI).
- v
-
- V
-
These keys are used to Visit files. v will switch to a buffer
visiting file whose name can be entered in the minibuffer. V is
similar, but will use window different from the current window.
- #
-
If followed by a certain character ch, it becomes an operator whose
argument is the region determined by the motion command that follows
(indicated as <move>).
Currently, ch can be one of c, C, g, q and
s.
- # c
-
Change upper case characters in the region to lower case
(
downcase-region
).
- # C
-
Change lower case characters in the region to upper case. For instance,
# C 3 w will capitalize 3 words from the current point
(
upcase-region
).
- # g
-
Execute last keyboard macro for each line in the region
(
vip-global-execute
). - # q
-
Insert specified string at the beginning of each line in the region
(
vip-quote-region
).
- # s
-
Check spelling of words in the region (
spell-region
).
- *
-
Call last keyboard macro.
- m .
-
Set mark at point and push old mark off the ring
- m< m>
-
Set mark at beginning and end of buffer resp.
- m,
-
Jump to mark and pop mark off the ring. See section `Mark' in The GNU Emacs Manual, for more info.
- ] register
-
View contents of register
- [ textmarker
-
View filename and position of textmarker
- @#, @register, @!
-
Begin keyboard macro. @register has a different meaning when used after
a @#. See section Macros and Registers for details
- []
-
Go to end of heading.
- g movement command
-
Search buffer for text delimited by movement command. The canonical
example is gw to search for word under cursor.See section Improved Search for details.
- _
-
Meta key when in Vi mode.See section Vi Mode for an explanation.
- C-g and C-]
-
Quit and Abort Recursive edit. These may be necessary on occasion.
See section Vi Mode for a reason.
- Ex commands
-
:args, :next, :pre behave differently. :pwd
exists to get current directory.
Go to the first, previous, next, last section, table of contents.