emacs Basic Keybindings File handling


Example

  • Re-Save open file under the same filename (Save):

    C-x C-s

  • Write as filename (Save As):

    C-x C-w filename

    The new file name will be prompted in the minibuffer.

  • Create new file or load existing file (New / Load):

    C-x C-f filename

    With the mnemonic here for f meaning file. You will be prompted for a file path in the minibuffer.

  • Visit alternate file

    C-x C-f

    If the file does not exist yet, you will be prompted the path of the file to create in the minibuffer.