Editing

Home

New File

A new file can be created in two ways:

Save

Use C-x C-s to save a buffer changes to a file. If there is no file associated to a buffer, the minibuffer will prompt for one.

Copy-Paste

Copy-paste is easier to do with CUA mode active. To activate CUA mode, go to the Options menu and make sure Use CUA Keys is ticked. To save, OptionsSave Options. Another way of activiating it is by adding the following to your init file:

(cua-mode t)

Once CUA mode is active, copy-paste functions are bound to the usual keys:

Yank

Anything that’s “killed” is actually cut, and can be yanked using C-y. You can cycle through the previous cut values using M-y after C-y as many times as you need.

Delete and insert

Sorting

Join Lines

Delete all the empty lines

Delete duplicate lines

Undo-Redo

When CUA mode is active, C-z also acts as undo.

See also the Emacs Manual.

Formatting

Unicode

Next: Search


Project maintained by tychobrailleur Hosted on GitHub Pages — Theme by mattgraham