[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some vi equivalents please?
From: |
rustom |
Subject: |
Re: some vi equivalents please? |
Date: |
Sat, 1 Nov 2008 07:45:42 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Oct 31, 8:59 pm, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > some vi equivalents please?
>
> After you obtain the info you need, consider sharing it by posting it to Emacs
> Wiki:http://www.emacswiki.org/emacs/SiteMap.
>
> That might help other vi users who try Emacs. Type `vi' into the wiki search
> field to find an appropriate page to edit, or start a new page if none is
> appropriate (and link appropriate existing pages to it). It's very easy to
> edit
> the wiki.
>
> See also the Emacs manual (`C-h r'), node Emulation (`g Emulation'). My
> impression is that many former `vi' users of Emacs use Viper - see the Viper
> manual (`C-h i', then choose VIPER).
Well I tried putting up a table on emacswiki...
The link I made is http://www.emacswiki.org/emacs/ViEmacsTable
What I pasted is my org mode file
But I cant figure out how to put a table into emacswiki. So its messed
up.
Heres the table (in org-mode) anyway
* Vi - Emacs
This table does not cover basic commands like character motion
| Command | Vi |
Emacs |
|-------------------------+-----------------
+---------------------------|
| transpose-char | xp | C-
t |
| transpose-word | dwwp | M-
t |
| indent | >> | C-x
TAB |
| search | /pat | C-
s |
| substitute | :%s/pat/subs | M-% or M-C-
% |
| substitute variables | :s/pat/\1 \2 | replace-regexp then \1
\2 |
| search word/identifier | /<word>
| ?? |
| delete lines | :g/pat/d | flush-
lines |
| set line numbers | :se nu
| ?? |
| show tabs&newlines | :se list
| ?? |
| change file formats | :se ff=unix/dos
| ?? |
| shell cmd | :!cmd | M-!
cmd |
| matching ({[ | % | M-C-f/b
(??) |
| filename on bottom line | % | see code
below |
| sort next n lines | n!!sort
| ?? |
- Re: some vi equivalents please?, Kevin Rodgers, 2008/11/01
- Re: some vi equivalents please?,
rustom <=
- Re: some vi equivalents please?, rustom, 2008/11/01
- RE: some vi equivalents please?, Drew Adams, 2008/11/01
- Message not available
- Re: some vi equivalents please?, rustom, 2008/11/02
- RE: some vi equivalents please?, Drew Adams, 2008/11/02
- Message not available
- Re: some vi equivalents please?, rustom, 2008/11/03
- RE: some vi equivalents please?, Drew Adams, 2008/11/03
- Re: some vi equivalents please?, Giorgos Keramidas, 2008/11/03
Re: some vi equivalents please?, Ken Goldman, 2008/11/05