Basic Commands In Emacs
2 min readMar 4, 2023
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
- To open a file in EMAC use the command [ctrl + x ctrl + f].
- To close a file in EMAC use the command [ctrl + x ctrl +c].
- To copy a text in EMACS use the command [alt + w].
- To paste text in EMACS use the command [ctrl + y].
- To cut text in EMACS use the command [ctrl + w].
- To undo something in EMACS use the command [ctrl + x u].
- To save a file in EMACS use the command [ctrl +x ctrl + s].
- 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.
- To capitalize the initial letter in a text highlight the text and use the command [alt + c].
- To change the case of a text to upper case highlight the text and use this command [alt + u].
- To change the case of a text to lowercase highlight the text and use this command [alt + l].
- To split the EMACS screen into two parts vertically use the command [ctrl + x 3].
- To split the EMACS screen into two parts horizontally use the command [ctrl + x 2].
- To move down a line in EMACS use the command [ctrl + n].
- 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.