immenser Pirat

zurück

1 emacs   emacs

1.1 global

Navigation key
switch to other window C-x o
close current window C-x 0
close other windows C-x 1
help  
shortcuts with C-c C-c C-h
shortcuts widh C-x v C-x v C-h
git  
add C-x v i
pull C-x v i
push C-x v P
next-action C-x v v
diff file C-x v =
diff tree C-x v D
tag C-x v s
log C-x v l
top of tree history C-x v L
latex  
begin/open new block C-c C-o
end block C-c C-e
compile, view result C-c C-c, C-c C-c
toggle-truncate-lines  

1.2 package-system

  1. add to ~/.emacs.d/init.el

    as described on ergomacs.org

    (when (>= emacs-major-version 24)
      (require 'package)
      (add-to-list
       'package-archives
       '("melpa" . "http://melpa.milkbox.net/packages/")
       t)
      (package-initialize))
    

1.3 org mode

all shortcuts key
Motion  
next/previous heading C-c C-n/p
next/previous heading same level C-c C-f/b
Structure Editing  
new item at current level C-RET
new heading after subtree S-RET
Tables  
move cursor to beginning/end of field M-a/e
kill column M-S-LEFT
new column to left of cursor M-S-RIGHT
move content@cursor to next line M-S-RET
Links  
insert/edit link C-c C-l
insert file link with completion C-u C-c C-l
open file links in emacs C-c C-o
TODO Items/Checkboxes  
select next/previous state S-LEFT/S-RIGHT
new checkbox in plain list M-S-RET
toggle checkbox at point C-c C-c
update checkbox statistics C-u
archive C-c C-x C-a
Tags  
set tags C-c C-q
realign tags C-u C-c C-q
create sparse tree matching tags C-c \
Timestamps  
insert timestamp C-c .
Agenda  
weekly agenda M-x org-agenda-list
global TODO list M-x org-todo-list
ical export all files M-x org-icalendar-export-agenda-files
view whole year v y
view with archived files v A

1.4 blog

Wie man mit emacs im org-mode bloggt.

Und das mit ox-twbs. Auszug aus README:

M-x package-install [RET] ox-twbs [RET]
M-x package-refresh-contents [RET]
init.el:
(package-initialize)
(add-to-list 'load-path "~/.emacs.d/elpa/ox-twbs-1.1.0/")
  key
export to html M-x org-twbs-export-to-html
  C-c C-e w h

1.5 plantuml

plantuml-mode installieren

M-x package-install [RET] plantuml [RET]

und Pfad setzen

init.el:
(setq plantuml-jar-path "~/Downloads/plantuml.jar")