| 
  
   Size: 955 
  
  Comment:  
 | 
  
   Size: 2267 
  
  Comment:  
 | 
| Deletions are marked like this. | Additions are marked like this. | 
| Line 8: | Line 8: | 
| ||Save file || Ctrl+x Ctrl+s|| | |
| Line 13: | Line 14: | 
| || Undo || Ctrl+x u || | |
| Line 16: | Line 18: | 
| || Close current buffer || Ctrl+x k || || Close buffer list || Ctrl+x 1 ||  | 
|
| Line 21: | Line 25: | 
| Download zenburn-theme.el to the directory ~/.emacs.d/themes/.  [[attachment:zenburn-theme.el]]  | 
Download zenburn-theme.el to the directory ~/.emacs.d/themes/. [[attachment:zenburn-theme.el]] | 
| Line 28: | Line 30: | 
| (load-theme 'zenburn t) | |
| Line 35: | Line 38: | 
| * echo "(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")" >> ~/.emacs |  * echo "(add-to-list 'custom-theme-load-path \"~/.emacs.d/themes/\")" >> ~/.emacs * echo "(load-theme 'zenburn t)" >> ~/.emacs == CC mode == * cd /tmp * wget http://downloads.sourceforge.net/project/cc-mode/cc-mode/5.32.5/cc-mode-5.32.5.tar.gz * tar xvzf cc-mode-5.32.5.tar.gz * emacs -batch -no-site-file -q -f batch-byte-compile cc-*.el * cp *.elc ~/.emacs.d/ * echo "(require 'cc-mode)" >> ~/.emacs * emacs * alt+x c-version == CSharp mode == Requires CC mode http://code.google.com/p/csharpmode/downloads/detail?name=csharp-mode-0.8.5.el&can=2&q= [[attachment:csharp-mode-0.8.5.el]] * cp Downloads/csharp-mode-0.8.5.el ~/.emacs.d/csharp-mode.el * echo "(require 'csharp-mode)" >> ~/.emacs Add to ~/.emacs {{{ (setq load-path (cons "~/.emacs.d" load-path)) (autoload 'csharp-mode "csharp-mode" "Major mode for editing C# code." t) (setq auto-mode-alist (append '(("\\.cs$" . csharp-mode)) auto-mode-alist)) (require 'cc-mode) (require 'csharp-mode) }}} == Python mode == === WSGI file extension support === Add to ~/.emacs file (adapted from http://howardabrams.com/projects/dot-files/emacs-python.html): {{{ (add-to-list 'auto-mode-alist '("\\.wsgi$" . python-mode)) }}}  | 
Emacs
GNU Emacs is an extensible, customizable text editor
Keyboard shortcuts
Command  | 
  Shortcut  | 
Open file  | 
  Ctrl+x Ctrl+f  | 
Save file  | 
  Ctrl+x Ctrl+s  | 
Select  | 
  Shift + cursor keys  | 
Select  | 
  Ctrl+space and cursor keys  | 
Copy  | 
  Alt+w  | 
Cut  | 
  Ctrl+w  | 
Paste  | 
  Ctrl+y  | 
Undo  | 
  Ctrl+x u  | 
Save  | 
  Ctrl+x Ctrl+s  | 
Previous buffer  | 
  Ctrl+x left cursor  | 
Next buffer  | 
  Ctrl+x right cursor  | 
Close current buffer  | 
  Ctrl+x k  | 
Close buffer list  | 
  Ctrl+x 1  | 
Quit  | 
  Ctrl+x Ctrl+c  | 
Zenburn
https://github.com/bbatsov/zenburn-emacs
Download zenburn-theme.el to the directory ~/.emacs.d/themes/. zenburn-theme.el
Add this to your .emacs:
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") (load-theme 'zenburn t)
- cd /tmp
 - cd zenburn-emacs
 - mkdir -p ~/.emacs.d/themes/
 - cp zenburn-theme.el ~/.emacs.d/themes/
 echo "(add-to-list 'custom-theme-load-path \"~/.emacs.d/themes/\")" >> ~/.emacs
echo "(load-theme 'zenburn t)" >> ~/.emacs
CC mode
- cd /tmp
 wget http://downloads.sourceforge.net/project/cc-mode/cc-mode/5.32.5/cc-mode-5.32.5.tar.gz
- tar xvzf cc-mode-5.32.5.tar.gz
 - emacs -batch -no-site-file -q -f batch-byte-compile cc-*.el
 - cp *.elc ~/.emacs.d/
 echo "(require 'cc-mode)" >> ~/.emacs
- emacs
 - alt+x c-version
 
CSharp mode
Requires CC mode
http://code.google.com/p/csharpmode/downloads/detail?name=csharp-mode-0.8.5.el&can=2&q=
- cp Downloads/csharp-mode-0.8.5.el ~/.emacs.d/csharp-mode.el
 echo "(require 'csharp-mode)" >> ~/.emacs
Add to ~/.emacs
(setq load-path (cons "~/.emacs.d" load-path))
(autoload 'csharp-mode "csharp-mode" "Major mode for editing C# code." t)
(setq auto-mode-alist
      (append '(("\\.cs$" . csharp-mode)) auto-mode-alist))
(require 'cc-mode)
(require 'csharp-mode)
Python mode
WSGI file extension support
Add to ~/.emacs file (adapted from http://howardabrams.com/projects/dot-files/emacs-python.html):
(add-to-list 'auto-mode-alist '("\\.wsgi$" . python-mode))