all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: How can I do these in Emacs?
Date: Mon, 21 Apr 2003 14:49:44 -0600	[thread overview]
Message-ID: <3EA45968.3090007@yahoo.com> (raw)
In-Reply-To: u8yu321nq.fsf@synopsys.com

David Masterson wrote:

>>>>>>Eli Zaretskii writes:
>>>>>>
> 
>>>From: wang yin <wy@wanglab.com>
>>>
> 
>>>1. How can I do something like a "o" command in vi with Emacs?  I
>>>always C-e to the end of the line and press RET.  Are there any
>>>faster ways?
>>>
> 
>>Is "C-o" what you want (I don't really know what does "o" do in vi)?
>>
> 
> It opens a new line after the current line ("O" opens before the
> current line) regardless of where you are in the line whereas "C-o"
> (in emacs) splits the line at the current point.


(defadvice open-line (before a-la-vi activate)
   "When called interactively, open the new line after the current line (like vi)."
   (if (interactive-p)
       (end-of-line)))

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

      reply	other threads:[~2003-04-21 20:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-19  5:53 How can I do these in Emacs? wang yin
2003-04-19  7:46 ` Alan Mackenzie
2003-04-19  7:57 ` Pascal Bourguignon
2003-04-19 14:39   ` Jiri Pejchal
2003-04-19  8:08 ` Eli Zaretskii
2003-04-19 19:08 ` Stefan Monnier
2003-04-19 19:32   ` David Kastrup
2003-04-19 21:40     ` Stefan Monnier
2003-04-22  0:20       ` Jason Earl
2003-04-22 14:16         ` Stefan Monnier
     [not found] ` <mailman.4924.1050736232.21513.help-gnu-emacs@gnu.org>
2003-04-21 17:36   ` David Masterson
2003-04-21 20:49     ` Kevin Rodgers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EA45968.3090007@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.