From: ithai levi <ithai.levi@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Can I type text without changing my current cursor point?
Date: Thu, 12 Mar 2009 08:46:42 +0200 [thread overview]
Message-ID: <2a024660903112346ncdb86e1uf62f063c644fd6ba@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 632 bytes --]
I'm almost sure I saw this once, I just can recall the sequence.
What I want to do is to hit C+something and then type but have my cursor
stay in its current point and not move forward. Then I can somehow exit this
mode (ESC) and type some text which will be inserted in between. This could
be useful to type a prefix, a suffix and then the content without having to
move the cursor back.
Example:
I would type "obj.method(" then press C+? then type "); // a comment", press
ESC and type "1,2,3" without moving the cursor.
(what I do now is use C+SPC to set the mark, type and then press C+x C+SPC
to go back to the mark)
TIA :)
[-- Attachment #2: Type: text/html, Size: 1417 bytes --]
next reply other threads:[~2009-03-12 6:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-12 6:46 ithai levi [this message]
2009-03-12 10:29 ` Can I type text without changing my current cursor point? dIbMx2
[not found] ` <mailman.3006.1237105211.31690.help-gnu-emacs@gnu.org>
2009-03-15 18:25 ` B. T. Raven
-- strict thread matches above, loose matches on Subject: below --
2009-03-11 17:01 ithiel
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=2a024660903112346ncdb86e1uf62f063c644fd6ba@mail.gmail.com \
--to=ithai.levi@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.