From 0d0e52bff501f29399472a32f3ad81784f1f000b Mon Sep 17 00:00:00 2001
From: b10n1k
Date: Sat, 24 Jan 2015 20:57:52 +0000
Subject: [PATCH 1/2] emacs cheet guide
---
bash.md | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 99 insertions(+)
diff --git a/bash.md b/bash.md
index 9be9982..a4b0629 100644
--- a/bash.md
+++ b/bash.md
@@ -152,3 +152,102 @@ $ mv app/src/foo{,bar}.c
Home
+Editing
+-------
+
+### Emacs
+
+GNU Emacs is an extensible, customizable text editor—and more.
+
+Open from Application menu as all the other programs or from the teminal.
+
+In terminal
+```bash
+$ emacs
+```
+
+will open a new window
+
+```bash
+$ emacs -nw
+```
+will open emacs on the terminal
+
+Emacs contains a menu bar, the frame (the editor), a status bar and a command prompt at the bottom.
+
+You run a command using a combination of modifiers and keystrokes.
+for example Ctrl+x Ctrl+f will ask you to type a filename. Usage of TAB
+is available when you start type a command or navigate throughout the directories
+and files.
+
+## Terminology
+
+* Buffer -
+Emacs reads the file into a buffer in memory. While you're editing the buffer and working with the data nothing is changed on disk
+* Windows -
+A window in Emacs is an area of the screen in which a buffer is displayed
+* Frame -
+a frame is a separate X window in which an Emacs buffer is displayed
+
+## Commands Modifiers
+
+* ```Ctrl as C```
+
+This usually is the abbreviation of a function
+ex. C-x C-s
+
+* ```Alt/Esc as M```
+
+This calls the function
+ex. M-x save-buffer
+
+# Files
+
+* ```C-x C-f``` Open a file or create a new one if not exist.
+ You can tab to display the directory 's contexts
+* ```C-x C-s``` Save file
+* ```C-x C-w``` Save as
+* ```C-x b``` Iterate through buffers(open files)
+* ```C-x C-b``` List all open buffers
+* ```C-x k``` Kill the current buffer
+* ```M->``` Move cursor to the end of buffer(file)
+
+Usage: Alt + Shift + ">"
+* ```M-<``` Move cursor at the beginning of buffer(file)
+
+Usage: Alt + Shift + "<"
+
+if you want to select the whole text in the file:
+```
+$ M-< #to go at the beginning
+$ C-space
+$ M-> #to go at the end
+```
+to cancel an action
+```
+esc esc esc
+```
+
+# windows
+
+* ```C-x 1``` One window. if you have open more this return into a single one
+* ```C-x 2``` Split window which the cursor is on vertically with the same buffer
+* ```C-x 3``` Split window which the cursor is on horizontally with the same buffer
+
+Each window is splitting each time as many times as you want. To bring it back in a single
+window run C-x 1.
+
+# Edit
+
+* ```M-w``` copy
+* ```C-w``` cut
+* ```C-y``` paste
+* ```C-s``` search
+* ```C-d``` delete(forward)
+* ```DEL``` delete(backward)
+* ```C-/``` undo
+
+# Miscellaneous
+
+* ```C-g``` Cancel command. Similar if you type ESC button three times.
+* ```C-h k``` Documentation. There are many help file actually. This is a general one.
\ No newline at end of file
From 5101d95ef6c0585e52f655a4a92c053999f71847 Mon Sep 17 00:00:00 2001
From: b10n1k
Date: Sat, 24 Jan 2015 23:54:57 +0000
Subject: [PATCH 2/2] emacs cheet guide transmit into a new file
---
bash.md | 100 -------------------------------------------------------
emacs.md | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+), 100 deletions(-)
create mode 100644 emacs.md
diff --git a/bash.md b/bash.md
index a4b0629..8996113 100644
--- a/bash.md
+++ b/bash.md
@@ -151,103 +151,3 @@ $ mv app/src/foo{,bar}.c
Home
-
-Editing
--------
-
-### Emacs
-
-GNU Emacs is an extensible, customizable text editor—and more.
-
-Open from Application menu as all the other programs or from the teminal.
-
-In terminal
-```bash
-$ emacs
-```
-
-will open a new window
-
-```bash
-$ emacs -nw
-```
-will open emacs on the terminal
-
-Emacs contains a menu bar, the frame (the editor), a status bar and a command prompt at the bottom.
-
-You run a command using a combination of modifiers and keystrokes.
-for example Ctrl+x Ctrl+f will ask you to type a filename. Usage of TAB
-is available when you start type a command or navigate throughout the directories
-and files.
-
-## Terminology
-
-* Buffer -
-Emacs reads the file into a buffer in memory. While you're editing the buffer and working with the data nothing is changed on disk
-* Windows -
-A window in Emacs is an area of the screen in which a buffer is displayed
-* Frame -
-a frame is a separate X window in which an Emacs buffer is displayed
-
-## Commands Modifiers
-
-* ```Ctrl as C```
-
-This usually is the abbreviation of a function
-ex. C-x C-s
-
-* ```Alt/Esc as M```
-
-This calls the function
-ex. M-x save-buffer
-
-# Files
-
-* ```C-x C-f``` Open a file or create a new one if not exist.
- You can tab to display the directory 's contexts
-* ```C-x C-s``` Save file
-* ```C-x C-w``` Save as
-* ```C-x b``` Iterate through buffers(open files)
-* ```C-x C-b``` List all open buffers
-* ```C-x k``` Kill the current buffer
-* ```M->``` Move cursor to the end of buffer(file)
-
-Usage: Alt + Shift + ">"
-* ```M-<``` Move cursor at the beginning of buffer(file)
-
-Usage: Alt + Shift + "<"
-
-if you want to select the whole text in the file:
-```
-$ M-< #to go at the beginning
-$ C-space
-$ M-> #to go at the end
-```
-to cancel an action
-```
-esc esc esc
-```
-
-# windows
-
-* ```C-x 1``` One window. if you have open more this return into a single one
-* ```C-x 2``` Split window which the cursor is on vertically with the same buffer
-* ```C-x 3``` Split window which the cursor is on horizontally with the same buffer
-
-Each window is splitting each time as many times as you want. To bring it back in a single
-window run C-x 1.
-
-# Edit
-
-* ```M-w``` copy
-* ```C-w``` cut
-* ```C-y``` paste
-* ```C-s``` search
-* ```C-d``` delete(forward)
-* ```DEL``` delete(backward)
-* ```C-/``` undo
-
-# Miscellaneous
-
-* ```C-g``` Cancel command. Similar if you type ESC button three times.
-* ```C-h k``` Documentation. There are many help file actually. This is a general one.
\ No newline at end of file
diff --git a/emacs.md b/emacs.md
new file mode 100644
index 0000000..b6d6bb0
--- /dev/null
+++ b/emacs.md
@@ -0,0 +1,96 @@
+# Emacs
+
+GNU Emacs is an extensible, customizable text editor—and more.
+
+Open from Application menu as all the other programs or from the teminal.
+
+In terminal
+```bash
+$ emacs
+```
+
+will open a new window
+
+```bash
+$ emacs -nw
+```
+will open emacs on the terminal
+
+Emacs contains a menu bar, the frame (the editor), a status bar and a command prompt at the bottom.
+
+You run a command using a combination of modifiers and keystrokes.
+for example Ctrl+x Ctrl+f will ask you to type a filename. Usage of TAB
+is available when you start type a command or navigate throughout the directories
+and files.
+
+## Terminology
+
+* Buffer -
+Emacs reads the file into a buffer in memory. While you're editing the buffer and working with the data nothing is changed on disk
+* Windows -
+A window in Emacs is an area of the screen in which a buffer is displayed
+* Frame -
+a frame is a separate X window in which an Emacs buffer is displayed
+
+## Commands Modifiers
+
+* ```Ctrl as C```
+
+This usually is the abbreviation of a function
+ex. C-x C-s
+
+* ```Alt/Esc as M```
+
+This calls the function
+ex. M-x save-buffer
+
+# Files
+
+* ```C-x C-f``` Open a file or create a new one if not exist.
+ You can tab to display the directory 's contexts
+* ```C-x C-s``` Save file
+* ```C-x C-w``` Save as
+* ```C-x b``` Iterate through buffers(open files)
+* ```C-x C-b``` List all open buffers
+* ```C-x k``` Kill the current buffer
+* ```M->``` Move cursor to the end of buffer(file)
+
+Usage: Alt + Shift + ">"
+* ```M-<``` Move cursor at the beginning of buffer(file)
+
+Usage: Alt + Shift + "<"
+
+if you want to select the whole text in the file:
+```
+$ M-< #to go at the beginning
+$ C-space
+$ M-> #to go at the end
+```
+to cancel an action
+```
+esc esc esc
+```
+
+# windows
+
+* ```C-x 1``` One window. if you have open more this return into a single one
+* ```C-x 2``` Split window which the cursor is on vertically with the same buffer
+* ```C-x 3``` Split window which the cursor is on horizontally with the same buffer
+
+Each window is splitting each time as many times as you want. To bring it back in a single
+window run C-x 1.
+
+# Edit
+
+* ```M-w``` copy
+* ```C-w``` cut
+* ```C-y``` paste
+* ```C-s``` search
+* ```C-d``` delete(forward)
+* ```DEL``` delete(backward)
+* ```C-/``` undo
+
+# Miscellaneous
+
+* ```C-g``` Cancel command. Similar if you type ESC button three times.
+* ```C-h k``` Documentation. There are many help file actually. This is a general one.
\ No newline at end of file