Skip to content

Instantly share code, notes, and snippets.

@capsulecorplab
Last active November 14, 2019 06:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save capsulecorplab/8e02996c940b3f073e8a7c76f7b7705a to your computer and use it in GitHub Desktop.
Save capsulecorplab/8e02996c940b3f073e8a7c76f7b7705a to your computer and use it in GitHub Desktop.
My first org file

spacemacs cheetsheet

home

SPC b h

open new buffer

SPC b N

next buffer

SPC b n

previous buffer

SPC b p

kill buffer

SPC b d

save buffer as file

SPC f s

split window right

SPC w /

switch between window

SPC w w

list all current and recent buffers

SPC b b

helm: find files

SPC f f

edit dotfile

SPC f e d

install packages in dotfile

SPC f e R

open shell prompt

SPC !

open (spac)emacs in terminal window

$ emacs -nw

restart spacemacs

SPC q R

org cheatsheet (collapsible w/ tab or shift-tab)

org-with-evil-org-mode

sub-bullet

this is text under sub-bullet

  1. this
  2. is a
  3. numbered list, changeable with shift+arrow

This is a new bullet made w/ C-enter

Table

create table w/ SPC m t n

col1col2col4col3
data goes herecolumn width resized w/ tabcol movablenew col inserted
w/ SPC m t H/Lw/ SPC m t i c

see README.html#tables for more hotkeys

this is a to-do task

this is a done task changed w/ t

new task made w/ T (/ & % enabled w/ ,,) [1/3] [33%]

  • [ ] subtask 1
  • [ ] subtask 2 made w/ T
  • [X] close subtasks w/ C-c C-c or ,,

move tasks

alt+h/j/k/l

new task

C-enter

go to agendas view

SPC a o a

this task has a deadline

,d

this task is scheduled later

,s

start pomodoro timer

SPC m p

clock-out pomodoro timer

SPC a o O

insert source code

C-c C-, s

#!/usr/bin/env python3
import antigravity

open file tree

SPC f t

add tags

C-c C-c

add links

foobar

store link to this header

org-store-link or SPC a o l

insert link to stored header: store link to this header

org-insert-link or , i l

insert footnote[fn:1]

, i f

refile

SPC m R

org-agenda

track org file w/ org-agenda. see org-agenda-files

C-c [

org-agenda options

SPC a o o

org-agenda-list

SPC a o a

global list of todo items

SPC a o t

filter todo items by tag

SPC a o o m

org-capture

SPC C c or SPC a o c

insert plantuml

<pending>

orgmode for GTD

insert plantuml diagram of orgmode methodology here

see Org for GTD and other Task managment systems

Custom todo states

Undefined try & take over the world

Icebox find a duck & hose at this hour

Backlog get the Spice Girls into the paella

WIP thinking what brain’s thinking

Blocked if we didn’t have ears we’d look like weasels

V&V find rubber pants our size

Backlog assign uuid

org-id-get-create

Blocked assign blocker id

Backlog trigger todo state when done

changing state to Done triggers state change in “assign blocker id” to V&V

GTD tags

Backlog some task that requires internet

Backlog some task that requires being at home

misc packages/layers

eww

spacemacs installation notes

clone repo & checkout spacemacs develop branch

git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
git checkout develop

run emacs & select options to configure spacemacs theme

emacs

rename .spacemacs.d file as init.el

mv ~/.spacemacs.d/ ~/init.el

make new directory, .spacemacs.d/, and move init.el into .spacemacs.d/ folder

mkdir ~/.spacemacs.d
mv ~/init.el ~/.spacemacs.d/init.el

Footnotes

[fn:1] this is a footnote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment