emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: Tom Prince <tom.prince@ualberta.net>
Cc: emacs-orgmode@gnu.org, SndChaser <sndchaser@cerebralrift.org>
Subject: Re: Emacs Prelude
Date: Mon, 5 Dec 2011 00:14:09 -0600	[thread overview]
Message-ID: <CACHMzOEoW5izbJ6jLuVC3_g0wyKL0U-ckgLKJhfeEG7H3KBxiQ@mail.gmail.com> (raw)
In-Reply-To: <87aa78gwbs.fsf@hermes.hocat.ca>

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

Hi Tom,

I'm very interested in the "vi emulation in emacs" subject. I've tried
viper-mode but it's quite slow with org, so I gave up on it. What's evil
and how's the vi emulation it provides? Could you elaborate on it? I'd
appreciate it, a lot.

Thanks,

Marcelo.

On Sun, Dec 4, 2011 at 10:01 AM, Tom Prince <tom.prince@ualberta.net> wrote:

> On Fri, 02 Dec 2011 20:25:21 -0600, SndChaser <sndchaser@cerebralrift.org>
> wrote:
> > 2) Has someone bound: org-do-promote, org-do-demote,
> > org-promote-subtree. org-demote-subtree, org-move-subtree-up and
> > org-move-subtree-down to another set of keys that is as handy / workable
> > as the original bindings?
>
> Well, I use the vi emulation provided by evil, and have bound
> M-{h,j,k,l} to org-meta*:
>
> #+BEGIN_SRC emacs-lisp
>    (mapcar (lambda (state)
>           (evil-declare-key state org-mode-map
>             (kbd "M-l") 'org-metaright
>             (kbd "M-h") 'org-metaleft
>             (kbd "M-k") 'org-metaup
>             (kbd "M-j") 'org-metadown
>             (kbd "M-L") 'org-shiftmetaright
>             (kbd "M-H") 'org-shiftmetaleft
>             (kbd "M-K") 'org-shiftmetaup
>             (kbd "M-J") 'org-shiftmetadown))
>         '(normal insert))
> #+END_SRC
>
>  Tom
>
>

[-- Attachment #2: Type: text/html, Size: 1968 bytes --]

  reply	other threads:[~2011-12-05  6:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-03  2:25 Emacs Prelude SndChaser
2011-12-04 16:01 ` Tom Prince
2011-12-05  6:14   ` Marcelo de Moraes Serpa [this message]
2011-12-05  9:09     ` Eric S Fraga
2011-12-07  0:56       ` Marcelo de Moraes Serpa
2011-12-08 18:59   ` Kenny Meyer

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=CACHMzOEoW5izbJ6jLuVC3_g0wyKL0U-ckgLKJhfeEG7H3KBxiQ@mail.gmail.com \
    --to=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sndchaser@cerebralrift.org \
    --cc=tom.prince@ualberta.net \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).