Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
wiki2:emacs [2018/12/14 11:47] alfred [Important to know] |
wiki2:emacs [2020/05/09 09:25] (actual) |
||
|---|---|---|---|
| Línea 29: | Línea 29: | ||
| When you load a file in Emacs with find-file, it gets put into a "buffer". As long as you don't kill the buffer, it stays in memory, you don't have to reload it. | When you load a file in Emacs with find-file, it gets put into a "buffer". As long as you don't kill the buffer, it stays in memory, you don't have to reload it. | ||
| + | |||
| + | To **create a file**, just visit it with C-x C-f as if it already existed. This creates an empty buffer, in which you can insert the text you want to put in the file. Emacs actually creates the file the first time you save this buffer with C-x C-s. | ||
| Open file: C-x C-f | Open file: C-x C-f | ||
| Línea 63: | Línea 65: | ||
| Write one command: M-! | Write one command: M-! | ||
| + | |||
| + | ===== Notes ===== | ||
| + | |||
| + | * {{:wiki2:emacs:refcard.pdf|Reference card}} | ||