Add some emacs markdown and org mode commands.
This commit is contained in:
parent
ca0cbc2f01
commit
f524bbd3d1
2 changed files with 72 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
# Emacs
|
||||
|
||||
## Base
|
||||
|
@ -10,6 +11,13 @@
|
|||
[Module Reference](http://www.mplayerhq.hu/design7/news.html)
|
||||
|
||||
* `C-c C-s 1`: Insert level one heading with hash delimiter.
|
||||
* `C-c C-c p`: Show preview in browser.
|
||||
* `C-c C-x l`: Toggle url hiding
|
||||
* `C-c C-x i`: Toggle inline images
|
||||
* `C-c C-x m`: Toggle markdown visibility
|
||||
* `S-Tab`: Toggle global visibility
|
||||
* `TAB`: Toggle local header visibility
|
||||
|
||||
|
||||
## Evil
|
||||
|
||||
|
@ -17,8 +25,10 @@
|
|||
|
||||
* `CTRL- {D, U, F, B}`: Scroll down/up by half or full page
|
||||
* `zt zz zb`: Scroll current line to top, centre, bottom
|
||||
* `0 $`: Move to beginning or end of line
|
||||
* `{ }`: Move to beginning or end of paragraph
|
||||
* `h l j k`: Character left, right, up, down
|
||||
* `y p`: Yank (copy) or paste
|
||||
|
||||
## Magit
|
||||
|
||||
|
@ -31,3 +41,19 @@
|
|||
* `P`: Start a push
|
||||
* `u`: Push to origin
|
||||
|
||||
## Auctex
|
||||
|
||||
## Org Mode ##
|
||||
|
||||
https://orgmode.org/worg/org-tutorials/org4beginners.html
|
||||
|
||||
* `TAB/S-TAB`: Fold/Unfold
|
||||
* `M-up/down`: move headline up/down
|
||||
* `M-left/right`: promote or demote headline
|
||||
* `M-RET`: add new headline
|
||||
|
||||
## Treemacs ##
|
||||
|
||||
https://github.com/Alexander-Miller/treemacs
|
||||
|
||||
* `C-c C-w s`: Switch workspace
|
||||
|
|
46
doc/test.tex
Normal file
46
doc/test.tex
Normal file
|
@ -0,0 +1,46 @@
|
|||
\documentclass[12pt]{article}
|
||||
\usepackage{lingmacros}
|
||||
\usepackage{tree-dvips}
|
||||
\begin{document}
|
||||
|
||||
\section*{Notes for My Paper}
|
||||
|
||||
Don't forget to include examples of topicalization.
|
||||
They look like this:
|
||||
|
||||
{\small
|
||||
\enumsentence{Topicalization from sentential subject:\\
|
||||
\shortex{7}{a John$_i$ [a & kltukl & [el &
|
||||
{\bf l-}oltoir & er & ngii$_i$ & a Mary]]}
|
||||
{ & {\bf R-}clear & {\sc comp} &
|
||||
{\bf IR}.{\sc 3s}-love & P & him & }
|
||||
{John, (it's) clear that Mary loves (him).}}
|
||||
}
|
||||
|
||||
\subsection*{How to handle topicalization}
|
||||
|
||||
I'll just assume a tree structure like (\ex{1}).
|
||||
|
||||
{\small
|
||||
\enumsentence{Structure of A$'$ Projections:\\ [2ex]
|
||||
\begin{tabular}[t]{cccc}
|
||||
& \node{i}{CP}\\ [2ex]
|
||||
\node{ii}{Spec} & &\node{iii}{C$'$}\\ [2ex]
|
||||
&\node{iv}{C} & & \node{v}{SAgrP}
|
||||
\end{tabular}
|
||||
\nodeconnect{i}{ii}
|
||||
\nodeconnect{i}{iii}
|
||||
\nodeconnect{iii}{iv}
|
||||
\nodeconnect{iii}{v}
|
||||
}
|
||||
}
|
||||
|
||||
\subsection*{Mood}
|
||||
|
||||
Mood changes when there is a topic, as well as when
|
||||
there is WH-movement. \emph{Irrealis} is the mood when
|
||||
there is a non-subject topic or WH-phrase in Comp.
|
||||
\emph{Realis} is the mood when there is a subject topic
|
||||
or WH-phrase.
|
||||
|
||||
\end{document}
|
Loading…
Reference in a new issue