Size: 1199
Comment:
|
Size: 1526
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 36: | Line 36: |
== CC mode == http://downloads.sourceforge.net/project/cc-mode/cc-mode/5.32.5/cc-mode-5.32.5.tar.gz * cp Downloads/cc-mode-5.32.5.tar.gz /tmp * 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/ * emacs * alt+x c-version |
|
Line 37: | Line 47: |
Requires CC mode |
Emacs
GNU Emacs is an extensible, customizable text editor
Keyboard shortcuts
Command |
Shortcut |
Open file |
Ctrl+x Ctrl+f |
Select |
Shift + cursor keys |
Select |
Ctrl+space and cursor keys |
Copy |
Alt+w |
Cut |
Ctrl+w |
Paste |
Ctrl+y |
Save |
Ctrl+x Ctrl+s |
Previous buffer |
Ctrl+x left cursor |
Next buffer |
Ctrl+x right cursor |
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/")
- 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)" >> ~/.emacs
CC mode
http://downloads.sourceforge.net/project/cc-mode/cc-mode/5.32.5/cc-mode-5.32.5.tar.gz
- cp Downloads/cc-mode-5.32.5.tar.gz /tmp
- 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/
- 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/