0% found this document useful (0 votes)
9 views

20160324_emacs_commands

Uploaded by

mamalee393
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

20160324_emacs_commands

Uploaded by

mamalee393
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

>> emacs Open emacs

>> ctrl-x ctrl-f + filename Open a file (find-file)


>> ctrl-x ctrl-s Save current buffer (save-buffer)
>> ctrl-x ctrl-w Save in a new file (write-file)
>> ctrl-x ctrl-c Exit emacs
>> ctrl-g Keyboard quit (undo current command)
>> ctrl-x k Kill current buffer (kill-buffer)
>> ctrl-x 2 Cut window in 2 (horizontally)
>> ctrl-x 3 Cut window in 2 (vertically)
>> ctrl-x 1 Delete other window
>> ctrl-x ctrl-b List buffer open (list-buffer)
>> ctrl-x o Move buffer in open window (other-window)
>> ctrl-x b Switch to buffer
>> ctrl-v Scroll-down
>> M-v (=alt-v or esc-v) Scrolll-up
>> M-> End of buffer
>> M-< Beginning of buffer
>> ctrl-a Beginning of line
>> ctrl-e End of line
>> ctrl-p Previous line
>> ctrl-n Next line
>> ctrl-d Delete char
>> ctrl-k Kill line (after cursor)
>> ctrl-x u / ctrl-_ Undo
>> ctrl-spc Set a mark where the cursor is
>> ctrl-spc then move the cursor Select a zone
>> ctrl-w Cut the select zone
>> M-w Copy the select zone
>> ctrl-y Past the previous cut or copy zone (yank)
>> M-y After ctrl-y → change the zone by the oldest one
>> ctrl-s Search after in the text
>> ctrl-r Seach before in the text
>> M-U Change next word in capital letters
>> M-L Change next word in little letters
>> M- % Replace
>> ctrl-u ctrl-spc Return to the last mark
>> ctrl-x r k Cut a rectangle (= column)
>> ctrl-x r y Past a rectangle
>> ctrl-x r t Add a rectangle
>> ctrl-h a mode List all disponible modes
>> M-x modename Change mode
>> ctrl-M-q Indent subprogramm in f90-mode

You might also like