In Textmate I can wrap enclosing characters ('(', '[', '"', etc.) around text by selecting it and hitting the opening character. For example, if I select word
and hit (
, it will become (word)
. What does Emacs call this feature and how do I enable it?
相关问题
- Symbol's function definition is void: declare-
- How can I set the SVN password with Emacs 23.1 bui
- Emacs shell: save commit message
- How to change the first two uppercase characters o
- emacs bind key to the insertion of another
相关文章
- ess-rdired: I get this error “no ESS process is as
- Emacs/xterm color annoyance on Linux
- Pipe less to Emacs
- Capturing the output of “diff” with org-babel
- emacs terminal mode: how to copy and paste efficie
- How to permanently enable the hs-minor-mode in ema
- How do I use a shortcut to comment out code automa
- Pipe emacs shell output to a new buffer
There is textmate-mode.
From Emacswiki:
See textmate-mode for an attempt of having the TextMate behaviour for parenthesis and quotes (auto-closing, overwriting, smart delete).
http://code.google.com/p/emacs-textmate/
If you use smartparens just select the text and then type the pair. Smartparens wiki: Wrapping