• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/104

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

104 Cards in this Set

  • Front
  • Back

C-x 4 C-f

open in a new window.
C-x C-f
open/create file.
C-x C-v
find alternate file
C-x i
insert a file
C-x C-w
save as
C-v
Move forward one screenful
M-v
Move backward one screenful
C-l
Clear screen and redisplay all the text
C-x o
moves to the next window.
C-x b
changes buffer.
C-x C-b
list of buffers
C-g
quit
C-f
Move forward a character
C-b
Move backward a character
M-f
Move forward a word
M-b
Move backward a word
C-n
Move to next line
C-p
Move to previous line
C-a
Move to beginning of line
C-e
Move to end of line
M-a
Move back to beginning of sentence
M-e
Move forward to end of sentence
M->
Go to end of a file.
M-
Go to beginnig of a file.
C-h k
Describe command
C-h f
describe function
C-h i
info documentation reader
C-h k
Describe command
C-h f
describe function
C-h i
info documentation reader
C-h k
Describe command
C-h f
describe function
C-h i
info documentation reader
C-x 1
delete other windows and keep the current one.
C-x 2
divide window in two horizontaly.
C-x 3
divide window in two verticaly.
C-x 52
open new frame
CM-v
scroll other window in the frame
M-x shell
starts shell
M-x dired
file manager mode
C-x [
backward-page
C-x ]
forward-page
C-q C-l
to insert page breaks in your file
C-d
Delete character under cursor.
Del
Delete previous character.
M-d
Delete next word.
M-Del
Delete previous word.
C-k
Delete from cursor to end of line.
M-k
Delete next sentence.
C-x Del
Delete previous sentence.
C-y
Restore what you've deleted.
C-w
Delete a marked region.
How to start R in emacs?
M-x R
C-@ or C- Space
Mark the beginning (or end) of a region.
C-x C-x
Exchange location of cursor and mark.
C-w
Delete the region.
C-y
Paste most recently killed or copied text.
M-w
Copy the region (so it can be pasted with C-y ).
M-h
Mark paragraph.
C-x C-p
Mark page.
C-x h
Mark buffer.
M-x auto-fill-mode
Toggle auto-fill mode
M-x refill-mode
Toggle refill mode
M-}
forward-paragraph Move forward one paragraph.
M-{
backward- Move backward one paragraph.
C-x ]
forward-page Move forward one page.
C-x [
backward-page Move backward one page.
C-u alt-x shell
To run a second shell inside emacs
M-8 SPC
moves 8 spaces. useful to make indentation.
M-y
Rotates the ring
(insert-image (create-image "/tmp/test.png")) and C-c C-e
insert the image test.png to the point with the command 'eval'
M-x R
Starts R in buffer.
How to count word in a region?
run bash wc on that region with M-| wc
How to make superscripts in Emacs?
C-x 8 ^2
It will make 2 a superscript of the previous character.
What to do if an Emacs session crashed recently?
Type Meta-x recover-session RET
to recover the files you were editing.
How to change emacs background?
M-x customize-face. To change the background color and other attributes, use the command M-x customize-face, and specify default as the face to customize
How to make Emacs 's shell mode source my profile file?
create and edit .emacs_bash
How to go ahead n characters?
C-u n C-f
How to run a term?
M-x term (you can run ssh, top, vi, ...)
How to exit term?
C-d
How to call dired mode in emacs?
C-x dired
How to Close a dir with dired?
q
How to Copy file with dired?
C
How to Rename file with dired?
R
How to Delete file with dired?
D
How to create a new dir with dired?
+
How to compress/decompress the file by gzip with dired?
Z
How to mark a file with dired?
m
How to unmark with dired?
u
How to unmark all marked with dired?
U
How to mark by pattern (regex) with dired?
%m
How to refresh dir listing with dired?
g
How to go to parent dir with dired?
^
How to print tab ?
C-8 tab
How to increase or decrease the buffer text size ?
C-x C-+ and ‘C-x C--
How to access menu bar without mouse or F10?
M-`
How to set tab size equal 4 spc for a emacs session ?
M-x set-variable tab-width 4
How to set tab size for file in emacs ?
-*- tab-width:7 -*- # put this on line #1 of the fiile
How to set tab size in .emacs?
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(setq indent-line-function 'insert-tab)
How to make superscript for degrees celsius in emacs?
C-x 8 o
How to change background and foreground colors direct from the minibuffer ?

M-x set-foreground-color and M-x set-background-color

How to change the line spacing in emacs ?

(setq-default line-spacing 5); add to your .emacs

How to send current text selection to a shell command?

Alt+|

How to have the result of shell cmd replace a selected region ?

Ctrl+u, Alt+|