Basic Commands In Emacs

Akolgo Prince Adoleyine
2 min readMar 4, 2023

--

Image of Logo EMACS

What is EMACS?

EMACS is a very powerful text editor. It also has features that support some programming languages. It is open source and can be installed on Windows, Mac, and Linux.

Commands

  1. To open a file in EMAC use the command [ctrl + x ctrl + f].
  2. To close a file in EMAC use the command [ctrl + x ctrl +c].
  3. To copy a text in EMACS use the command [alt + w].
  4. To paste text in EMACS use the command [ctrl + y].
  5. To cut text in EMACS use the command [ctrl + w].
  6. To undo something in EMACS use the command [ctrl + x u].
  7. To save a file in EMACS use the command [ctrl +x ctrl + s].
  8. To search for a word in EMACS use the command [ctrl + s] a prompt will appear for an input of the word you are in search of.
  9. To capitalize the initial letter in a text highlight the text and use the command [alt + c].
  10. To change the case of a text to upper case highlight the text and use this command [alt + u].
  11. To change the case of a text to lowercase highlight the text and use this command [alt + l].
  12. To split the EMACS screen into two parts vertically use the command [ctrl + x 3].
  13. To split the EMACS screen into two parts horizontally use the command [ctrl + x 2].
  14. To move down a line in EMACS use the command [ctrl + n].
  15. To move up a line in EMACS use the command [ctrl + p].

I hope this article was helpful to you. If you need more commands let me know.

--

--

Akolgo Prince Adoleyine

Computer Science Student || Python Developer || Cyber Security Enthusiast||ALX SE Student