开发者

Emacs cheat sheet that lists equivalents to everyday vim commands [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

There were two things that I want to know how to do in Emacs (23.2, *nix):

  1. Go to the first character after indentation in a line
  2. Go to the first character that's the equivalent to a given character (an equivalent to vim's fx command that goes forward until it hits the x character; maybe C-s (incremental search) is the best way to do this)

But, I think it would be better if开发者_如何学编程 I had a cheat sheet that listed navigational bindings. Maybe Emacs (self-documenting) can do this on it's own. Is there a list of commands that are equivalent to vim's default commands anywhere? How about a list of navigational key-bindings in Emacs?


  1. M-m (back-to-indentation) will do this.
  2. You're right, C-s x is the way to do that.

Regarding a cheat sheet, try starting with C-h b. That will show you all the active keybindings, and you can drill down to find out what each of them does in more depth.

The ViKeys page on EmacsWiki should also be a good resource for you.


Probably this will help you too:

vim7-emacs21-cheatsheet of freezing hell

(or others who find this question)


This answer gives you a few alternatives for the beginning-of-non-whitespace function (with slightly different behaviours for comments and what happens if you do it twice).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜