This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| emacs:emacs [2009/05/08 11:42] – decianm | emacs:emacs [2009/05/08 11:45] (current) – decianm | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Good to know ===== | ===== Good to know ===== | ||
| ==== Cutting out a rectangle ==== | ==== Cutting out a rectangle ==== | ||
| - | To cut out a rectangle in emacs, mark the region in question with your mouse (upper left to lower right). Then press '' | + | To cut out a rectangle in emacs, mark the region in question with your mouse (upper left to lower right). Then press < |
| - | Paste the rectangular | + | ctrl-x r k |
| + | </ | ||
| + | Paste the rectangular | ||
| + | < | ||
| + | ctrl-x r y | ||
| + | </ | ||
| + | ==== Search for a string ==== | ||
| + | If you want to search for a string, type | ||
| + | < | ||
| + | ctrl-s | ||
| + | </ | ||
| + | If you want to search the same string as before, press: | ||
| + | < | ||
| + | ctrl-s ctrl-s | ||
| + | </ | ||
| ===== Configuring Emacs===== | ===== Configuring Emacs===== | ||