mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2025-02-17 18:39:15 +08:00
able to build org
Set theme jekyll-theme-architect
This commit is contained in:
parent
d08f36ed96
commit
620191d7aa
@ -1 +1 @@
|
|||||||
theme: jekyll-theme-cayman
|
theme: jekyll-theme-architect
|
1
cGF5IG1lIHNvbWUgbW9uZXJv.txt
Normal file
1
cGF5IG1lIHNvbWUgbW9uZXJv.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
47LjRRyNYWKf1W5NPmfgZXdZGnGXv4QZRjEnZJbrRRJkAbgikXJGecCNJiP2rny6SR3SSizTVYKJKFdhdKEf5scVMc9Zk1R
|
@ -1,51 +0,0 @@
|
|||||||
#+STARTUP: indent
|
|
||||||
#+TITLE: Editor Cheetsheet
|
|
||||||
|
|
||||||
* VIM
|
|
||||||
** deletion
|
|
||||||
| key | usage |
|
|
||||||
|-------+------------------------|
|
|
||||||
| x | 删除光标所在处单词 |
|
|
||||||
| de | 删除到本单词末尾 |
|
|
||||||
| db | 删除到前一个单词 |
|
|
||||||
| d$ | 删除光标位置到本行结束 |
|
|
||||||
| d0 | 删除光标位置到本行开头 |
|
|
||||||
| u/C-r | 撤销/重做 |
|
|
||||||
| | |
|
|
||||||
|
|
||||||
** movement
|
|
||||||
| key | usage |
|
|
||||||
|---------+----------------------------|
|
|
||||||
| w | 下一个单词 |
|
|
||||||
| e | 单词尾 |
|
|
||||||
| 0/$ | 行首/尾 |
|
|
||||||
| H/M/L | 当前页面可见顶部/中间/底部 |
|
|
||||||
| <num> G | 跳转到第几行 |
|
|
||||||
|
|
||||||
** visual
|
|
||||||
| key | usage | next |
|
|
||||||
|-----+--------------+------------------------|
|
|
||||||
| V | 行选择 | |
|
|
||||||
| C-v | 矩形区域选择 | S-i 插入, esc 批量执行 |
|
|
||||||
| v | | movement |
|
|
||||||
| | | |
|
|
||||||
|
|
||||||
|
|
||||||
** file/split
|
|
||||||
| key | usage |
|
|
||||||
|-------------+--------------|
|
|
||||||
| :n/:N | 文件之间切换 |
|
|
||||||
| :b | 切换到文件 |
|
|
||||||
| C-w h/j/k/l | 切换分屏窗口 |
|
|
||||||
| ZZ | :wq |
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* EMACS
|
|
||||||
** org-mode
|
|
||||||
| key | usage |
|
|
||||||
|-----------+-----------|
|
|
||||||
| C-c \vbar | 创建表格 |
|
|
||||||
| C-c C-e | 导出 HTML |
|
|
||||||
| | |
|
|
||||||
| | |
|
|
165
css/org-css.css
Normal file
165
css/org-css.css
Normal file
@ -0,0 +1,165 @@
|
|||||||
|
body {
|
||||||
|
line-height:1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family:Source Han Serif SC, "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
|
||||||
|
font-size: medium;
|
||||||
|
font-size:20px;
|
||||||
|
}
|
||||||
|
p{
|
||||||
|
font-size:20px;
|
||||||
|
}
|
||||||
|
H1 {
|
||||||
|
font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
H2 {
|
||||||
|
font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
|
||||||
|
margin-bottom: 60px;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
padding: 5px;
|
||||||
|
border-bottom: 2px LightGrey solid;
|
||||||
|
width: 90%;
|
||||||
|
line-height: 150%;
|
||||||
|
color: DarkGreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
H3 {
|
||||||
|
font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
|
||||||
|
margin-top: 40px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
border-bottom: 1px LightGrey solid;
|
||||||
|
width: 80%;
|
||||||
|
line-height: 150%;
|
||||||
|
color: DarkBlue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
H4 {
|
||||||
|
font-family: "Palatino Linotype", "Book Antiqua", Palatino, Helvetica, STKaiti, SimSun, serif;
|
||||||
|
margin-top: 40px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
border-bottom: 1px LightGrey solid;
|
||||||
|
width: 80%;
|
||||||
|
line-height: 150%;
|
||||||
|
color: DarkBlue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
font-family: 'Source Sans Pro', Tahoma, Geneva, 'STKaiti', 'KaiTi', '楷体', 'SimKai', 'DFKai-SB', 'NSimSun', serif;
|
||||||
|
border-left: 4px crimson solid;
|
||||||
|
color:grey;
|
||||||
|
padding-left: 5px;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*pre {
|
||||||
|
font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
|
||||||
|
font-size: 75%;
|
||||||
|
border: solid 1px lightgrey;
|
||||||
|
background-color: Ivory;
|
||||||
|
padding: 5px;
|
||||||
|
line-height: 130%;
|
||||||
|
margin-left: 10px;
|
||||||
|
width: 95%;
|
||||||
|
}*/
|
||||||
|
pre {
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
box-shadow: 3px 3px 3px #eee;
|
||||||
|
padding: 8pt;
|
||||||
|
font-family: monospace;
|
||||||
|
overflow: auto;
|
||||||
|
margin: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*pre.src{
|
||||||
|
white-space: pre-wrap;
|
||||||
|
white-space: -moz-pre-wrap;
|
||||||
|
white-space: -pre-wrap;
|
||||||
|
white-space: -o-pre-wrap;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}*/
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
pre,
|
||||||
|
samp {
|
||||||
|
font-family: Consolas, Inconsolata, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*pre.src {
|
||||||
|
background-color:#2e3436; color: #eeeeec;
|
||||||
|
}*/
|
||||||
|
pre.src, pre.example {
|
||||||
|
display: block;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
padding: 0.5em;
|
||||||
|
/*background-color: hsl(0,0%,95%);*/
|
||||||
|
background-color: Ivory;
|
||||||
|
border: solid thin gray;
|
||||||
|
font-family: "DejaVu Sans Mono",monospace;
|
||||||
|
box-shadow: 10px 10px 10px #888;
|
||||||
|
}
|
||||||
|
/*pre.example {
|
||||||
|
background-color:rgb(239,239,239);
|
||||||
|
/* text-align: center; */
|
||||||
|
}*/
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: Inconsolata, Consolas, "DEJA VU SANS MONO", "DROID SANS MONO", Proggy, monospace;
|
||||||
|
font-size: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: crosshair;
|
||||||
|
border-bottom: 1px dashed Red;
|
||||||
|
padding: 1px;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
background-color: LightGrey;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
img {
|
||||||
|
margin-left: 10px;
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
width: 70%;
|
||||||
|
margin-top: 30px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
hr {
|
||||||
|
color: LightGrey;
|
||||||
|
}
|
||||||
|
#content, #tag-cloud-wrapper{
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
/*position: relative;*/
|
||||||
|
background: rgb(255, 255, 255);
|
||||||
|
/*margin: 5% 20%;*/
|
||||||
|
/*padding-left: 250px;*/
|
||||||
|
padding: 100px;
|
||||||
|
width:1000px;
|
||||||
|
line-height:1.6;
|
||||||
|
-moz-box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.25), 0px 20px 70px 8px rgba(0, 0, 0, 0.05);
|
||||||
|
-webkit-box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.25), 0px 20px 70px 8px rgba(0, 0, 0, 0.05);
|
||||||
|
box-shadow: 0px 1px 8px 1.5px rgba(0, 0, 0, 0.25), 0px 20px 70px 8px rgba(0, 0, 0, 0.05);
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
7
index.md
7
index.md
@ -8,13 +8,12 @@ Minecraft 红石玩家, [B站](https://space.bilibili.com/489732092)<br>
|
|||||||
[elixir 写点对点加密聊天软件](p2p_chat)<br>
|
[elixir 写点对点加密聊天软件](p2p_chat)<br>
|
||||||
[博客, YouTube 等收集](internet_collections)<br>
|
[博客, YouTube 等收集](internet_collections)<br>
|
||||||
[我对 SciCraft 更新1.19的看法](scicraft_update)<br>
|
[我对 SciCraft 更新1.19的看法](scicraft_update)<br>
|
||||||
[我的 gnome 配置](my_gnome_configt)<br>
|
[我的 gnome 配置](my_gnome_config)<br>
|
||||||
[编辑器操作备忘录](cheetsheet)<br>
|
[编辑器操作备忘录](org-html/cheatsheet)<br>
|
||||||
<!--
|
<!--
|
||||||
[对我将来的视频网站的一些畅想](plan_for_my_video_site)<br>
|
[对我将来的视频网站的一些畅想](plan_for_my_video_site)<br>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
*pay me some monero :)*<br>
|
*[pay me some monero](cGF5IG1lIHNvbWUgbW9uZXJv.txt)*<br>
|
||||||
*47LjRRyNYWKf1W5NPmfgZXdZGnGXv4QZRjEnZJbrRRJkAbgikXJGecCNJiP2rny6SR3SSizTVYKJKFdhdKEf5scVMc9Zk1R*
|
|
||||||
|
505
org-html/cheatsheet.html
Normal file
505
org-html/cheatsheet.html
Normal file
@ -0,0 +1,505 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
|
<head>
|
||||||
|
<!-- 2022-07-13 三 19:36 -->
|
||||||
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<title>Editor Chaetsheet</title>
|
||||||
|
<meta name="generator" content="Org mode" />
|
||||||
|
<meta name="author" content="dongdigua" />
|
||||||
|
<style type="text/css">
|
||||||
|
<!--/*--><![CDATA[/*><!--*/
|
||||||
|
.title { text-align: center;
|
||||||
|
margin-bottom: .2em; }
|
||||||
|
.subtitle { text-align: center;
|
||||||
|
font-size: medium;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-top:0; }
|
||||||
|
.todo { font-family: monospace; color: red; }
|
||||||
|
.done { font-family: monospace; color: green; }
|
||||||
|
.priority { font-family: monospace; color: orange; }
|
||||||
|
.tag { background-color: #eee; font-family: monospace;
|
||||||
|
padding: 2px; font-size: 80%; font-weight: normal; }
|
||||||
|
.timestamp { color: #bebebe; }
|
||||||
|
.timestamp-kwd { color: #5f9ea0; }
|
||||||
|
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
||||||
|
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
||||||
|
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||||
|
.underline { text-decoration: underline; }
|
||||||
|
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
||||||
|
p.verse { margin-left: 3%; }
|
||||||
|
pre {
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
box-shadow: 3px 3px 3px #eee;
|
||||||
|
padding: 8pt;
|
||||||
|
font-family: monospace;
|
||||||
|
overflow: auto;
|
||||||
|
margin: 1.2em;
|
||||||
|
}
|
||||||
|
pre.src {
|
||||||
|
position: relative;
|
||||||
|
overflow: auto;
|
||||||
|
padding-top: 1.2em;
|
||||||
|
}
|
||||||
|
pre.src:before {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
background-color: white;
|
||||||
|
top: -10px;
|
||||||
|
right: 10px;
|
||||||
|
padding: 3px;
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
||||||
|
pre.src:hover:before { display: inline; margin-top: 14px;}
|
||||||
|
/* Languages per Org manual */
|
||||||
|
pre.src-asymptote:before { content: 'Asymptote'; }
|
||||||
|
pre.src-awk:before { content: 'Awk'; }
|
||||||
|
pre.src-C:before { content: 'C'; }
|
||||||
|
/* pre.src-C++ doesn't work in CSS */
|
||||||
|
pre.src-clojure:before { content: 'Clojure'; }
|
||||||
|
pre.src-css:before { content: 'CSS'; }
|
||||||
|
pre.src-D:before { content: 'D'; }
|
||||||
|
pre.src-ditaa:before { content: 'ditaa'; }
|
||||||
|
pre.src-dot:before { content: 'Graphviz'; }
|
||||||
|
pre.src-calc:before { content: 'Emacs Calc'; }
|
||||||
|
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
||||||
|
pre.src-fortran:before { content: 'Fortran'; }
|
||||||
|
pre.src-gnuplot:before { content: 'gnuplot'; }
|
||||||
|
pre.src-haskell:before { content: 'Haskell'; }
|
||||||
|
pre.src-hledger:before { content: 'hledger'; }
|
||||||
|
pre.src-java:before { content: 'Java'; }
|
||||||
|
pre.src-js:before { content: 'Javascript'; }
|
||||||
|
pre.src-latex:before { content: 'LaTeX'; }
|
||||||
|
pre.src-ledger:before { content: 'Ledger'; }
|
||||||
|
pre.src-lisp:before { content: 'Lisp'; }
|
||||||
|
pre.src-lilypond:before { content: 'Lilypond'; }
|
||||||
|
pre.src-lua:before { content: 'Lua'; }
|
||||||
|
pre.src-matlab:before { content: 'MATLAB'; }
|
||||||
|
pre.src-mscgen:before { content: 'Mscgen'; }
|
||||||
|
pre.src-ocaml:before { content: 'Objective Caml'; }
|
||||||
|
pre.src-octave:before { content: 'Octave'; }
|
||||||
|
pre.src-org:before { content: 'Org mode'; }
|
||||||
|
pre.src-oz:before { content: 'OZ'; }
|
||||||
|
pre.src-plantuml:before { content: 'Plantuml'; }
|
||||||
|
pre.src-processing:before { content: 'Processing.js'; }
|
||||||
|
pre.src-python:before { content: 'Python'; }
|
||||||
|
pre.src-R:before { content: 'R'; }
|
||||||
|
pre.src-ruby:before { content: 'Ruby'; }
|
||||||
|
pre.src-sass:before { content: 'Sass'; }
|
||||||
|
pre.src-scheme:before { content: 'Scheme'; }
|
||||||
|
pre.src-screen:before { content: 'Gnu Screen'; }
|
||||||
|
pre.src-sed:before { content: 'Sed'; }
|
||||||
|
pre.src-sh:before { content: 'shell'; }
|
||||||
|
pre.src-sql:before { content: 'SQL'; }
|
||||||
|
pre.src-sqlite:before { content: 'SQLite'; }
|
||||||
|
/* additional languages in org.el's org-babel-load-languages alist */
|
||||||
|
pre.src-forth:before { content: 'Forth'; }
|
||||||
|
pre.src-io:before { content: 'IO'; }
|
||||||
|
pre.src-J:before { content: 'J'; }
|
||||||
|
pre.src-makefile:before { content: 'Makefile'; }
|
||||||
|
pre.src-maxima:before { content: 'Maxima'; }
|
||||||
|
pre.src-perl:before { content: 'Perl'; }
|
||||||
|
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
||||||
|
pre.src-scala:before { content: 'Scala'; }
|
||||||
|
pre.src-shell:before { content: 'Shell Script'; }
|
||||||
|
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
||||||
|
/* additional language identifiers per "defun org-babel-execute"
|
||||||
|
in ob-*.el */
|
||||||
|
pre.src-cpp:before { content: 'C++'; }
|
||||||
|
pre.src-abc:before { content: 'ABC'; }
|
||||||
|
pre.src-coq:before { content: 'Coq'; }
|
||||||
|
pre.src-groovy:before { content: 'Groovy'; }
|
||||||
|
/* additional language identifiers from org-babel-shell-names in
|
||||||
|
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
||||||
|
the execution function name together. */
|
||||||
|
pre.src-bash:before { content: 'bash'; }
|
||||||
|
pre.src-csh:before { content: 'csh'; }
|
||||||
|
pre.src-ash:before { content: 'ash'; }
|
||||||
|
pre.src-dash:before { content: 'dash'; }
|
||||||
|
pre.src-ksh:before { content: 'ksh'; }
|
||||||
|
pre.src-mksh:before { content: 'mksh'; }
|
||||||
|
pre.src-posh:before { content: 'posh'; }
|
||||||
|
/* Additional Emacs modes also supported by the LaTeX listings package */
|
||||||
|
pre.src-ada:before { content: 'Ada'; }
|
||||||
|
pre.src-asm:before { content: 'Assembler'; }
|
||||||
|
pre.src-caml:before { content: 'Caml'; }
|
||||||
|
pre.src-delphi:before { content: 'Delphi'; }
|
||||||
|
pre.src-html:before { content: 'HTML'; }
|
||||||
|
pre.src-idl:before { content: 'IDL'; }
|
||||||
|
pre.src-mercury:before { content: 'Mercury'; }
|
||||||
|
pre.src-metapost:before { content: 'MetaPost'; }
|
||||||
|
pre.src-modula-2:before { content: 'Modula-2'; }
|
||||||
|
pre.src-pascal:before { content: 'Pascal'; }
|
||||||
|
pre.src-ps:before { content: 'PostScript'; }
|
||||||
|
pre.src-prolog:before { content: 'Prolog'; }
|
||||||
|
pre.src-simula:before { content: 'Simula'; }
|
||||||
|
pre.src-tcl:before { content: 'tcl'; }
|
||||||
|
pre.src-tex:before { content: 'TeX'; }
|
||||||
|
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
||||||
|
pre.src-verilog:before { content: 'Verilog'; }
|
||||||
|
pre.src-vhdl:before { content: 'VHDL'; }
|
||||||
|
pre.src-xml:before { content: 'XML'; }
|
||||||
|
pre.src-nxml:before { content: 'XML'; }
|
||||||
|
/* add a generic configuration mode; LaTeX export needs an additional
|
||||||
|
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
||||||
|
pre.src-conf:before { content: 'Configuration File'; }
|
||||||
|
|
||||||
|
table { border-collapse:collapse; }
|
||||||
|
caption.t-above { caption-side: top; }
|
||||||
|
caption.t-bottom { caption-side: bottom; }
|
||||||
|
td, th { vertical-align:top; }
|
||||||
|
th.org-right { text-align: center; }
|
||||||
|
th.org-left { text-align: center; }
|
||||||
|
th.org-center { text-align: center; }
|
||||||
|
td.org-right { text-align: right; }
|
||||||
|
td.org-left { text-align: left; }
|
||||||
|
td.org-center { text-align: center; }
|
||||||
|
dt { font-weight: bold; }
|
||||||
|
.footpara { display: inline; }
|
||||||
|
.footdef { margin-bottom: 1em; }
|
||||||
|
.figure { padding: 1em; }
|
||||||
|
.figure p { text-align: center; }
|
||||||
|
.equation-container {
|
||||||
|
display: table;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.equation {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.equation-label {
|
||||||
|
display: table-cell;
|
||||||
|
text-align: right;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.inlinetask {
|
||||||
|
padding: 10px;
|
||||||
|
border: 2px solid gray;
|
||||||
|
margin: 10px;
|
||||||
|
background: #ffffcc;
|
||||||
|
}
|
||||||
|
#org-div-home-and-up
|
||||||
|
{ text-align: right; font-size: 70%; white-space: nowrap; }
|
||||||
|
textarea { overflow-x: auto; }
|
||||||
|
.linenr { font-size: smaller }
|
||||||
|
.code-highlighted { background-color: #ffff00; }
|
||||||
|
.org-info-js_info-navigation { border-style: none; }
|
||||||
|
#org-info-js_console-label
|
||||||
|
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
||||||
|
.org-info-js_search-highlight
|
||||||
|
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
||||||
|
.org-svg { width: 90%; }
|
||||||
|
/*]]>*/-->
|
||||||
|
</style>
|
||||||
|
<link rel='stylesheet' type='text/css' href='./../css/org-css.css' />
|
||||||
|
<script type="text/javascript">
|
||||||
|
// @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt Public Domain
|
||||||
|
<!--/*--><![CDATA[/*><!--*/
|
||||||
|
function CodeHighlightOn(elem, id)
|
||||||
|
{
|
||||||
|
var target = document.getElementById(id);
|
||||||
|
if(null != target) {
|
||||||
|
elem.classList.add("code-highlighted");
|
||||||
|
target.classList.add("code-highlighted");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function CodeHighlightOff(elem, id)
|
||||||
|
{
|
||||||
|
var target = document.getElementById(id);
|
||||||
|
if(null != target) {
|
||||||
|
elem.classList.remove("code-highlighted");
|
||||||
|
target.classList.remove("code-highlighted");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*]]>*///-->
|
||||||
|
// @license-end
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="content">
|
||||||
|
<h1 class="title">Editor Chaetsheet</h1>
|
||||||
|
<div id="table-of-contents">
|
||||||
|
<h2>Table of Contents</h2>
|
||||||
|
<div id="text-table-of-contents">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#org8bb7273">1. VIM</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#org16cebe2">1.1. deletion</a></li>
|
||||||
|
<li><a href="#org39e0434">1.2. movement</a></li>
|
||||||
|
<li><a href="#org9c4afca">1.3. visual</a></li>
|
||||||
|
<li><a href="#org7943bc5">1.4. file/split</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#org219c420">2. EMACS</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#org44f4acb">2.1. org-mode</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="outline-container-org8bb7273" class="outline-2">
|
||||||
|
<h2 id="org8bb7273"><span class="section-number-2">1</span> VIM</h2>
|
||||||
|
<div class="outline-text-2" id="text-1">
|
||||||
|
</div>
|
||||||
|
<div id="outline-container-org16cebe2" class="outline-3">
|
||||||
|
<h3 id="org16cebe2"><span class="section-number-3">1.1</span> deletion</h3>
|
||||||
|
<div class="outline-text-3" id="text-1-1">
|
||||||
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
|
<colgroup>
|
||||||
|
<col class="org-left" />
|
||||||
|
|
||||||
|
<col class="org-left" />
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col" class="org-left">key</th>
|
||||||
|
<th scope="col" class="org-left">usage</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">x</td>
|
||||||
|
<td class="org-left">删除光标所在处单词</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">de</td>
|
||||||
|
<td class="org-left">删除到本单词末尾</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">db</td>
|
||||||
|
<td class="org-left">删除到前一个单词</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">d$</td>
|
||||||
|
<td class="org-left">删除光标位置到本行结束</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">d0</td>
|
||||||
|
<td class="org-left">删除光标位置到本行开头</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">u/C-r</td>
|
||||||
|
<td class="org-left">撤销/重做</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-org39e0434" class="outline-3">
|
||||||
|
<h3 id="org39e0434"><span class="section-number-3">1.2</span> movement</h3>
|
||||||
|
<div class="outline-text-3" id="text-1-2">
|
||||||
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
|
<colgroup>
|
||||||
|
<col class="org-left" />
|
||||||
|
|
||||||
|
<col class="org-left" />
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col" class="org-left">key</th>
|
||||||
|
<th scope="col" class="org-left">usage</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">w</td>
|
||||||
|
<td class="org-left">下一个单词</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">e</td>
|
||||||
|
<td class="org-left">单词尾</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">b</td>
|
||||||
|
<td class="org-left">单词头</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">0/$</td>
|
||||||
|
<td class="org-left">行首/尾</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">H/M/L</td>
|
||||||
|
<td class="org-left">当前页面可见顶部/中间/底部</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left"><num> G</td>
|
||||||
|
<td class="org-left">跳转到第几行</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-org9c4afca" class="outline-3">
|
||||||
|
<h3 id="org9c4afca"><span class="section-number-3">1.3</span> visual</h3>
|
||||||
|
<div class="outline-text-3" id="text-1-3">
|
||||||
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
|
<colgroup>
|
||||||
|
<col class="org-left" />
|
||||||
|
|
||||||
|
<col class="org-left" />
|
||||||
|
|
||||||
|
<col class="org-left" />
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col" class="org-left">key</th>
|
||||||
|
<th scope="col" class="org-left">usage</th>
|
||||||
|
<th scope="col" class="org-left">next</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">V</td>
|
||||||
|
<td class="org-left">行选择</td>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">C-v</td>
|
||||||
|
<td class="org-left">矩形区域选择</td>
|
||||||
|
<td class="org-left">S-i 插入, esc 批量执行</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">v</td>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
<td class="org-left">movement</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="outline-container-org7943bc5" class="outline-3">
|
||||||
|
<h3 id="org7943bc5"><span class="section-number-3">1.4</span> file/split</h3>
|
||||||
|
<div class="outline-text-3" id="text-1-4">
|
||||||
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
|
<colgroup>
|
||||||
|
<col class="org-left" />
|
||||||
|
|
||||||
|
<col class="org-left" />
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col" class="org-left">key</th>
|
||||||
|
<th scope="col" class="org-left">usage</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">:n/:N</td>
|
||||||
|
<td class="org-left">文件之间切换</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">:b</td>
|
||||||
|
<td class="org-left">切换到文件</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">C-w h/j/k/l</td>
|
||||||
|
<td class="org-left">切换分屏窗口</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">ZZ</td>
|
||||||
|
<td class="org-left">:wq</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="outline-container-org219c420" class="outline-2">
|
||||||
|
<h2 id="org219c420"><span class="section-number-2">2</span> EMACS</h2>
|
||||||
|
<div class="outline-text-2" id="text-2">
|
||||||
|
</div>
|
||||||
|
<div id="outline-container-org44f4acb" class="outline-3">
|
||||||
|
<h3 id="org44f4acb"><span class="section-number-3">2.1</span> org-mode</h3>
|
||||||
|
<div class="outline-text-3" id="text-2-1">
|
||||||
|
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
|
||||||
|
|
||||||
|
|
||||||
|
<colgroup>
|
||||||
|
<col class="org-left" />
|
||||||
|
|
||||||
|
<col class="org-left" />
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col" class="org-left">key</th>
|
||||||
|
<th scope="col" class="org-left">usage</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">C-c |</td>
|
||||||
|
<td class="org-left">创建表格</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">C-c C-e</td>
|
||||||
|
<td class="org-left">导出 HTML</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
<td class="org-left"> </td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="postamble" class="status">
|
||||||
|
<p class="author">Author: dongdigua</p>
|
||||||
|
<p class="date">Created: 2022-07-13 三 19:36</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -9,3 +9,6 @@ html:
|
|||||||
@$(EMACS) $(EMACS_OPTS)
|
@$(EMACS) $(EMACS_OPTS)
|
||||||
@echo "HTML generation done"
|
@echo "HTML generation done"
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm ./../org-html/*.html
|
||||||
|
rm ~/.org-timestamps/org-pages.cache
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#+STARTUP: indent
|
#+STARTUP: indent
|
||||||
|
#+TITLE: Editor Cheatsheet
|
||||||
|
|
||||||
|
|
||||||
* VIM
|
* VIM
|
||||||
** deletion
|
** deletion
|
||||||
@ -17,6 +19,7 @@
|
|||||||
|---------+----------------------------|
|
|---------+----------------------------|
|
||||||
| w | 下一个单词 |
|
| w | 下一个单词 |
|
||||||
| e | 单词尾 |
|
| e | 单词尾 |
|
||||||
|
| b | 单词头 |
|
||||||
| 0/$ | 行首/尾 |
|
| 0/$ | 行首/尾 |
|
||||||
| H/M/L | 当前页面可见顶部/中间/底部 |
|
| H/M/L | 当前页面可见顶部/中间/底部 |
|
||||||
| <num> G | 跳转到第几行 |
|
| <num> G | 跳转到第几行 |
|
||||||
|
@ -4,13 +4,17 @@
|
|||||||
;; 能不能有点创新...
|
;; 能不能有点创新...
|
||||||
|
|
||||||
(require 'org)
|
(require 'org)
|
||||||
|
(require 'ox)
|
||||||
|
|
||||||
|
(setq org-html-validation-link nil)
|
||||||
(setq org-publish-project-alist
|
(setq org-publish-project-alist
|
||||||
'(("org-pages"
|
'(("org-pages"
|
||||||
:base-directory "."
|
:base-directory "."
|
||||||
:base-extension "org"
|
:base-extension "org"
|
||||||
:publishing-directory "./.."
|
:publishing-directory "./../org-html/"
|
||||||
:recursive t
|
:recursive t
|
||||||
:publishing-function org-html-export-to-html
|
:publishing-function org-html-publish-to-html
|
||||||
|
:html-head "<link rel='stylesheet' type='text/css' href='./../css/org-css.css' />" ; instead of :style
|
||||||
)))
|
)))
|
||||||
|
|
||||||
(defun myweb-publish ()
|
(defun myweb-publish ()
|
||||||
|
Loading…
Reference in New Issue
Block a user