| C-c > | indent right |
| C-c < | indent left |
| M-/ | dynamic completion |
| C-M-i | completion |
| C-M-h | mark class or function |
| C-c C-z | python interpreter |
| C-j | go to next indent line |
| C-c C-c | run buffer |
| C-c C-r | run selected code |
| C-M-x | run current functionsy |
2010-11-29
EMACS PYTHON MODE
2010-11-13
EMACS ORG MODE
| MANIPULATION | |
|---|---|
| [tab] | expand |
| [Shift]-[tab] | colapse |
| M-[left]/[right] | nesting level |
| M-[up]/[down] | change place on the same level |
| [Shift]-[left]/[right] | task status | list type |
| [Shift]-[down] | task priority |
| EDIT | |
| C-c C-q | add/change tag |
| C-c C-x p | add property |
| C-c C-x d | delete property |
| C-c C-e | export to another format |
| C-c C-c | edit checkbox |
| C-c C-e t | instert default template |
| ----- | horizontal line |
| \\ | end of line (during export to html) |
| LINKS | |
| C-c C-l | edit link |
| C-c C-o | follow the link |
| [[link][description]] | link |
| <<link>> | target |
| [[target]] | link to target |
| [[header]] | link to header |
| DATE and TIME | |
| C-c . | add timestamp |
| [Shift]-[right] | change timestamp |
| C-c C-d | add deadline time |
| C-c C-s | add schedule time |
| AGENDA | |
| C-c a | open agenda |
| f | forward week |
| b | backward week |
| . | present day |
| C-c [ | add file to agenda |
| C-c ] | remove from agenda |
| org-agenda-file variable | |
| [space] | press space in agenda window to go to event |
| ELEMENTS | |
| [% | /] | lists status |
| [ ] | checkbox |
| [fn:1] | footnote |
| TABLES | |
| C-^ | sort table |
| | col1 | col2 | [tab] | add table row |
| |- | add horizontal line |
| M-[left] | [right] | [up] | [down] | move column | row |
| [Shift]-M-[down] | insert row above |
| [Shift]-M-[up] | delete current row |
| [Shift]-M-[right] | insert column |
| [Shift]-M-[left] | delete column |
| insert vertical line at first row if want export to html | |
| #+ATTR_HTML: border="1" rules="all" frame="all" | border between cells during export to html |
| <nr> | put in empty cell to set column width, you can set #+STARTUP: align parameter |
| calc | |
| := | add forumla to the current field |
| :=vmean(@II..@III) | vertical arythmetic mean from II to III horizontal line |
| :=vsum(@II..@III) | vertical sum from II to III horizontal line |
| = | add forumla to the whole column, if the field contains only ‘=’, the previously stored formula for this column is used |
| C-c ? | find table current field coordinates |
| C-c } | grid coordinates on/off |
| $1 | first column |
| @1 | first row |
| $-2 | third column from right to left |
| $+2 | third column from left to right |
| @I | first hline |
| @I..@II | range from first hline to second hline |
| @1$2 | 1nd row, 2rd column |
| @-1$-3 | the field one row up, three columns to the left |
| @-I$2 | field just under hline above current row, column 2 |
| @2$1..@4$3 | 6 fields between these two fields |
| @-1$-2..@-1 | 3 numbers from the column to the left, 2 up to current row |
| C-u C-c = | install a new formula for the current field |
| C-c = | edit the formula for the current field |
| C-c C-c | recompute formula |
| C-u C-c * | recompute all table |
| C-u C-c * | recompute all table |
| #+TBLFM: @10$2=vsum(@II..@III)::@11$2=@2$2+@3$2 | compute multi formulas |
| #+TBLFM: $3=@-1+1::@2$3=1 | ordered nubmer list at 3rd col |
| EXPORT OPTION | |
#+TITLE: the title to be shown (default is the buffer name)
#+AUTHOR: the author (default taken from user-full-name)
#+DATE: a date, fixed, of a format string for format-time-string
#+EMAIL: his/her email address (default from user-mail-address)
#+DESCRIPTION: the page description, e.g. for the XHTML meta tag
#+KEYWORDS: the page keywords, e.g. for the XHTML meta tag
#+LANGUAGE: language for HTML, e.g. ‘en’ (org-export-default-language)
#+TEXT: Some descriptive text to be inserted at the beginning.
#+TEXT: Several lines may be given.
#+OPTIONS: H:2 num:t toc:t \n:nil @:t ::t |:t ^:t f:t TeX:t ...
#+LINK_UP: the ``up'' link of an exported page
#+LINK_HOME: the ``home'' link of an exported page
#+LATEX_HEADER: extra line(s) for the LaTeX header, like \usepackage{xyz}
you can put all above settings to one file and point at by:
#+SETUPFILE: ~/[filepath]
| |
| EXPORT TIPS | |
| @<b>bold text@</b> | use html tags |
| #+HTML: Literal HTML code for export | as above |
| #+BEGIN_HTML All lines between these markers are exported literally #+END_HTML | as above |
EMACS DIRED MODE
| M-x dired | dired mode |
| o | open file in split window horizontaly |
| enter | open file | enter dir |
| C | copy file |
| R | rename file |
| D | delete file |
| Z | compress file |
| M | chmod |
| O | chown |
| G | chgrp |
| m | mark |
| u | unmark |
| U | unmark all |
| g | refresh |
| A | search |
| ^ | parent dir |
| t | new dir |
| q | close dir |
Etykiety:
dired-mode,
emacs
EMACS
| HELP: | |
|---|---|
| C-h m | curent mode info |
| C-h k | key bind info |
| C-h a | search function |
| MAIN: | |
| C-x C-c | exit |
| C-/ | undo |
| [space] C-/ | redo |
| C-x C-b | buffer list |
| C-g | Esc Esc Esc | keyboard quit |
| C-x b | switch between buffers |
| C-x C-w | save buffer as |
| C-x C-f | open file |
| C-u [nr] [arg] | repeat argument [nr] times, default 4 times |
| SEARCH: | |
| C-s | search forward |
| C-r | search backward |
| M-% | find and repleace |
| BUFFERS: | |
| C-x C-s | save all buffers |
| C-x s | save current buffer |
| C-x k | kill buffer |
| C-x C-b | show buffer menu |
| BUFFER MENU: | |
| d | kill buffer |
| s | save buffer |
| x | perform previously requested deletions and saves |
| u | undo save and kill |
| % | read only flag |
| * | modify flag |
| q | quit buffer menu |
| o | open buffer in another window |
| WINDOWS: | |
| C-x 2 | horizontal window |
| C-x 3 | vertical window |
| C-x 0 | remove current window |
| C-x 1 | remove all other windows |
| C-x o | change window |
| C-x ^ | taller window |
| C-x } | wider window |
| EDIT: | |
| C-[space] | select |
| C-[space] [space] | unselect |
| M-w | copy the previously selected |
| C-w | cut the previously selected |
| C-y | paste |
| C-a C-k | delete line |
| C-k | delete from cursor to the end of line |
| C-h b | help key bindings |
| M-; | comment/uncomment |
| M-g g | go to line |
| C-x r t [string] | insert vertical column |
| C-x k | kill region |
| Alt ; | insert comment |
| C-x r t | insert character at every match line |
| C-x r k | delete first rectangle at match line(match upto next line field to delete) |
| INDENT: | |
| C-u [num | -num] C-x [tab] | indent previous selected region [num] of lines, minus means indent left |
| OTHER MODE: | |
| M-x dired | file manager mode |
| M-x python-mode | python mode |
Etykiety:
emacs
Subscribe to:
Comments (Atom)