EMACS - El Primer Día

technonotes-hacker - Oct 29 '23 - - Dev Community

INTRODUCTION

sudo apt-get install emacs
Enter fullscreen mode Exit fullscreen mode

Image description

Image description

control x + f 
Enter fullscreen mode Exit fullscreen mode

Once you type this you will get the command to type , see the below screenshot.

Image description

Image description

File name provided and a new file came in the terminal,

Image description

control x + s --> this will save the file
control x + c --> this will close the terminal
Enter fullscreen mode Exit fullscreen mode

To open the file again , just repeat the same process.

control x + f
give the file name starting two or three words , then a TAB
Enter fullscreen mode Exit fullscreen mode

Image description

Updated the file with some lines by given below command.

control x + s --> once you give this , you can see the WROTE in the bottom of the file , which means it got saved.
Enter fullscreen mode Exit fullscreen mode

Image description

Now , you edited something but its not required to be saved . Then press only

control x + c
Enter fullscreen mode Exit fullscreen mode

Image description

you can see below its asking for what I need to do ?

Image description

pressed " n " then its asking what I need to do again . Tell me clearly yes or no.

Image description

Now lets delete the line,

control + k
Enter fullscreen mode Exit fullscreen mode

Image description

Image description

( Above line got deleted )

control x + u --> undo
Enter fullscreen mode Exit fullscreen mode

" the mark is not set now so there is no region " --> Getting this error when I do an UNDO command. [TBD]

Go to LAST LINE,

Esc + >
Esc + <
Enter fullscreen mode Exit fullscreen mode

Search a word,

control + s 
( press the same command it will go to the next next word )
Enter fullscreen mode Exit fullscreen mode

What is ORG MODE ?

Life in PLAIN text.
A second brain.

control c + t --> TODO list
Enter fullscreen mode Exit fullscreen mode

Image description

Image description

control c + t
TAB --> this is will expand and contract the TODO list
Enter fullscreen mode Exit fullscreen mode

Image description

Image description

Shift + Tab --> Expand ALL
Enter fullscreen mode Exit fullscreen mode

Image description

Alt + uparrow --> Change of Order
Enter fullscreen mode Exit fullscreen mode

Image description

TODO --> DONE
control c + t
Enter fullscreen mode Exit fullscreen mode

Image description

Getting This DONE

Giving DATE to the task or TODO list

control c + s
Shift + Arrows --> To moved up & down for DATE
How to come out ? [TBD]
Enter fullscreen mode Exit fullscreen mode

Image description

Image description

Priority

Shift + Uparrow
A,B & C --> Priority
Enter fullscreen mode Exit fullscreen mode

Image description

Clock i.e START & END time

Control c+x+i
Control c+x+o
Enter fullscreen mode Exit fullscreen mode

Image description

Cut, Copy & Paste

Control + Space --> Select the content

Image description

Control + w --> Cut
Control + y --> Paste
Alt + w --> Copy
Enter fullscreen mode Exit fullscreen mode

List of Commands

Image description

Points to be Remembered

  1. Book - Eat That Frog by by TRACY BRIAN.
  2. https://intellij-support.jetbrains.com/hc/en-us/community/posts/206589835-How-to-mark-a-region-in-emacs-mode
  3. https://www.fugue.co/blog/2015-11-11-guide-to-emacs.html

TO BE CONTINUED ...

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player