-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshortcut
executable file
·222 lines (138 loc) · 4.76 KB
/
shortcut
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
#+title: Shortcuts
* Notes
** bbbb
eueue
** ooeaeu
aoeuaoeu
* Shortcuts
** Subtrees
insert tree : * spc
expand/colaps the subtree : Tab
change the subtree level : alt left/right
change the whole subtree level : alt shift left/right
transpose the subtree with adjacent line : alt shift up/down
transpose the whole subtree with adjacent subtree : alt up/down
navigate through the subtrees : g h/j/k/l
new subtree same level after content : ctrl ret
new subtree same level before content : alt ret
make string subtree same level : , i h
make string subtree lower level : , i s
narrowed/widen subtree : , s n/N
centered distraction free : spc w c c
<motion> on element : <motion> a e
<motion> on tree : <motion> a r
- one of <motion> : = is indent
** Tables
Create a table : write '|x|y' and press tab which will result in
| x | y |
| <l> | <4> |
| aoeu | he llo ae ua oe uae uao eu aoe |
| aoeuaoeu aoeueo | aoeu |
| | |
| x | y |
|---+---|
| 4 | 7 |
| 5 | 6 |
| 6 | 4 |
| 0 | 2 |
- jump around table : (shift) tab
- align with <n> by org-ctrl-c-tab : ctrl-c tab
- transpose row/column with adjacent row/column : alt arrow
- sort tables increasing/decreasing : , t s n/N
- make ---+--- line : , ret
- insert/kill row : alt shift down/up
- insert/kill column : alt shift right/left
Import tables by org-table-import : , t I
use table as data sources :
#+tblname: table-namename
| x | y |
|------+---|
| John | 2 |
| Andy | 7 |
| Zoe | 1 |
Convert table to Latex : highlight table -> Ctrl-c Ctrl-e l
** Inline code
write programs to your disk : :tangle ~~.py -> elisp:org-babel-tangle command
show equations in latex? : , , $\int_0^x \sin x = 0.56
show symbols? : org-toggle-pretty-entities
use executable code : , ,
#+BEGIN_SRC python :results output :var data=table-namename :tangle namename.py
print data
# return 3
#+END_SRC
#+RESULTS:
: [['John', 2], ['Andy', 7], ['Zoe', 1]]
** Links
Making links : =[[link][Link text]]=
Image link : =[[imagepath]]=
Caption image :
#+caption : This is an image
#+name : test_image
=[[~~.extension]]=
- enable inline images : spc spc org-toggle-inline-images
reference table? linking : ref:table-namename
** Editing
comment/uncomment line : spc c l
insert snippets : spc i s
formating bold/italics/code : , x b/i/c
yank surround inner word (evil surround package) ? y s i w [~] : make a word code block - period key duplicates action
** Tasks, Agenda
*** TODO new todo list [1/5] [20%]
- [ ] Subtask1
- [X] Subtask2
- [ ] Subtask3
- [ ] Subtask4
- [ ] Subtask5
New TODO list : T not working , shift alt ret
view todo trees by org-show-todo-tree : , T t
selectively show todos (sparce) : , s s
TODO list toggle : ( shift right arrow ) / t
date-deadline : , d d
date-schedule : , d s
- move through date : shift arrow
todo keyword state transitions config : spc f e d user-config org-todo-keywords
todo keyword appearance config : spc f e d user-config org-todo-keyword-faces
clock-in : , C i
clock-goto :
sort by start of clock-in : , s S t
org-agenda options : , a / spc a o o
put in to agenda : spc spc 'agenda front to file' / C-c [
list todo items in agenda : , a t / spc a o t
- agenda sort : <num> r
- change status : t?
- refresh : g?
list agenda for current week or day : , a a / spc a o a
search and jump to the buffer : spc j i
#+ COLUMNS: %5TODO %25ITEM ... : numbers are width of the column
** Layout/keyboard config
make column view : C-c C-x C-c
-e : change value of column / edit tags
window maximize : spc w m
keyboard shortcut config :
spc f e d declare-prefix ~
set-leader-keys ~
** Exporting
exporting options : , e e
Export scope : Buffer/Subtree
** Etc
bullet symbol change : put [setq org-bullets-bullet-list '(~~)] in user-config
numbering auto fix / checkbox checking : , ,
Capture? : (C-c c)
Tags and Properties filter? : C-c a m
insert tags to the tree : , i t / C-c C-c
** Check Out
exporting nicely : Org-html-theme -> ReadTheOrg
Table Formulas
Org Capture
Orgzly
** DONE checkbox [0/2]
CLOSED: [2020-02-10 월 00:45] SCHEDULED: <2020-02-09 일 23:00-00:00>
:LOGBOOK:
CLOCK: [2020-02-10 월 00:32]--[2020-02-10 월 00:45] => 0:13
:END:
1. [ ] aoeu
2. [ ]
1.
#+BEGIN_SRC python
import
#+END_SRC